Package org.lemsml.jlems.io.reader
Class URLInclusionReader
- java.lang.Object
-
- org.lemsml.jlems.core.sim.AbstractInclusionReader
-
- org.lemsml.jlems.io.reader.URLInclusionReader
-
public class URLInclusionReader extends AbstractInclusionReader
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
_libraryRoot
private java.net.URL
_rootURL
-
Fields inherited from class org.lemsml.jlems.core.sim.AbstractInclusionReader
FILE, fullFilePathsIncluded, JAR, URL
-
-
Constructor Summary
Constructors Constructor Description URLInclusionReader(java.net.URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRelativeContent(java.lang.String type, java.lang.String inclusion)
java.lang.String
getRootContent()
-
Methods inherited from class org.lemsml.jlems.core.sim.AbstractInclusionReader
getAllIncludedFiles, getIncludeContent, insertIncludes, read, removeXMLComments, trimOuterElement
-
-
-
-
Method Detail
-
getRelativeContent
public java.lang.String getRelativeContent(java.lang.String type, java.lang.String inclusion) throws ContentError
- Specified by:
getRelativeContent
in classAbstractInclusionReader
- Throws:
ContentError
-
getRootContent
public java.lang.String getRootContent() throws ContentError
- Specified by:
getRootContent
in classAbstractInclusionReader
- Throws:
ContentError
-
-