| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final File | |
| private static final Logger | |
| private Writer |
| Access | Constructor and Description |
|---|---|
| public | ScriptTargetOutputToFile(File
The file to read from file, String The charset name charsetName, boolean If true, then bytes will be written to the end of the file rather than the beginning append)Constructs a ScriptTargetOutputToFile instance |
| public | ScriptTargetOutputToFile(File
The file to read from file, String The charset name charsetName)Constructs a ScriptTargetOutputToFile instance, the bytes will be written to the end of the file rather than the beginning |
| Modifier and Type | Method and Description |
|---|---|
| public void | prepare()
Overrides org. Implements org. accept commands
|
| public void | release()
Overrides org. Implements org. |
| pack-priv static Writer | |
| protected Writer | writer()
Implements abstract org. |
| append | back to summary |
|---|---|
| private final boolean append | |
| charsetName | back to summary |
|---|---|
| private final String charsetName | |
| file | back to summary |
|---|---|
| private final File file | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| writer | back to summary |
|---|---|
| private Writer writer | |
| ScriptTargetOutputToFile | back to summary |
|---|---|
| public ScriptTargetOutputToFile(File file, String charsetName, boolean append) Constructs a ScriptTargetOutputToFile instance | |
| ScriptTargetOutputToFile | back to summary |
|---|---|
| public ScriptTargetOutputToFile(File file, String charsetName) Constructs a ScriptTargetOutputToFile instance, the bytes will be written to the end of the file rather than the beginning | |
| prepare | back to summary |
|---|---|
| public void prepare() Overrides org. Implements org. Doc from org. Prepare the script target to
| |
| release | back to summary |
|---|---|
| public void release() Overrides org. Implements org. Doc from org. Release this output
| |
| toFileWriter | back to summary |
|---|---|
pack-priv static Writer toFileWriter(File file, String charsetName, boolean append)
| |
| writer | back to summary |
|---|---|
| protected Writer writer() Implements abstract org.
| |