|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.sdsc.sirius.io.Mol2EntryLoader
| Constructor Summary | |
Mol2EntryLoader()
|
|
| Method Summary | |
boolean |
canLoad(java.io.File file)
Returns true if the Entry can be read from the given File object. |
boolean |
canLoad(java.lang.String name)
Returns true if the loader is capable of loading the structure, or false otherwise. |
boolean |
canLoad(java.net.URL url)
Returns true if the Entry can be read from the given URL object. |
int |
getDataType()
|
java.lang.String |
getLoaderName()
Returns name of the loader. |
Entry |
load(java.io.File file,
int number)
Loads the Entry from a File object. |
Entry |
load(java.lang.String name,
int number)
Loads the Entry by file name. |
Entry |
load(java.net.URL url,
int number)
Loads the Entry from a URL object. |
Structure |
loadStructure(java.io.BufferedInputStream bufferedInputStream)
Returns a reference to a Structure read from the given (uncompressed) InputStream. |
Structure |
loadStructure(java.io.File file)
Returns a reference to a Structure read from the given File object. |
Structure |
loadStructure(java.net.URL url)
Returns a reference to a Structure read from the given URL object. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Mol2EntryLoader()
| Method Detail |
public java.lang.String getLoaderName()
getLoaderName in interface EntryLoader
public Entry load(java.lang.String name,
int number)
load in interface EntryLoader
public Entry load(java.io.File file,
int number)
load in interface FileEntryLoader
public Entry load(java.net.URL url,
int number)
load in interface FileEntryLoaderpublic boolean canLoad(java.lang.String name)
canLoad in interface EntryLoaderpublic Structure loadStructure(java.io.File file)
public boolean canLoad(java.io.File file)
canLoad in interface FileEntryLoaderpublic Structure loadStructure(java.net.URL url)
public boolean canLoad(java.net.URL url)
canLoad in interface FileEntryLoaderpublic Structure loadStructure(java.io.BufferedInputStream bufferedInputStream)
public static void main(java.lang.String[] args)
public int getDataType()
getDataType in interface EntryLoader
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||