com.ptc.windchill.upgrade.util
Class BufferedLineReader.BufferedLineInputStream
java.lang.Object
java.io.InputStream
com.ptc.windchill.upgrade.util.BufferedLineReader.BufferedLineInputStream
- Enclosing class:
- BufferedLineReader
- private class BufferedLineReader.BufferedLineInputStream
- extends InputStream
Method Summary |
int |
read()
Required public by the parent InputStream class. |
boolean |
ready()
Determine if a full line (with a '\n' terminator) is in the buffer. |
boolean |
ready2()
Is a full line (with a general terminator) in the buffer? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedLineReader.BufferedLineInputStream
BufferedLineReader.BufferedLineInputStream()
read
public int read()
throws IOException
- Required public by the parent InputStream class. Reads one byte.
- Returns:
- One byte.
- Throws:
IOException
ready
public boolean ready()
throws IOException
- Determine if a full line (with a '\n' terminator) is in the buffer.
Overwrites a method in the parent InputStream class.
- Returns:
- A true if a full line (with a '\n' terminator) is in the buffer.
- Throws:
IOException
ready2
public boolean ready2()
throws IOException
- Is a full line (with a general terminator) in the buffer?
- Returns:
- A true if a full line (with a general terminator) is in the buffer.
- Throws:
IOException