com.pdftron.pdf.model.BaseFileInfo |
Known Indirect Subclasses |
Interface class for file
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FILE_TYPE_EDIT_URI | The file is opened from URI and have edit permission. | |||||||||
int | FILE_TYPE_EXTERNAL | The file is regular file but is stored in external storage (needs particular permission). | |||||||||
int | FILE_TYPE_EXTERNAL_FOLDER | The file is a folder and is stored in external storage. | |||||||||
int | FILE_TYPE_EXTERNAL_ROOT | The file is the root folder and is stored in external storage. | |||||||||
int | FILE_TYPE_FILE | The file is a regular file. | |||||||||
int | FILE_TYPE_FOLDER | The file is a folder. | |||||||||
int | FILE_TYPE_OFFICE_URI | The file is an office URI. | |||||||||
int | FILE_TYPE_OPEN_URL | The file is opened from a URL. | |||||||||
int | FILE_TYPE_UNKNOWN | The file type is unknown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean | exists() | ||||||||||
abstract String | getAbsolutePath() | ||||||||||
abstract String | getFileName() | ||||||||||
abstract int | getFileType() | ||||||||||
abstract String | getHeaderText() | ||||||||||
abstract String | getIdentifier() | ||||||||||
abstract String | getModifiedDate() | ||||||||||
abstract Long | getRawModifiedDate() | ||||||||||
abstract long | getSize() | ||||||||||
abstract String | getSizeInfo() | ||||||||||
abstract boolean | isDirectory() | ||||||||||
abstract boolean | isEarlierHeading() | ||||||||||
abstract boolean | isHeader() | ||||||||||
abstract boolean | isHidden() | ||||||||||
abstract boolean | isPackage() | ||||||||||
abstract boolean | isSecured() | ||||||||||
abstract boolean | isThisWeekHeading() | ||||||||||
abstract boolean | isTodayHeading() | ||||||||||
abstract void |
setHidden(boolean hidden)
Specifies if the file is hidden.
| ||||||||||
abstract void |
setIsPackage(boolean value)
Specifies if the file is a package.
| ||||||||||
abstract void |
setIsSecured(boolean value)
Specifies if the file is secured.
|
The file is opened from URI and have edit permission.
The file is regular file but is stored in external storage (needs particular permission).
The file is a folder and is stored in external storage.
The file is the root folder and is stored in external storage.
The file is a regular file.
The file is a folder.
The file is an office URI.
The file is opened from a URL.
The file type is unknown.
Specifies if the file is hidden.
hidden | True if the file is hidden |
---|
Specifies if the file is a package.
value | True if the file is a package |
---|
Specifies if the file is secured.
value | True if the file is secured |
---|