public class SizeMeasuringReader extends Reader
Reader implementation that can wrap another input stream and determine the number of bytes read.| Constructor and Description |
|---|
SizeMeasuringReader(Reader Reader,
AtomicLong size) |
public SizeMeasuringReader(Reader Reader, AtomicLong size)
public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionpublic void mark(int readlimit)
throws IOException
mark in class ReaderIOExceptionpublic boolean markSupported()
markSupported in class Readerpublic void reset()
throws IOException
reset in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.