jline.internal
Class Configuration
java.lang.Object
jline.internal.Configuration
public class Configuration
- extends Object
Provides access to configuration values.
- Since:
- 2.4
- Author:
- Jason Dillon, Guillaume Nodet
Field Summary |
static String |
JLINE_CONFIGURATION
System property which can point to a file or URL containing configuration properties to load. |
static String |
JLINE_RC
Default configuration file name loaded from user's home directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JLINE_CONFIGURATION
public static final String JLINE_CONFIGURATION
- System property which can point to a file or URL containing configuration properties to load.
- Since:
- 2.7
- See Also:
- Constant Field Values
JLINE_RC
public static final String JLINE_RC
- Default configuration file name loaded from user's home directory.
- See Also:
- Constant Field Values
Configuration
public Configuration()
reset
public static void reset()
- Since:
- 2.7
getProperties
public static Properties getProperties()
- Since:
- 2.7
getString
public static String getString(String name,
String defaultValue)
getString
public static String getString(String name)
getBoolean
public static boolean getBoolean(String name,
boolean defaultValue)
getInteger
public static int getInteger(String name,
int defaultValue)
- Since:
- 2.6
getLong
public static long getLong(String name,
long defaultValue)
- Since:
- 2.6
getLineSeparator
public static String getLineSeparator()
- Since:
- 2.7
getUserHome
public static File getUserHome()
getOsName
public static String getOsName()
isWindows
public static boolean isWindows()
- Since:
- 2.7
getFileEncoding
public static String getFileEncoding()
getEncoding
public static String getEncoding()
Copyright © 2013. All Rights Reserved.