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

Method getCustomPath

code/src/java/pcgen/core/CustomData.java:379–389  ·  view source on GitHub ↗
(final String type, final boolean usePath, String gmName)

Source from the content-addressed store, hash-verified

377 }
378
379 private static String getCustomPath(final String type, final boolean usePath, String gmName)
380 {
381 String aString = "";
382
383 if (usePath)
384 {
385 aString = PCGenSettings.getCustomDir();
386 aString += File.separator + gmName;
387 }
388 return aString + File.separator + "custom" + type + Constants.EXTENSION_LIST_FILE;
389 }
390
391 private static String getCustomPath(final String type, final boolean usePath)
392 {

Callers 13

customBioSetFilePathMethod · 0.95
customClassFilePathMethod · 0.95
customDeityFilePathMethod · 0.95
customDomainFilePathMethod · 0.95
customAbilityFilePathMethod · 0.95
customFeatFilePathMethod · 0.95
customRaceFilePathMethod · 0.95
customSkillFilePathMethod · 0.95
customSpellFilePathMethod · 0.95

Calls 4

getCustomDirMethod · 0.95
getGameAsPropertyMethod · 0.95
getNameMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected