public class XmlFormater
extends java.lang.Object
| Constructor and Description |
|---|
XmlFormater() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
format(java.lang.Object item)
Format.
|
static byte[] |
format(java.lang.Object item,
java.util.Properties props)
Format.
|
static java.util.Properties |
getDefauleProperties()
Gets the defaule properties.
|
public static java.util.Properties getDefauleProperties()
public static byte[] format(java.lang.Object item)
throws java.io.IOException
item - the itemjava.io.IOException - Signals that an I/O exception has occurred.public static byte[] format(java.lang.Object item,
java.util.Properties props)
throws java.io.IOException
item - the itemprops - the propsjava.io.IOException - Signals that an I/O exception has occurred.