com.hs.mail.io
Class CountingInputStream
java.lang.Object
java.io.InputStream
com.hs.mail.io.CountingInputStream
- All Implemented Interfaces:
- Closeable
public class CountingInputStream
- extends InputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountingInputStream
public CountingInputStream(InputStream in)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
getLineCount
public int getLineCount()
getOctetCount
public int getOctetCount()
readAll
public void readAll()
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.