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

Method readFilePaths

code/src/java/pcgen/core/SettingsHandler.java:1279–1293  ·  view source on GitHub ↗

Opens the filepaths.ini file for reading

()

Source from the content-addressed store, hash-verified

1277 * Opens the filepaths.ini file for reading
1278 **/
1279 private static void readFilePaths()
1280 {
1281 try(InputStream in = new FileInputStream(FILE_LOCATION))
1282 {
1283 FILEPATHS.load(in);
1284 }
1285 catch (IOException e)
1286 {
1287 // Not an error, this file may not exist yet
1288 if (Logging.isDebugMode())
1289 {
1290 Logging.debugPrint(LanguageBundle.getString("SettingsHandler.will.create.filepaths.ini")); //$NON-NLS-1$
1291 }
1292 }
1293 }
1294
1295 /**
1296 * Opens the filter.ini file for reading

Callers 1

readOptionsPropertiesMethod · 0.95

Calls 4

isDebugModeMethod · 0.95
debugPrintMethod · 0.95
getStringMethod · 0.95
loadMethod · 0.45

Tested by

no test coverage detected