public final class StreamLoader
extends java.lang.Object
Constructor and Description |
---|
StreamLoader(Checker checker)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AuditListener |
getAuditListener() |
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.
|
public StreamLoader(Checker checker)
checker
- The checker to use.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.public AuditListener getAuditListener()
Copyright (c) 2003-2018 Simon Harris. All rights reserved.