MCPcopy Create free account
hub / github.com/PCGen/pcgen / createXsltStreamSource

Method createXsltStreamSource

code/src/java/pcgen/util/fop/FopTask.java:116–127  ·  view source on GitHub ↗
(File xsltFile)

Source from the content-addressed store, hash-verified

114 }
115
116 private static StreamSource createXsltStreamSource(File xsltFile) throws FileNotFoundException
117 {
118 if (xsltFile == null)
119 {
120 return null;
121 }
122 if (!xsltFile.exists())
123 {
124 throw new FileNotFoundException("xsl file " + xsltFile.getAbsolutePath() + " not found ");
125 }
126 return new StreamSource(xsltFile);
127 }
128
129 public static FopFactory getFactory()
130 {

Callers 1

newFopTaskMethod · 0.95

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected