示例#1
0
 @Override
 public InputStream rewindAndGet() throws IOException {
   bufferedStream.reset();
   return bufferedStream;
 }
示例#2
0
 @Override
 public void cleanup() {
   bufferedStream.release();
 }
示例#3
0
 InputStreamRewinder(InputStream is, ArrayPool byteArrayPool) {
   bufferedStream = new RecyclableBufferedInputStream(is, byteArrayPool);
   bufferedStream.mark(MARK_LIMIT);
 }