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
IOException
public XmlStreamReader(InputStream is) throws IOException
IOException
public XmlStreamReader(InputStream is, boolean lenient) throws IOException, org.apache.maven.shared.utils.xml.XmlStreamReaderException
IOException
org.apache.maven.shared.utils.xml.XmlStreamReaderException
public XmlStreamReader(URL url) throws IOException
IOException
public XmlStreamReader(URLConnection conn) throws IOException
IOException
public XmlStreamReader(InputStream is, String httpContentType) throws IOException
IOException
public XmlStreamReader(InputStream is, String httpContentType, boolean lenient, String defaultEncoding) throws IOException, org.apache.maven.shared.utils.xml.XmlStreamReaderException
IOException
org.apache.maven.shared.utils.xml.XmlStreamReaderException
public XmlStreamReader(InputStream is, String httpContentType, boolean lenient) throws IOException, org.apache.maven.shared.utils.xml.XmlStreamReaderException
IOException
org.apache.maven.shared.utils.xml.XmlStreamReaderException
public 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 Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.