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

Method isPdfTemplate

code/src/java/pcgen/io/ExportUtilities.java:98–101  ·  view source on GitHub ↗

Identify if this template will result in a pdf file. @param templateFile The output template. @return true if this is a pdf template.

(File templateFile)

Source from the content-addressed store, hash-verified

96 * @return true if this is a pdf template.
97 */
98 public static boolean isPdfTemplate(File templateFile)
99 {
100 return isPdfTemplate(templateFile.getName());
101 }
102
103 /**
104 * Identify if this template will result in a pdf file.

Callers 6

testIsPdfTemplateFileMethod · 0.95
previewSpellsMethod · 0.95
exportSpellsMethod · 0.95
BatchExporterMethod · 0.95
getTempOutputFilenameMethod · 0.95

Calls 3

getOutputExtensionMethod · 0.95
equalsIgnoreCaseMethod · 0.80
getNameMethod · 0.65

Tested by 2

testIsPdfTemplateFileMethod · 0.76