public class ReaderInputSource extends Object implements InputSource
Constructor and Description |
---|
ReaderInputSource(InputStream in) |
ReaderInputSource(Reader reader) |
Modifier and Type | Method and Description |
---|---|
void |
back() |
String |
copy(int len) |
void |
copy(StringBuilder sb,
int len) |
long |
getColumnNumber() |
long |
getLineNumber() |
long |
getOffset() |
int |
mark() |
int |
next() |
String |
toString() |
public ReaderInputSource(InputStream in)
public ReaderInputSource(Reader reader)
public int next() throws IOException
next
in interface InputSource
IOException
public void back()
back
in interface InputSource
public int mark() throws IOException
mark
in interface InputSource
IOException
public void copy(StringBuilder sb, int len)
copy
in interface InputSource
public String copy(int len)
copy
in interface InputSource
public long getLineNumber()
getLineNumber
in interface InputSource
public long getColumnNumber()
getColumnNumber
in interface InputSource
public long getOffset()
getOffset
in interface InputSource
Copyright © 2018. All rights reserved.