Class ConfigHelper
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined.ConfigHelper
-
public class ConfigHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ConfigHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getSystemPropertyAsBoolean(String name, boolean defaultValue)
static int
getSystemPropertyAsInt(String name, int defaultValue)
static String
getSystemPropertyAsString(String name, String defaultValue)
static List<String>
getSystemPropertyAsStringList(String name, String defaultValue, char separator)
white space at the start/end of the string or at the start/end of the parts delimited by separator are trimmed
-
-
-
Method Detail
-
getSystemPropertyAsInt
public static int getSystemPropertyAsInt(String name, int defaultValue)
-
getSystemPropertyAsString
public static String getSystemPropertyAsString(String name, String defaultValue)
-
getSystemPropertyAsBoolean
public static boolean getSystemPropertyAsBoolean(String name, boolean defaultValue)
-
-