public static class AutoDetection.Result
extends java.lang.Object
| Constructor and Description | 
|---|
| Result(java.io.InputStream in)Do some auto detection for a stream and hold the
 result in this instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getDetectedEncoding()Returns the auto detected encoding. | 
| java.io.BufferedInputStream | getRewindedStream()Returns the stream which can be read the contents of
 the original stream. | 
| boolean | streamIsGzipped()Returns true if the stream is gzipped. | 
public Result(java.io.InputStream in)
       throws java.io.IOException
in - the streamjava.io.IOExceptionpublic java.io.BufferedInputStream getRewindedStream()
                                              throws java.io.IOException
java.io.IOExceptionpublic boolean streamIsGzipped()
public java.lang.String getDetectedEncoding()