|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.filetransfer.GetFileEntry
Represents an entry in the GetFile protocol.
Field Summary | |
static long |
FLAG_DIR
Directory flag. |
static int |
TYPE_FILENAME
File name. |
static int |
TYPE_FILESIZE
File size. |
static int |
TYPE_FLAGS
Flags. |
static int |
TYPE_LAST
The last TLV in an entry. |
static int |
TYPE_LASTMOD
Last modification time. |
static int |
TYPE_UNKNOWN0505
Unknown 0x0505. |
Constructor Summary | |
GetFileEntry()
Create a new GetFile entry. |
Method Summary | |
java.lang.String |
getFilename()
Get the value of filename. |
long |
getFilesize()
Get the value of filesize. |
int |
getFlags()
Get the value of flags. |
long |
getLastmod()
Get the value of lastmod. |
short |
getUnknown0505()
Get the value of unknown0505. |
void |
setFilename(java.lang.String filename)
Set the value of filename. |
void |
setFilesize(long filesize)
Set the value of filesize. |
void |
setFlags(int flags)
Set the value of flags. |
void |
setLastmod(long lastmod)
Set the value of lastmod. |
void |
setUnknown0505(short unknown0505)
Set the value of unknown0505. |
java.lang.String |
toString()
Return the string representation of this GetFileEntry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final long FLAG_DIR
public static final int TYPE_LASTMOD
public static final int TYPE_FILESIZE
public static final int TYPE_FILENAME
public static final int TYPE_UNKNOWN0505
public static final int TYPE_FLAGS
public static final int TYPE_LAST
Constructor Detail |
public GetFileEntry()
Method Detail |
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- Value to assign to filename.public long getFilesize()
public void setFilesize(long filesize)
filesize
- Value to assign to filesize.public long getLastmod()
public void setLastmod(long lastmod)
lastmod
- Value to assign to lastmod.public short getUnknown0505()
public void setUnknown0505(short unknown0505)
unknown0505
- Value to assign to unknown0505.public int getFlags()
public void setFlags(int flags)
flags
- Value to assign to flags.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |