public class ScriptTargetOutputToWriter extends Object implements ScriptTargetOutput
Constructor and Description |
---|
ScriptTargetOutputToWriter(Writer writer)
Constructs a ScriptTargetOutputToWriter
|
Modifier and Type | Method and Description |
---|---|
void |
accept(String command)
Accept the given command and write it to the abstracted script
|
void |
release()
Release this output
|
protected Writer |
writer() |
public ScriptTargetOutputToWriter(Writer writer)
writer
- The writer to write topublic void accept(String command)
ScriptTargetOutput
accept
in interface ScriptTargetOutput
command
- The commandpublic void release()
ScriptTargetOutput
release
in interface ScriptTargetOutput
protected Writer writer()
Copyright © 2016 JBoss by Red Hat. All rights reserved.