public class InPort extends LineBufferedReader implements Printable
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocation |
inLocation |
buffer, BUFFER_SIZE, in, limit, lineNumber, markPos, pos, readAheadLimit, readState| Constructor and Description |
|---|
InPort(java.io.InputStream in) |
InPort(java.io.InputStream in,
Path path) |
InPort(java.io.InputStream in,
Path path,
java.lang.Object conv) |
InPort(java.io.Reader in) |
InPort(java.io.Reader in,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
static java.io.Reader |
convertToReader(java.io.InputStream in,
java.lang.Object conv) |
static InPort |
inDefault() |
static InPort |
openFile(java.io.InputStream strm,
java.lang.Object fname) |
static InPort |
openFile(java.lang.Object fname) |
void |
print(Consumer out) |
static void |
setInDefault(InPort in) |
close, fill, getColumnNumber, getConvertCR, getLineNumber, getName, getPath, getReadState, incrLineNumber, lineStart, mark, markSupported, peek, read, read, readLine, readLine, ready, reset, setBuffer, setConvertCR, setKeepFullLines, setLineNumber, setName, setPath, skip_quick, skip, skip, skipRestOfLine, unread_quick, unreadpublic static final ThreadLocation inLocation
public InPort(java.io.Reader in)
public InPort(java.io.Reader in,
Path path)
public InPort(java.io.InputStream in)
public InPort(java.io.InputStream in,
Path path)
public InPort(java.io.InputStream in,
Path path,
java.lang.Object conv)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic static java.io.Reader convertToReader(java.io.InputStream in,
java.lang.Object conv)
public static InPort inDefault()
public static void setInDefault(InPort in)
public static InPort openFile(java.lang.Object fname) throws java.io.IOException
java.io.IOExceptionpublic static InPort openFile(java.io.InputStream strm, java.lang.Object fname) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException