public class GetFileEntry extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
GetFileEntry()
Create a new GetFile entry.
|
Modifier and Type | Method and Description |
---|---|
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(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.
|
String |
toString()
Return the string representation of this GetFileEntry.
|
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
public String getFilename()
public void setFilename(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.