|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SystemProperties>
ch.javasoft.util.logging.SystemProperties
public enum SystemProperties
Constants for system property names related to logging configuration.
See LogManager for more information about logging configuration.
| Enum Constant Summary | |
|---|---|
LogManagerPropertiesClass
Constant for the java.util.logging.config.class system property |
|
LogManagerPropertiesFile
Constant for the java.util.logging.config.file system property |
|
| Method Summary | |
|---|---|
String |
getPropertyName()
Returns the system property name |
String |
getSystemProperty()
Returns the value for this property, that is, System.getProperty(String) is called |
String |
getSystemProperty(String defaultValue)
Returns the value for this property or the given default value if not such property is configured. |
static SystemProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SystemProperties[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SystemProperties LogManagerPropertiesFile
public static final SystemProperties LogManagerPropertiesClass
| Method Detail |
|---|
public static SystemProperties[] values()
for (SystemProperties c : SystemProperties.values()) System.out.println(c);
public static SystemProperties valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getPropertyName()
public String getSystemProperty()
System.getProperty(String) is called
public String getSystemProperty(String defaultValue)
System.getProperty(String, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||