org.vafer.jdeb.utils
Class InformationInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.vafer.jdeb.utils.InformationInputStream
All Implemented Interfaces:
Closeable

public final class InformationInputStream
extends FilterInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
InformationInputStream(InputStream in)
           
 
Method Summary
 String getEncoding()
           
 boolean hasBom()
           
 boolean hasUnixLineEndings()
           
 boolean isShell()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 String toString()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InformationInputStream

public InformationInputStream(InputStream in)
Method Detail

hasBom

public boolean hasBom()

isShell

public boolean isShell()

hasUnixLineEndings

public boolean hasUnixLineEndings()

getEncoding

public String getEncoding()

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.