Top Constructors Methods
com.mchange.v2.util

public final Class PropertiesUtils

extends Object
Class Inheritance
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, .UnsupportedEncodingException, java.util.Properties

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Properties
fromString(String propsString, String encoding)

public static Properties
fromString(String propsString)

public static int
getIntProperty(Properties props, String name, int dflt)

public static String
toString(Properties props, String comment, String encoding)

public static String
toString(Properties props, String comment)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PropertiesUtilsback to summary
private PropertiesUtils()

Method Detail

fromStringback to summary
public static Properties fromString(String propsString, String encoding) throws UnsupportedEncodingException
fromStringback to summary
public static Properties fromString(String propsString)
getIntPropertyback to summary
public static int getIntProperty(Properties props, String name, int dflt) throws NumberFormatException
toStringback to summary
public static String toString(Properties props, String comment, String encoding) throws UnsupportedEncodingException
toStringback to summary
public static String toString(Properties props, String comment)