|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.filetransfer.FileAttrs
Simple structure to hold File Attributes data, such as file size, last modified time, and read/write permissions.
Field Summary | |
---|---|
int |
day
Day of the file's last modified time (1-31). |
long |
flags
Attribute flags (Read Only, Archive, Hidden, System). |
int |
hours
Hours of the file's last modified time. |
int |
hundredths
Hundredths of the file's last modified time. |
boolean |
link
Get whether or not this file is a symbolic link. |
java.lang.String |
linkName
If this file is a link, this is the file it points to. |
int |
minutes
Minutes of the file's last modified time. |
int |
mode
File permissions. |
int |
month
Month of the file's last modified time (1-12). |
int |
seconds
Seconds of the file's last modified time. |
long |
size
File size. |
short |
timezone
TimeZone of the file's last modified time. |
int |
weekday
Weekday of the file's last modified time. |
int |
year
Year of the file's last modified time. |
Constructor Summary | |
---|---|
FileAttrs()
Initialize all data to zero. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public long size
public long flags
public int hours
java.util.Calendar.HOUR_OF_DAY
public int minutes
public int seconds
public int hundredths
Note: This value is not currently used by File Transfer.
public int day
java.util.Calendar.DAY_OF_MONTH
public int month
public int year
public short timezone
Note: This value is not currently used by File Transfer.
public int weekday
Note: This value is not currently used by File Transfer.
public int mode
For Unix and AS/400 only.
public boolean link
For Unix and AS/400 only.
public java.lang.String linkName
For Unix and AS/400 only.
Constructor Detail |
public FileAttrs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |