|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbelka.parser.GroupParser
public class GroupParser
Object of this class load annotation/group file either from file or URL.
Constructor Summary | |
---|---|
GroupParser()
|
Method Summary | |
---|---|
boolean |
loadFile(File file,
Molecule mols)
Loads annotation/group file and creates a molecule. |
boolean |
loadFile(URL urlFileName,
Molecule mols)
Loads annotation/group file from URL. |
int |
saveToFile(File file,
Molecule molsToSave)
Saves molecules into a annotation/group file. |
int |
saveToFile(URL urlFileName,
Molecule molsToSave)
Saves molecules into a annotation/group file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupParser()
Method Detail |
---|
public int saveToFile(URL urlFileName, Molecule molsToSave)
molsToSave
- list molecules to be save.urlFileName
- name of file on the web to save.
public int saveToFile(File file, Molecule molsToSave)
molsToSave
- list of molecules to be save.file
- name of file to save.
public boolean loadFile(File file, Molecule mols)
file
- file to load.mols
- list of molecules to be annotated.
public boolean loadFile(URL urlFileName, Molecule mols)
urlFileName
- name of file on URL.mols
- list of molecules to be annotated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |