public class XmlStreamReader extends Reader
| Constructor and Description |
|---|
XmlStreamReader(File file) |
XmlStreamReader(InputStream is) |
XmlStreamReader(InputStream is,
boolean lenient) |
XmlStreamReader(InputStream is,
String httpContentType) |
XmlStreamReader(InputStream is,
String httpContentType,
boolean lenient) |
XmlStreamReader(InputStream is,
String httpContentType,
boolean lenient,
String defaultEncoding) |
XmlStreamReader(URL url) |
XmlStreamReader(URLConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static String |
getDefaultEncoding() |
String |
getEncoding() |
int |
read(char[] buf,
int offset,
int len) |
static void |
setDefaultEncoding(String encoding) |
public XmlStreamReader(File file) throws IOException
IOExceptionpublic XmlStreamReader(InputStream is) throws IOException
IOExceptionpublic XmlStreamReader(InputStream is, boolean lenient) throws IOException, org.apache.maven.shared.utils.xml.XmlStreamReaderException
IOExceptionorg.apache.maven.shared.utils.xml.XmlStreamReaderExceptionpublic XmlStreamReader(URL url) throws IOException
IOExceptionpublic XmlStreamReader(URLConnection conn) throws IOException
IOExceptionpublic XmlStreamReader(InputStream is, String httpContentType) throws IOException
IOExceptionpublic XmlStreamReader(InputStream is, String httpContentType, boolean lenient, String defaultEncoding) throws IOException, org.apache.maven.shared.utils.xml.XmlStreamReaderException
IOExceptionorg.apache.maven.shared.utils.xml.XmlStreamReaderExceptionpublic XmlStreamReader(InputStream is, String httpContentType, boolean lenient) throws IOException, org.apache.maven.shared.utils.xml.XmlStreamReaderException
IOExceptionorg.apache.maven.shared.utils.xml.XmlStreamReaderExceptionpublic static void setDefaultEncoding(String encoding)
public static String getDefaultEncoding()
public String getEncoding()
public int read(char[] buf,
int offset,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.