public class PmdLoader extends Object implements FileLoader
Constructor and Description |
---|
PmdLoader() |
Modifier and Type | Method and Description |
---|---|
LoadedData |
readFile(File file,
Map<String,Object> importOptions)
Return a PmdLoader containing the treatmentSteps from the supplied
input stream.
|
LoadedData |
readStream(InputStream inputStream,
Map<String,Object> importOptions,
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(File file, Map<String,Object> importOptions)
readFile
in interface FileLoader
file
- the file from which to read dataimportOptions
- import options (currently not used)public LoadedData readStream(InputStream inputStream, Map<String,Object> importOptions, 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.Copyright © 2022. All rights reserved.