public final class PropertiesUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Properties |
fromString(String propsString) |
static Properties |
fromString(String propsString,
String encoding) |
static int |
getIntProperty(Properties props,
String name,
int dflt) |
static String |
toString(Properties props,
String comment) |
static String |
toString(Properties props,
String comment,
String encoding) |
public static int getIntProperty(Properties props, String name, int dflt) throws NumberFormatException
NumberFormatException
public static Properties fromString(String propsString, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public static Properties fromString(String propsString)
public static String toString(Properties props, String comment, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public static String toString(Properties props, String comment)
Copyright © 2018 com.mchange. All rights reserved.