| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected OutputStream |
fos |
private static org.apache.log4j.Logger |
logger |
protected ObjectOutputStream |
oos |
protected Object |
outputObject |
| Constructor and Description |
|---|
ObjectFileWriter(File file,
Object outputObject)
Create a new writer for a given file with the specified content.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
write()
Performs the actual writing of the content.
|
private static final org.apache.log4j.Logger logger
protected File file
protected OutputStream fos
protected ObjectOutputStream oos
protected Object outputObject
public void write()
throws IOException
IOExceptionCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.