net.sf.parser4j.parser.service.data
Class ParserDataIO
java.lang.Object
net.sf.parser4j.parser.service.data.ParserDataIO
public final class ParserDataIO
- extends java.lang.Object
ParserData
input/output in file
- Author:
- luc peuvrier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ParserDataIO getInstance()
readFromClassPackage
public ParserData readFromClassPackage(java.lang.Class<?> clazz,
java.lang.String resourceName)
throws ParserException
- Throws:
ParserException
readFromClassPath
public ParserData readFromClassPath(java.lang.String path)
throws ParserException
- Throws:
ParserException
readFromFile
public ParserData readFromFile(java.io.File parserDataFile)
throws ParserException
- Throws:
ParserException
writeToFile
public void writeToFile(java.io.File parserDataOutputFile,
ParserData parserData)
throws ParserException
- Throws:
ParserException
Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.