public class ReflectiveAtomicConvertersBundle extends AbstractReflectiveAtomicConvertersBundle
| Constructor and Description |
|---|
ReflectiveAtomicConvertersBundle() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
byteArrayToInputStream(byte[] ba) |
XMLEventReader |
byteArrayToXmlEventReader(byte[] in) |
byte[] |
fileToByteArray(File in) |
XMLEventReader |
fileToXmlEventReader(File in) |
byte[] |
inputStreamToByteArray(InputStream in) |
XMLEventReader |
inputStreamToXmlEventReader(InputStream in) |
Document |
parseXml(byte[] in) |
Document |
parseXml(File in) |
Document |
parseXml(InputStream in) |
Document |
parseXml(String str) |
XMLEventReader |
readerToXmlEventReader(Reader in) |
String |
serialize(Node node) |
XMLEventReader |
stringToXmlEventReader(String in) |
getConverterspublic ReflectiveAtomicConvertersBundle()
public InputStream byteArrayToInputStream(byte[] ba)
public byte[] inputStreamToByteArray(InputStream in) throws IOException
IOExceptionpublic byte[] fileToByteArray(File in) throws IOException
IOExceptionpublic Document parseXml(InputStream in) throws Exception
Exceptionpublic XMLEventReader inputStreamToXmlEventReader(InputStream in) throws Exception
Exceptionpublic XMLEventReader readerToXmlEventReader(Reader in) throws Exception
Exceptionpublic XMLEventReader byteArrayToXmlEventReader(byte[] in) throws Exception
Exceptionpublic XMLEventReader fileToXmlEventReader(File in) throws Exception
Exceptionpublic XMLEventReader stringToXmlEventReader(String in) throws Exception
Exception