public class JarResourceInclusionReader extends AbstractInclusionReader
FILE, fullFilePathsIncluded, JAR, URL
Constructor and Description |
---|
JarResourceInclusionReader(File f) |
JarResourceInclusionReader(String content) |
Modifier and Type | Method and Description |
---|---|
static void |
addSearchPath(File f) |
void |
addSearchPath(String s) |
static void |
addSearchPathInJar(String path) |
void |
addSearchPaths(String sp) |
protected File |
getPossibleFile(String filename) |
String |
getRelativeContent(String attribute,
String s) |
String |
getRootContent() |
static void |
main(String[] argv) |
getAllIncludedFiles, getIncludeContent, insertIncludes, read, removeXMLComments, trimOuterElement
public JarResourceInclusionReader(String content)
public JarResourceInclusionReader(File f)
public static void addSearchPathInJar(String path)
public static void addSearchPath(File f)
public void addSearchPath(String s)
public void addSearchPaths(String sp)
public String getRelativeContent(String attribute, String s) throws ContentError
getRelativeContent
in class AbstractInclusionReader
ContentError
public String getRootContent() throws ContentError
getRootContent
in class AbstractInclusionReader
ContentError
public static void main(String[] argv) throws IOException, ContentError
IOException
ContentError
Copyright © 2019. All rights reserved.