| Modifier and Type | Field and Description |
|---|---|
| private static final Properties |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static Boolean | Returns: theBoolean value for the property,
or nullthe property name. key)Get a Boolean networking system property. |
| public static Integer | Returns: theInteger value for the property,
or nullthe property name. key, int the default value to use if the property is not found defval)Get an Integer networking system property. |
| private static Properties |
| props | back to summary |
|---|---|
| private static final Properties props | |
| NetProperties | back to summary |
|---|---|
| private NetProperties() | |
| get | back to summary |
|---|---|
| public static String get(String key) Get a networking system property. If no system property was defined
returns the default value, if it exists, otherwise returns
| |
| getBoolean | back to summary |
|---|---|
| public static Boolean getBoolean(String key) Get a Boolean networking system property. If no system property was
defined returns the default value, if it exists, otherwise returns
| |
| getInteger | back to summary |
|---|---|
| public static Integer getInteger(String key, int defval) Get an Integer networking system property. If no system property was
defined returns the default value, if it exists, otherwise returns
| |
| loadDefaultProperties | back to summary |
|---|---|
| private static Properties loadDefaultProperties(Properties props) | |