MATSIM
FeatureFlags.java
Go to the documentation of this file.
1 package org.matsim.utils;
2 
8 public abstract class FeatureFlags {
9 
10  private FeatureFlags() {
11  }
12 
13  public static boolean preferLocalDTDs() {
14  String property = System.getProperty("matsim.preferLocalDtds");
15  if (property != null) {
16  return Boolean.parseBoolean(property);
17  }
18  return false; // default fallback
19  }
20 
21  public static boolean useParallelIO() {
22  String property = System.getProperty("matsim.useParallelIO");
23  if (property != null) {
24  return Boolean.parseBoolean(property);
25  }
26  return true; // default fallback
27  }
28 
29 }
static boolean preferLocalDTDs()
static boolean useParallelIO()