Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  java.io.Closeable

    public class SniffedXmlInputStream

extends java.io.BufferedInputStream

Field Summary
`static int` | `MAX_SNIFFED_BYTES`

Fields inherited from class java.io.BufferedInputStream
`buf, count, marklimit, markpos, pos`

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`SniffedXmlInputStream(java.io.InputStream stream)`

Method Summary
`java.lang.String` | `getXmlEncoding()`

Methods inherited from class java.io.BufferedInputStream
`available, close, mark, markSupported, read, read, reset, skip`

Methods inherited from class java.io.FilterInputStream
`read`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MAX_SNIFFED_BYTES

    public static int MAX_SNIFFED_BYTES

Constructor Detail

### SniffedXmlInputStream

    public SniffedXmlInputStream(java.io.InputStream stream)
                          throws java.io.IOException

Throws:
  `java.io.IOException`

Method Detail

### getXmlEncoding

    public java.lang.String getXmlEncoding()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD