|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Reader
net.sf.saxon.dotnet.DotNetReader
public class DotNetReader
An implementation of java.io.Reader that wraps a .NET System.IO.TextReader
| Field Summary |
|---|
| Fields inherited from class java.io.Reader |
|---|
lock |
| Constructor Summary | |
|---|---|
DotNetReader(TextReader reader)
Create a Java Reader that wraps a .NET Reader |
|
| Method Summary | |
|---|---|
void |
close()
Close the stream. |
TextReader |
getUnderlyingTextReader()
Get the underlying TextReader object |
int |
read()
Read a single character. |
int |
read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
| Methods inherited from class java.io.Reader |
|---|
mark, markSupported, read, read, ready, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DotNetReader(TextReader reader)
reader - the .NET Reader| Method Detail |
|---|
public TextReader getUnderlyingTextReader()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Readerjava.io.IOException - If an I/O error occurs
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
read in class java.io.Readercbuf - Destination bufferoff - Offset at which to start storing characterslen - Maximum number of characters to read
java.io.IOException - If an I/O error occurs
public int read()
throws java.io.IOException
Subclasses that intend to support efficient single-character input should override this method.
read in class java.io.Readerjava.io.IOException - If an I/O error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||