Package org.lemsml.jlems.api.interfaces
Interface ILEMSDocumentReader
-
- All Known Implementing Classes:
LEMSDocumentReader
public interface ILEMSDocumentReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ILEMSDocument
readModel(java.io.File modelFile)
ILEMSDocument
readModel(java.lang.String modelString)
ILEMSDocument
readModel(java.net.URL modelURL)
Read a LEMS model from a URL into an object
-
-
-
Method Detail
-
readModel
ILEMSDocument readModel(java.net.URL modelURL) throws java.io.IOException, ContentError
Read a LEMS model from a URL into an object- Parameters:
modelURL
- the URL of the model to read- Returns:
- the lems model
- Throws:
java.io.IOException
ContentError
-
readModel
ILEMSDocument readModel(java.io.File modelFile) throws java.io.IOException, ContentError
- Throws:
java.io.IOException
ContentError
-
readModel
ILEMSDocument readModel(java.lang.String modelString) throws java.io.IOException, ContentError
- Throws:
java.io.IOException
ContentError
-
-