|
Simian - Similarity Analyser v2.3.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.harukizaemon.simian.StreamLoader
public final class StreamLoader
Loads files into a checker. Instances can be re-used to load multiple successive files into the same checker.
Constructor Summary | |
---|---|
StreamLoader(Checker checker)
Constructor. |
Method Summary | |
---|---|
void |
load(java.lang.String filename,
java.io.InputStream stream)
Loads a specified stream. |
void |
load(java.lang.String filename,
java.io.Reader stream)
Loads a specified stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamLoader(Checker checker)
checker
- The checker to use.Method Detail |
---|
public void load(java.lang.String filename, java.io.Reader stream) throws java.io.IOException
filename
- The name of the file this stream represents.stream
- The stream.
java.io.IOException
- if an error occurs loading the file.public void load(java.lang.String filename, java.io.InputStream stream) throws java.io.IOException
filename
- The name of the file this stream represents.stream
- The stream.
java.io.IOException
- if an error occurs loading the file.
|
Simian - Similarity Analyser v2.3.33 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |