public class PmdLoader extends java.lang.Object implements FileLoader
Constructor and Description |
---|
PmdLoader() |
Modifier and Type | Method and Description |
---|---|
LoadedData |
readFile(java.io.File file,
java.util.Map<java.lang.String,java.lang.Object> importOptions)
Return a PmdLoader containing the treatmentSteps from the supplied
input stream.
|
LoadedData |
readStream(java.io.InputStream inputStream,
java.util.Map<java.lang.String,java.lang.Object> importOptions,
java.lang.String fileIdentifier)
Return a data object containing the treatment steps from a supplied
input stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOptions, getOptionDefinitions, readFile
public LoadedData readFile(java.io.File file, java.util.Map<java.lang.String,java.lang.Object> importOptions)
readFile
in interface FileLoader
file
- the file from which to read dataimportOptions
- import options (currently not used)public LoadedData readStream(java.io.InputStream inputStream, java.util.Map<java.lang.String,java.lang.Object> importOptions, java.lang.String fileIdentifier)
inputStream
- the input stream from which to read the PMD fileimportOptions
- import options (currently not used)fileIdentifier
- an optional identifier for the file being read. It
is only used in constructing warning and error messages.