Package sonia.scm.io
Class AbstractResourceProcessor
java.lang.Object
sonia.scm.io.AbstractResourceProcessor
- All Implemented Interfaces:
ResourceProcessor
- Direct Known Subclasses:
RegexResourceProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariable(String key, String value) voidvoidprocess(InputStream input, OutputStream output) voidprotected abstract voidprocess(Map<String, String> variableMap, BufferedReader reader, BufferedWriter writer) voidremoveVariable(String key)
-
Constructor Details
-
AbstractResourceProcessor
public AbstractResourceProcessor()
-
-
Method Details
-
process
protected abstract void process(Map<String, String> variableMap, BufferedReader reader, BufferedWriter writer) throws IOException- Throws:
IOException
-
addVariable
- Specified by:
addVariablein interfaceResourceProcessor
-
process
- Specified by:
processin interfaceResourceProcessor- Throws:
IOException
-
process
- Specified by:
processin interfaceResourceProcessor- Throws:
IOException
-
process
- Specified by:
processin interfaceResourceProcessor- Throws:
IOException
-
removeVariable
- Specified by:
removeVariablein interfaceResourceProcessor
-