org.semanticweb.triple.application
Class TripleFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.semanticweb.triple.application.TripleFilterReader
- public class TripleFilterReader
- extends java.io.FilterReader
This is an input stream filter to store the content of whatever
is passed to addRDF into a file for later access.
The stream is intercepted here and stored in a file.
| Fields inherited from class java.io.FilterReader |
in |
| Fields inherited from class java.io.Reader |
lock |
|
Method Summary |
void |
close()
Close reader (not always called). |
int |
read()
Read one character |
int |
read(char[] cbuf,
int off,
int len)
Read multiple characters. |
| Methods inherited from class java.io.FilterReader |
mark, markSupported, ready, 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 |
TripleFilterReader
public TripleFilterReader(java.io.Reader in,
java.lang.String filename)
throws java.io.IOException
read
public int read()
throws java.io.IOException
- Read one character
- Throws:
java.io.IOException
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Read multiple characters.
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Close reader (not always called).
- Throws:
java.io.IOException