public class ScriptTargetOutputToFile extends AbstractScriptTargetOutput implements ScriptTargetOutput
Constructor and Description |
---|
ScriptTargetOutputToFile(java.io.File file,
java.lang.String charsetName)
Constructs a ScriptTargetOutputToFile instance
|
Modifier and Type | Method and Description |
---|---|
void |
prepare()
Prepare the script target to
accept commands |
void |
release()
Release this output
|
protected java.io.Writer |
writer() |
accept
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
public ScriptTargetOutputToFile(java.io.File file, java.lang.String charsetName)
file
- The file to read fromcharsetName
- The charset nameprotected java.io.Writer writer()
writer
in class AbstractScriptTargetOutput
public void prepare()
ScriptTargetOutput
accept
commandsprepare
in interface ScriptTargetOutput
prepare
in class AbstractScriptTargetOutput
public void release()
ScriptTargetOutput
release
in interface ScriptTargetOutput
release
in class AbstractScriptTargetOutput
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.