|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.j3d.util.device.DeviceDescriptor
org.j3d.util.device.FileLoaderDescriptor
An descriptor class for file loaders.
A single file loader instance is used to represent a particular file format type. The descriptor assumes that there is only one file extension and mime type for a given file format type. If there are more than one, it will not work correctly at this point in time.
| Constructor Summary | |
FileLoaderDescriptor(java.lang.String name,
java.lang.String desc,
java.lang.String cls,
java.lang.String type,
java.lang.String ext)
Construct an instance of this class with the given information about the name, description and class file. |
|
| Method Summary | |
java.lang.String |
getContentType()
Get the MIME type that this loader can handle. |
java.lang.String |
getExtension()
Get the file extension associated with the file type that this loader can handle. |
| Methods inherited from class org.j3d.util.device.DeviceDescriptor |
equals, getDescription, getName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileLoaderDescriptor(java.lang.String name,
java.lang.String desc,
java.lang.String cls,
java.lang.String type,
java.lang.String ext)
name - The name of the devicedesc - A description of the devicecls - The fully qualified name of the class filetype - The mime type for this loaderext - The file extension associated with this type| Method Detail |
public java.lang.String getContentType()
public java.lang.String getExtension()
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||