|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.AttachmentInfo
public class AttachmentInfo
This class represents attachment information.
Nested Class Summary | |
---|---|
static class |
AttachmentInfo.Type
This class represents the attachment type. |
Constructor Summary | |
---|---|
protected |
AttachmentInfo(AttachmentInfo.Type type,
java.lang.String sMessageID,
int iIndex,
java.lang.String sName,
int iSize)
Constructor. |
protected |
AttachmentInfo(AttachmentInfo.Type type,
java.lang.String sMessageID,
int iIndex,
java.lang.String sName,
int iSize,
java.lang.String sAttachmentID)
Constructor. |
|
AttachmentInfo(java.lang.String sMessageID,
int iIndex,
java.lang.String sName,
int iSize)
Constructor. |
|
AttachmentInfo(java.lang.String sMessageID,
int iIndex,
java.lang.String sName,
int iSize,
java.lang.String sAttachmentID)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAttachmentID()
Gets the attachment ID. |
int |
getIndex()
Gets the attachment index. |
java.lang.String |
getMessageID()
Gets the attachment message ID. |
java.lang.String |
getName()
Gets the attachment name. |
int |
getSize()
Gets the size of the attachment (in bytes). |
int |
getSizeinKiloBytes()
Gets the size of the attachment (in kilobytes). |
AttachmentInfo.Type |
getType()
Gets the attachment type. |
java.lang.String |
toString()
Returns the string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AttachmentInfo(AttachmentInfo.Type type, java.lang.String sMessageID, int iIndex, java.lang.String sName, int iSize)
type
- the attachment type (may not be null
)sMessageID
- the message IDiIndex
- the attachment indexsName
- the attachment nameiSize
- the size (in bytes)protected AttachmentInfo(AttachmentInfo.Type type, java.lang.String sMessageID, int iIndex, java.lang.String sName, int iSize, java.lang.String sAttachmentID)
type
- the attachment type (may not be null
)sMessageID
- the message IDiIndex
- the attachment indexsName
- the attachment nameiSize
- the size (in bytes)sAttachmentID
- the attachment IDpublic AttachmentInfo(java.lang.String sMessageID, int iIndex, java.lang.String sName, int iSize)
sMessageID
- the message IDiIndex
- the attachment indexsName
- the attachment nameiSize
- the size (in bytes)public AttachmentInfo(java.lang.String sMessageID, int iIndex, java.lang.String sName, int iSize, java.lang.String sAttachmentID)
sMessageID
- the message IDiIndex
- the attachment indexsName
- the attachment nameiSize
- the size (in bytes)sAttachmentID
- the attachment IDMethod Detail |
---|
public AttachmentInfo.Type getType()
public java.lang.String getName()
public java.lang.String getMessageID()
public int getIndex()
public int getSize()
public java.lang.String getAttachmentID()
public int getSizeinKiloBytes()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |