public class GlyconFactory extends Object
Modifier and Type | Method and Description |
---|---|
ArrayList<Glycan> |
getGlycons()
A getter to access the glycons.
|
static GlyconFactory |
getInstance()
Static method to get the factory instance.
|
void |
importGlycons(File aFile)
Import glycons from an xml file.
|
public static GlyconFactory getInstance()
public ArrayList<Glycan> getGlycons()
public void importGlycons(File aFile) throws org.xmlpull.v1.XmlPullParserException, IOException
aFile
- xml file to parseorg.xmlpull.v1.XmlPullParserException
- exception thrown if a parsing issue is
encounteredIOException
- exception thrown if an issue with the file is
encounteredCopyright © 2016. All rights reserved.