public class LocalFileWriter extends Object implements FileWriterI
| Constructor and Description |
|---|
LocalFileWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OutputStream |
getStreamOutputForPath(String fullDestFilePath)
Please don't forget to close the stream!
|
void |
writeBytesAtPath(String fullDestFilePath,
byte[] data) |
void |
writeBytesAtPathIfNotExist(String fullDestFilePath,
byte[] data) |
void |
writeFile(File fileToWrite,
String fullDestFilePath) |
public OutputStream getStreamOutputForPath(String fullDestFilePath) throws IOException
getStreamOutputForPath in interface FileWriterIIOExceptionpublic void writeFile(File fileToWrite, String fullDestFilePath) throws IOException
writeFile in interface FileWriterIIOExceptionpublic void writeBytesAtPathIfNotExist(String fullDestFilePath, byte[] data) throws IOException
writeBytesAtPathIfNotExist in interface FileWriterIIOExceptionpublic void writeBytesAtPath(String fullDestFilePath, byte[] data) throws IOException
writeBytesAtPath in interface FileWriterIIOExceptionpublic void close()
close in interface FileWriterICopyright © 2017. All Rights Reserved.