Class SpyInputSource.TeeReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- com.github.oowekyala.ooxml.messages.SpyInputSource.TeeReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
- Enclosing class:
- SpyInputSource
private static class SpyInputSource.TeeReader extends java.io.FilterReader
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.WritercopySink
-
Constructor Summary
Constructors Constructor Description TeeReader(java.io.Reader source, java.io.Writer sink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()intread(char[] b)intread(char[] b, int off, int len)
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.FilterReader- Throws:
java.io.IOException
-
read
public int read(char[] b, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.FilterReader- Throws:
java.io.IOException
-
read
public int read(char[] b) throws java.io.IOException- Overrides:
readin classjava.io.Reader- Throws:
java.io.IOException
-
-