org.jrdf.graph.global.molecule
Class TextToMolecule
java.lang.Object
org.jrdf.graph.global.molecule.TextToMolecule
public class TextToMolecule
- extends Object
Parses a string represetation of a molecule that follows basic NTriples escaping and turns it into a Molecule object.
This is to be used primarily for serialization or similar purposes.
- Version:
- $Id: TextToMolecule.java 3130 2009-10-02 21:06:35Z newmana $
- Author:
- Andrew Newman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextToMolecule
public TextToMolecule(RegexMatcherFactory newRegexFactory,
TripleParser newTripleParser,
MoleculeFactory newMoleculeFactory)
parse
public Molecule parse(InputStream in)
parse
public Molecule parse(Reader reader)
parseLine
public void parseLine(String line)