Package com.jcabi.xml
Class FileSources
java.lang.Object
com.jcabi.xml.FileSources
- All Implemented Interfaces:
Sources
,URIResolver
Sources in file system.
If you have some resources in files, just configure your
XSL with this "sources":
XSL xsl = new XSLDocument(input).with( new FileSources("/tmp/my-resources") );
- Since:
- 0.18
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPublic ctor.FileSources
(File dir) Public ctor.FileSources
(String dir) Public ctor. -
Method Summary
-
Constructor Details
-
FileSources
public FileSources()Public ctor. -
FileSources
Public ctor.- Parameters:
dir
- Directory
-
FileSources
Public ctor.- Parameters:
dir
- Directory
-
-
Method Details
-
resolve
- Specified by:
resolve
in interfaceURIResolver
- Throws:
TransformerException
-