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

Method setCurrentOutputFilter

code/src/java/pcgen/io/FileAccess.java:68–78  ·  view source on GitHub ↗

Set the current output filter. The current output filter will be chosen based on the extension of the passed in template file name. @param templateFilename (used to create instance of CharacterFilter)

(String templateFilename)

Source from the content-addressed store, hash-verified

66 * @param templateFilename (used to create instance of CharacterFilter)
67 */
68 public static void setCurrentOutputFilter(String templateFilename)
69 {
70 try
71 {
72 outputFilter = new PatternFilter(templateFilename);
73 }
74 catch (IOException e)
75 {
76 outputFilter = new CharacterFilter(templateFilename);
77 }
78 }
79
80 /**
81 * Set the current output filter

Callers 7

testNonEncodedURIMethod · 0.95
testBioExportMethod · 0.95
testFieldChoiceMethod · 0.95
testVisibilityMethod · 0.95
writeMethod · 0.95
writeMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by 4

testNonEncodedURIMethod · 0.76
testBioExportMethod · 0.76
testFieldChoiceMethod · 0.76
testVisibilityMethod · 0.76