|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.FileFormatFormat
public class FileFormatFormat
This class is used to represent formats for types of file formats.
Constructor Summary | |
---|---|
FileFormatFormat()
|
Method Summary | |
---|---|
java.lang.String |
format(FileFormat fileFormat)
Returns a formatted string representation of the provided file format. |
FileFormat |
parse(java.lang.String source)
Parses the provided string and returns its corresponding file format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileFormatFormat()
Method Detail |
---|
public java.lang.String format(FileFormat fileFormat)
format
in interface Formatter<FileFormat>
fileFormat
- the file format to be formatted.
public FileFormat parse(java.lang.String source)
parse
in interface Parser<FileFormat>
source
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |