|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gjt.sp.jedit.io.AutoDetection.Result
public static class AutoDetection.Result
An utility class to hold the result of some auto detections.
| Constructor Summary | |
|---|---|
AutoDetection.Result(java.io.InputStream in)
Do some auto detection for a stream and hold the result in this instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoDetection.Result(java.io.InputStream in)
throws java.io.IOException
in - the stream
java.io.IOException| Method Detail |
|---|
public java.io.BufferedInputStream getRewindedStream()
throws java.io.IOException
java.io.IOExceptionpublic boolean streamIsGzipped()
public java.lang.String getDetectedEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||