org.w3c.rdf.util
Class RDFReader
java.lang.Object
|
+--java.io.Reader
|
+--java.io.FilterReader
|
+--org.w3c.rdf.util.RDFReader
- public class RDFReader
- extends java.io.FilterReader
A rough approximation for extracting RDF out of an arbitrary character stream.
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Constructor Summary |
RDFReader(java.io.Reader in)
|
Method Summary |
void |
close()
|
static InputSource |
filter(InputSource old)
|
static void |
main(java.lang.String[] args)
|
boolean |
markSupported()
Tell whether this stream supports the mark() operation. |
int |
read()
|
int |
read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array, one by one. |
boolean |
ready()
|
Methods inherited from class java.io.FilterReader |
mark, reset, skip |
Methods inherited from class java.io.Reader |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDFReader
public RDFReader(java.io.Reader in)
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.FilterReader
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready
in class java.io.FilterReader
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.FilterReader
markSupported
public boolean markSupported()
- Tell whether this stream supports the mark() operation.
- Overrides:
markSupported
in class java.io.FilterReader
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Read characters into a portion of an array, one by one.
- Overrides:
read
in class java.io.FilterReader
- Throws:
java.io.IOException
- If an I/O error occurs
filter
public static InputSource filter(InputSource old)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception