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 TypeMethodDescriptionvoid
addVariable
(String key, String value) void
void
process
(InputStream input, OutputStream output) void
protected abstract void
process
(Map<String, String> variableMap, BufferedReader reader, BufferedWriter writer) void
removeVariable
(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:
addVariable
in interfaceResourceProcessor
-
process
- Specified by:
process
in interfaceResourceProcessor
- Throws:
IOException
-
process
- Specified by:
process
in interfaceResourceProcessor
- Throws:
IOException
-
process
- Specified by:
process
in interfaceResourceProcessor
- Throws:
IOException
-
removeVariable
- Specified by:
removeVariable
in interfaceResourceProcessor
-