public class TransactionFile extends Object
| Constructor and Description |
|---|
TransactionFile(File targetFile) |
TransactionFile(File targetFile,
boolean copySourceInInternalFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
OutputStream |
getOutputStream() |
File |
getTempFile() |
void |
init(File targetFile,
boolean copySourceInInternalFile) |
static void |
main(String[] args) |
void |
rollback() |
public TransactionFile(File targetFile) throws IOException
IOExceptionpublic TransactionFile(File targetFile, boolean copySourceInInternalFile) throws IOException
IOExceptionpublic void init(File targetFile, boolean copySourceInInternalFile) throws IOException
IOExceptionpublic OutputStream getOutputStream()
public File getTempFile()
public void commit()
public void rollback()
throws IOException
IOExceptionpublic static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.