Package | Description |
---|---|
net.pandoragames.far.ui.model |
UI model classes.
|
Modifier and Type | Class and Description |
---|---|
class |
MimeType
Mime type definition for FAR.
|
Modifier and Type | Field and Description |
---|---|
static FileType |
FileType.ARCHIVE
Binary file type for archives such as zip and tar.gz.
|
static FileType |
FileType.BINARY
Ancestor of all binary file types.
|
static FileType |
FileType.DOCUMENT
File type for binary documents such as PDF, odf and docx.
|
static FileType |
FileType.FILE
The supertype of all file types.
|
static FileType |
FileType.SGML
SGML file types such as html.
|
static FileType |
FileType.SOURCE
Source code text files.
|
static FileType |
FileType.TABLE
Tabular text data such as tab and csv.
|
static FileType |
FileType.TEXT
Ancestor of all text file types.
|
static FileType |
FileType.XML
XML base type.
|
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,FileType> |
FileType.fileTypes
To be accessed by inheriting classes only.
|
Modifier and Type | Method and Description |
---|---|
FileType |
FileType.getParentType()
Returns the parent type.
|
static FileType |
FileType.getType(java.lang.String name)
Returns the specified type by name if it does exist.
|
Modifier and Type | Method and Description |
---|---|
MimeType |
MimeRegistry.registerMimeType(java.lang.String name,
FileType category)
Adds the specified mimetType to the mime registry.
|
void |
FileType.setParentType(FileType newParent)
Sets the specified FileType as new parent type of this type.
|
Constructor and Description |
---|
FileType(java.lang.String name,
FileType parent)
Every file type has a name.
|
MimeType(java.lang.String name,
FileType category)
A mime type name must have the form <media type> "/" <subtype>.
|