public interface FileConstants extends VolumeConstants
Modifier and Type | Field and Description |
---|---|
static int |
ClosedFolderIcon
Used with getIcon()
|
static int |
DOS_SYSTEM
The file system is a DOS/Windows type system.
|
static int |
DriveIcon
Used with getIcon()
|
static int |
FileIcon
Used with getIcon()
|
static int |
FLAG_CASE_SENSITIVE
This is a flag returned from getInfo(INFO_FLAGS);
|
static int |
FLAG_FILE_SYSTEM_IS_READ_ONLY
This is a flag returned from getInfo(INFO_FLAGS);
|
static int |
FLAG_IS_NETWORK_COMPUTER |
static int |
FLAG_IS_NETWORK_ROOT |
static int |
FLAG_IS_ON_NETWORK |
static int |
FLAG_READ_ONLY
Deprecated.
- use getPermissionsAndFlags() and setPermissionsAndFlags()
|
static int |
FLAG_SLOW_ACCESS
This is a flag returned from getInfo(INFO_FLAGS);
|
static int |
FLAG_SLOW_CHILD_COUNT |
static int |
FLAG_SLOW_LIST |
static int |
INFO_CREATE_TEMP |
static int |
INFO_CURRENT_DIRECTORY |
static int |
INFO_DETAIL_NAMES
Used with getInfo().
|
static int |
INFO_DETAIL_WIDTHS
Used with getInfo().
|
static int |
INFO_DETAILS
Used with getInfo().
|
static int |
INFO_DEVICE_ICON
Used with getInfo().
|
static int |
INFO_DEVICE_NAME
Used with getInfo().
|
static int |
INFO_FILE_TIMES
This is used to get/set the three file times for a file - the creation date, the last modification date
and the last access date, in that order.
|
static int |
INFO_FLAGS
Used with getInfo().
|
static int |
INFO_FREE_DRIVE_SPACE
Used with getInfo().
|
static int |
INFO_GROUP
This is used to get/set the group of a file.
|
static int |
INFO_ICON
Used with getInfo().
|
static int |
INFO_LINK_DESTINATION
NOT IMPLEMENTED YET.
|
static int |
INFO_OPTION_ICON_LARGE
An option used with INFO_ICON and getInfo().
|
static int |
INFO_OPTION_ICON_MEDIUM
An option used with INFO_ICON and getInfo().
|
static int |
INFO_OPTION_ICON_SMALL
An option used with INFO_ICON and getInfo().
|
static int |
INFO_OWNER
Used with getInfo()/setInfo().
|
static int |
INFO_PROGRAM_DIRECTORY
Used with getInfo().
|
static int |
INFO_ROOT_LIST
Used with getInfo().
|
static int |
INFO_SET_USER_AND_GROUP |
static int |
INFO_SYMBOLIC_LINK_TARGET
If the file is a symbolic link, return the target of the file.
|
static int |
INFO_SYSTEM_TYPE
Used for getting the file system type.
|
static int |
INFO_TEMPORARY_DIRECTORY
Used with getInfo().
|
static int |
INFO_TOOL_TIP
Used with getInfo().
|
static int |
INFO_TOTAL_DRIVE_SPACE
Used with getInfo().
|
static int |
INFO_VOLUME_FLAGS
This requests the VOLUME_FLAG_XXX values for the File.
|
static int |
INFO_VOLUME_LIST
This requests the name of the mounted volumes as an array of strings.
|
static int |
INFO_VOLUME_PROPERTIES
This requests the available volume properties of the File as a String in the form:
"name=value|name=value|..."
|
static int |
LIST_ALWAYS_INCLUDE_DIRECTORIES
This option lists all directories even if they don't match the supplied
mask.
|
static int |
LIST_BY_DATE |
static int |
LIST_BY_NAME
This value is zero indicating that it is the default list sorting criteria.
|
static int |
LIST_BY_SIZE |
static int |
LIST_BY_TYPE |
static int |
LIST_CHECK_FOR_ANY_MATCHING_CHILDREN
This option request that only a check for matching children is done, rather
than a listing.
|
static int |
LIST_DESCENDING |
static int |
LIST_DIRECTORIES_FIRST
This value is zero indicating that it is the default list directory handling criteria.
|
static int |
LIST_DIRECTORIES_LAST |
static int |
LIST_DIRECTORIES_ONLY |
static int |
LIST_DONT_LIST_HIDDEN_FILES |
static int |
LIST_DONT_SORT |
static int |
LIST_FILES_ONLY |
static int |
LIST_IGNORE_DIRECTORY_STATUS
This option treats directories and files as being the same.
|
static int |
MEMORY_SYSTEM
The file system is temporary memory based system.
|
static int |
OpenFolderIcon
Used with getIcon()
|
static int |
PageIcon
Used with getIcon()
|
static int |
PALM_SYSTEM
The file system is a PalmOS type system - whatever that may be.
|
static String |
pathSeparator |
static char |
pathSeparatorChar |
static String |
separator |
static char |
separatorChar |
static int |
UNIX_SYSTEM
The file system is a Unix/Linux type system.
|
VOLUME_FLAG_CDROM, VOLUME_FLAG_FIXED, VOLUME_FLAG_NETWORK, VOLUME_FLAG_RAM, VOLUME_FLAG_REMOVABLE, VOLUME_PROPERTY_BYTES_FREE, VOLUME_PROPERTY_BYTES_TOTAL, VOLUME_PROPERTY_FILESYSTEM_NAME, VOLUME_PROPERTY_NAME
static final int DOS_SYSTEM
static final int UNIX_SYSTEM
static final int PALM_SYSTEM
static final int MEMORY_SYSTEM
static final int OpenFolderIcon
static final int ClosedFolderIcon
static final int PageIcon
static final int FileIcon
static final int DriveIcon
static final char separatorChar
static final char pathSeparatorChar
static final String separator
static final String pathSeparator
static final int INFO_ICON
static final int INFO_OPTION_ICON_SMALL
static final int INFO_OPTION_ICON_MEDIUM
static final int INFO_OPTION_ICON_LARGE
static final int INFO_ROOT_LIST
static final int INFO_LINK_DESTINATION
static final int INFO_PROGRAM_DIRECTORY
static final int INFO_TEMPORARY_DIRECTORY
static final int INFO_DEVICE_NAME
static final int INFO_FLAGS
static final int FLAG_SLOW_LIST
static final int FLAG_SLOW_CHILD_COUNT
static final int FLAG_SLOW_ACCESS
static final int FLAG_READ_ONLY
static final int FLAG_FILE_SYSTEM_IS_READ_ONLY
static final int FLAG_CASE_SENSITIVE
static final int FLAG_IS_ON_NETWORK
static final int FLAG_IS_NETWORK_ROOT
static final int FLAG_IS_NETWORK_COMPUTER
static final int INFO_DEVICE_ICON
static final int INFO_FREE_DRIVE_SPACE
static final int INFO_TOTAL_DRIVE_SPACE
static final int INFO_DETAIL_NAMES
static final int INFO_DETAIL_WIDTHS
static final int INFO_TOOL_TIP
static final int INFO_DETAILS
static final int INFO_OWNER
static final int INFO_FILE_TIMES
For a getInfo() operation the resultDestination wrapper should be set to an array of 3 Time objects, each of which _may_ be null. On return the dates that are available on that system will be placed in the array in the order shown. If any of the values are 0 then that date is unknown on the system.
With a setInfo() operation the sourceParameter should again be an array of 3 Time objects, with with any value that you do not wish to set being null. sourceParamerters - none
static final int INFO_GROUP
static final int INFO_SYSTEM_TYPE
static final int INFO_SYMBOLIC_LINK_TARGET
static final int INFO_SET_USER_AND_GROUP
static final int INFO_CREATE_TEMP
static final int INFO_VOLUME_LIST
static final int INFO_VOLUME_FLAGS
static final int INFO_VOLUME_PROPERTIES
static final int INFO_CURRENT_DIRECTORY
static final int LIST_BY_NAME
static final int LIST_DIRECTORIES_FIRST
static final int LIST_DESCENDING
static final int LIST_DIRECTORIES_LAST
static final int LIST_DIRECTORIES_ONLY
static final int LIST_FILES_ONLY
static final int LIST_BY_DATE
static final int LIST_BY_TYPE
static final int LIST_DONT_SORT
static final int LIST_IGNORE_DIRECTORY_STATUS
static final int LIST_ALWAYS_INCLUDE_DIRECTORIES
static final int LIST_CHECK_FOR_ANY_MATCHING_CHILDREN
static final int LIST_BY_SIZE
static final int LIST_DONT_LIST_HIDDEN_FILES