edu.emory.mathcs.util.io
Interface Input
- All Known Subinterfaces:
- RedirectibleInput, TimedInput, TimedRedirectibleInput
- All Known Implementing Classes:
- NullInputStream, RedirectingInputStream
- public interface Input
An abstraction of a plain input stream. Subinterfaces supply additional
methods, indicating additional properties of the stream such as read
with timeout or redirectability.
- Version:
- 1.0
- Author:
- Dawid Kurzyniec
- See Also:
InputStream
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] buf)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Throws:
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
markSupported
public boolean markSupported()
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException
mark
public void mark(int readLimit)