public class Xpp3DomBuilder extends Object
Constructor and Description |
---|
Xpp3DomBuilder() |
Modifier and Type | Method and Description |
---|---|
static Xpp3Dom |
build(InputStream is,
String encoding) |
static Xpp3Dom |
build(InputStream is,
String encoding,
boolean trim) |
static Xpp3Dom |
build(Reader reader) |
static Xpp3Dom |
build(Reader in,
boolean trim) |
public static Xpp3Dom build(@WillClose @Nonnull Reader reader) throws XmlPullParserException
reader
- Reader
XmlPullParserException
- in case of an errorpublic static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding) throws XmlPullParserException
is
- InputStream
encoding
- the encodingXmlPullParserException
- in case of an errorpublic static Xpp3Dom build(@WillClose InputStream is, @Nonnull String encoding, boolean trim) throws XmlPullParserException
is
- InputStream
encoding
- the encodingtrim
- true/falseXmlPullParserException
- in case of an errorpublic static Xpp3Dom build(@WillClose Reader in, boolean trim) throws XmlPullParserException
in
- Reader
trim
- true/falseXmlPullParserException
- in case of an errorCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.