| java.lang.Object sun.net.NetProperties
NetProperties | public class NetProperties (Code) | | |
get | public static String get(String key)(Code) | | Get a networking system property. If no system property was defined
returns the default value, if it exists, otherwise returns
null .
Parameters: key - the property name. throws: SecurityException - if a security manager exists and itscheckPropertiesAccess method doesn't allow accessto the system properties. the String value for the property, or null |
getBoolean | public static Boolean getBoolean(String key)(Code) | | Get a Boolean networking system property. If no system property was
defined returns the default value, if it exists, otherwise returns
null .
Parameters: key - the property name. throws: SecurityException - if a security manager exists and itscheckPropertiesAccess method doesn't allow accessto the system properties. the Boolean value for the property, or null |
getInteger | public static Integer getInteger(String key, int defval)(Code) | | Get an Integer networking system property. If no system property was
defined returns the default value, if it exists, otherwise returns
null .
Parameters: key - the property name. Parameters: defval - the default value to use if the property is not found throws: SecurityException - if a security manager exists and itscheckPropertiesAccess method doesn't allow accessto the system properties. the Integer value for the property, or null |
|
|