public class LEMSDocumentReader extends Object implements ILEMSDocumentReader
| Constructor and Description |
|---|
LEMSDocumentReader() |
| Modifier and Type | Method and Description |
|---|---|
static ILEMSRunConfiguration |
getLEMSRunConfiguration(ILEMSDocument lemsDocument) |
static String |
getTarget(ILEMSDocument lemsDocument) |
ILEMSDocument |
readModel(File modelFile) |
ILEMSDocument |
readModel(String modelContent) |
ILEMSDocument |
readModel(URL modelURL)
Read a LEMS model from a URL into an object
|
public ILEMSDocument readModel(URL modelURL) throws IOException, ContentError
ILEMSDocumentReaderreadModel in interface ILEMSDocumentReadermodelURL - the URL of the model to readIOExceptionContentErrorpublic ILEMSDocument readModel(String modelContent) throws IOException, ContentError
readModel in interface ILEMSDocumentReaderIOExceptionContentErrorpublic static ILEMSRunConfiguration getLEMSRunConfiguration(ILEMSDocument lemsDocument) throws ContentError, ParseError
ContentErrorParseErrorpublic static String getTarget(ILEMSDocument lemsDocument) throws ContentError, ParseError
ContentErrorParseErrorpublic ILEMSDocument readModel(File modelFile) throws IOException, ContentError
readModel in interface ILEMSDocumentReaderIOExceptionContentErrorCopyright © 2019. All rights reserved.