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.Reader in) |
InPort(java.io.Reader in,
Path path) |
Modifier and Type | Method and Description |
---|---|
static InPort |
inDefault() |
static InPort |
openFile(java.io.InputStream strm,
Path path) |
static InPort |
openFile(java.io.InputStream strm,
Path path,
java.lang.Object conv) |
static InPort |
openFile(java.lang.Object fname) |
static InPort |
openFile(java.lang.Object fname,
java.lang.Object conv) |
void |
print(Consumer out) |
static void |
setInDefault(InPort in) |
close, fill, getColumnNumber, getConvertCR, getLineNumber, getName, getPath, getReadState, incrLineNumber, isOpen, lineStart, mark, markSupported, peek, peekCodePoint, peekCodePoint, read, read, readCodePoint, readCodePoint, readLine, readLine, ready, reset, setBuffer, setConvertCR, setKeepFullLines, setLineNumber, setName, setPath, skip_quick, skip, skip, skipRestOfLine, sourceReady, unread_quick, unread
public 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 static InPort inDefault()
public static void setInDefault(InPort in)
public static InPort openFile(java.lang.Object fname) throws java.io.IOException
java.io.IOException
public static InPort openFile(java.lang.Object fname, java.lang.Object conv) throws java.io.IOException
java.io.IOException
public static InPort openFile(java.io.InputStream strm, Path path) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public static InPort openFile(java.io.InputStream strm, Path path, java.lang.Object conv) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException