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() |
acceptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic 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 AbstractScriptTargetOutputpublic void prepare()
ScriptTargetOutputaccept commandsprepare in interface ScriptTargetOutputprepare in class AbstractScriptTargetOutputpublic void release()
ScriptTargetOutputrelease in interface ScriptTargetOutputrelease in class AbstractScriptTargetOutputCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.