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
IOException
public TransactionFile(File targetFile, boolean copySourceInInternalFile) throws IOException
IOException
public void init(File targetFile, boolean copySourceInInternalFile) throws IOException
IOException
public OutputStream getOutputStream()
public File getTempFile()
public void commit()
public void rollback() throws IOException
IOException
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.