| Access | Constructor and Description |
|---|---|
| public | FileTarget(final File
the file to write to file, final boolean true if file is to be appended to, false otherwise append, final Formatter the Formatter formatter)Construct file target to write to a file with a formatter. |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized File | |
| protected synchronized void | |
| protected synchronized void |
| m_append | back to summary |
|---|---|
| private boolean m_append | |
| m_file | back to summary |
|---|---|
| private File m_file | |
| FileTarget | back to summary |
|---|---|
| public FileTarget(final File file, final boolean append, final Formatter formatter) throws IOException Construct file target to write to a file with a formatter.
| |
| getFile | back to summary |
|---|---|
| protected synchronized File getFile() Retrieve file associated with target. This allows subclasses to access file object.
| |
| openFile | back to summary |
|---|---|
| protected synchronized void openFile() throws IOException Open underlying file and allocate resources. This method will attempt to create directories below file and append to it if specified.
| |
| setFile | back to summary |
|---|---|
| protected synchronized void setFile(final File file, final boolean append) throws IOException Set the file for this target.
| |