public class RedmineXpp3Helper extends Object
| Constructor and Description |
|---|
RedmineXpp3Helper() |
| Modifier and Type | Method and Description |
|---|---|
<O> O |
readObject(Class<O> klass,
File file,
boolean strict) |
<O> O |
readObject(Class<O> klass,
InputStream stream,
boolean strict) |
<O> O |
readObject(Class<O> klass,
Reader reader,
boolean strict)
Read a single object from a xml stream.
|
<O> O |
readObject(Class<O> klass,
String txt,
boolean strict) |
<O> O[] |
readObjects(Class<O> klass,
File file,
boolean strict) |
<O> O[] |
readObjects(Class<O> klass,
InputStream stream,
boolean strict) |
<O> O[] |
readObjects(Class<O> klass,
Reader reader,
boolean strict)
Read an array of objects from a xml stream.
|
<O> O[] |
readObjects(Class<O> klass,
String txt,
boolean strict) |
public <O> O readObject(Class<O> klass, String txt, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic <O> O[] readObjects(Class<O> klass, String txt, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic <O> O readObject(Class<O> klass, File file, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic <O> O[] readObjects(Class<O> klass, File file, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic <O> O readObject(Class<O> klass, InputStream stream, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic <O> O[] readObjects(Class<O> klass, InputStream stream, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionpublic <O> O[] readObjects(Class<O> klass, Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
O - the type of objects to returnklass - the type of object to readreader - the reader where to parse the xmlstrict - a flag to have a strict reading of input sourceIOException - if any io pborg.codehaus.plexus.util.xml.pull.XmlPullParserException - if any parsing pbpublic <O> O readObject(Class<O> klass, Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
O - the type of object to readklass - the type of object to readreader - the reader where to parse the xmlstrict - a flag to have a strict reading of input sourceIOException - if any io pborg.codehaus.plexus.util.xml.pull.XmlPullParserException - if any parsing pbCopyright © 2009-2012 CodeLutin. All Rights Reserved.