public class PropertiesXMLHelper extends Object
Constructor and Description |
---|
PropertiesXMLHelper() |
Modifier and Type | Method and Description |
---|---|
static IObjectReaderHandler |
getObjectReaderHandler()
Get the default Java reader.
|
static IObjectWriterHandler |
getObjectWriterHandler()
Get the default Java writer.
|
static TypeInfoPathManager |
getPathManager()
Get the default Java reader.
|
static <T> T |
read(InputStream is,
ClassLoader classloader)
Convert an xml to an object.
|
static <T> T |
read(String val,
ClassLoader classloader)
Convert an xml to an object.
|
static String |
write(Object val,
ClassLoader classloader)
Convert to a string.
|
static void |
write(Object val,
OutputStream os,
ClassLoader classloader)
Convert to a string.
|
public static final Set typeinfos
public static String write(Object val, ClassLoader classloader)
public static void write(Object val, OutputStream os, ClassLoader classloader)
public static <T> T read(String val, ClassLoader classloader)
val
- The string value.public static <T> T read(InputStream is, ClassLoader classloader)
val
- The string value.public static TypeInfoPathManager getPathManager()
public static IObjectReaderHandler getObjectReaderHandler()
public static IObjectWriterHandler getObjectWriterHandler()
Copyright © 2013. All Rights Reserved.