| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object
|
+--ncsa.horizon.model.FileFormat
|
+--ncsa.horizon.model.UnknownFileFormat
| Constructor Summary | |
| UnknownFileFormat()
|
|
| Method Summary | |
| FormatHandler | createFormatHandler(java.lang.Object data)
create a FormatHandler object for a given identifying object. |
| java.lang.String[] | getContentTypes()
return the MIME types that can be associated with this file format. |
| java.lang.String | getDescription()
return a short string describing the format. |
| java.lang.String[] | getExtensions()
return a list of the recognized file extensions identifying a file as having this format. |
| MagicNumber | getMagicNumber()
return a MagicNumber object that represents the leading byte signiture for the file format, or null if such a signiture is not known. |
| java.lang.String | getName()
get the name of this file format. |
| java.lang.String | getReference()
return a string giving a reference to definition of or information about the format. |
| java.lang.String | getReferenceURL()
return a URL to a reference to definition of or information about the format. |
| Methods inherited from class ncsa.horizon.model.FileFormat | |
| createFormatHandler, getContentTypes, getDescription, getExtensions, getMagicNumber, getName, getReference, getReferenceURL | |
| Methods inherited from class java.lang.Object | |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Constructor Detail |
public UnknownFileFormat()
| Method Detail |
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getReference()
public java.lang.String getReferenceURL()
public java.lang.String[] getContentTypes()
public MagicNumber getMagicNumber()
public java.lang.String[] getExtensions()
public FormatHandler createFormatHandler(java.lang.Object data)
throws UnsupportedFormatException
data
- the object identifying the data file. This is
usually a File or a URL but can be something else
depending on the format.| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||