Class ExecReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.InputStreamReader
-
- com.intellij.util.io.BaseInputStreamReader
-
- com.redhat.devtools.intellij.common.utils.ExecReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
public class ExecReader extends com.intellij.util.io.BaseInputStreamReader
-
-
Constructor Summary
Constructors Constructor Description ExecReader(@NotNull java.io.InputStream in)ExecReader(@NotNull java.io.InputStream in, @NotNull java.nio.charset.Charset cs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmark(int readAheadLimit)booleanmarkSupported()intread()intread(@org.jetbrains.annotations.NotNull char[] cbuf)intread(@org.jetbrains.annotations.NotNull char[] cbuf, int offset, int length)intread(@NotNull java.nio.CharBuffer target)booleanready()voidreset()longskip(long n)
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.InputStreamReader- Throws:
java.io.IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf, int offset, int length) throws java.io.IOException- Overrides:
readin classjava.io.InputStreamReader- Throws:
java.io.IOException
-
ready
public boolean ready() throws java.io.IOException- Overrides:
readyin classjava.io.InputStreamReader- Throws:
java.io.IOException
-
read
public int read(@NotNull @NotNull java.nio.CharBuffer target) throws java.io.IOException- Specified by:
readin interfacejava.lang.Readable- Overrides:
readin classjava.io.Reader- Throws:
java.io.IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf) throws java.io.IOException- Overrides:
readin classjava.io.Reader- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- Overrides:
skipin classjava.io.Reader- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupportedin classjava.io.Reader
-
mark
public void mark(int readAheadLimit) throws java.io.IOException- Overrides:
markin classjava.io.Reader- Throws:
java.io.IOException
-
reset
public void reset() throws java.io.IOException- Overrides:
resetin classjava.io.Reader- Throws:
java.io.IOException
-
-