com.compomics.util.experiment.biology
Class GlyconFactory

java.lang.Object
  extended by com.compomics.util.experiment.biology.GlyconFactory

public class GlyconFactory
extends Object

This factory will provide theoretic glycons. Created by IntelliJ IDEA. User: Marc Date: Jun 29, 2010 Time: 6:55:51 PM


Method Summary
 ArrayList<Glycon> 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GlyconFactory getInstance()
Static method to get the factory instance.

Returns:
the instance of the factory

getGlycons

public ArrayList<Glycon> getGlycons()
A getter to access the glycons

Returns:
all glycons imported

importGlycons

public void importGlycons(File aFile)
                   throws org.xmlpull.v1.XmlPullParserException,
                          IOException
Import glycons from an xml file

Parameters:
aFile - xml file to parse
Throws:
org.xmlpull.v1.XmlPullParserException - exception thrown if a parsing issue is encountered
IOException - exception thrown if an issue with the file is encountered


Copyright © 2012. All Rights Reserved.