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 ReaderIOExceptionReader.read(char[], int, int)public int read()
throws IOException
read in class ReaderIOExceptionReader.read()public void mark(int readlimit)
throws IOException
mark in class ReaderIOExceptionReader.mark(int)public boolean markSupported()
markSupported in class ReaderReader.markSupported()public void reset()
throws IOException
reset in class ReaderIOExceptionReader.reset()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionReader.close()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.