Package org.apache.xmlbeans.impl.common
Class SniffedXmlInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.apache.xmlbeans.impl.common.SniffedXmlInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SniffedXmlInputStream extends BufferedInputStream
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_SNIFFED_BYTES
-
Constructor Summary
Constructors Constructor Description SniffedXmlInputStream(InputStream stream)
-
Method Summary
Modifier and Type Method Description String
getXmlEncoding()
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
MAX_SNIFFED_BYTES
public static final int MAX_SNIFFED_BYTES- See Also:
- Constant Field Values
-
-
Constructor Details
-
SniffedXmlInputStream
- Throws:
IOException
-
-
Method Details