|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.io.FileFormat
public class FileFormat
This class is used to represent file formats. A file format is a particular way to encode information for storage in a computer file.
Instances of this class are immutable.
Field Summary | |
---|---|
static FileFormat |
GZIP_SER
Used to denote a file containing serialized objects that has been compressed using the GNU program gzip. |
static FileFormat |
GZIP_TEXT
Used to denote a plain-text file that has been compressed using the GNU program gzip. |
static FileFormat |
SERIALIZED
Used to denote a file containing serialized objects. |
static FileFormat |
TEXT
Used to denote a plain-text file. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this file format. |
java.lang.String |
toString()
Returns a string representation of this file format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FileFormat TEXT
public static final FileFormat GZIP_TEXT
public static final FileFormat SERIALIZED
public static final FileFormat GZIP_SER
Method Detail |
---|
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |