-
public interface BaseFileIOProcessorRepresents base file IO operations
-
-
Method Summary
Modifier and Type Method Description abstract Unitwrite(ByteArray byteArray, File destination)Write ByteArray data to the destination File abstract ByteArrayread(File source)Read ByteArray data from the source File abstract UnitcopyRaw(File source, File destination)Creates a raw copy of the source file to the destination file abstract OutputStreamopenFileOutputStream(File destinationFile)Returns OutputStream for the destination file abstract InputStreamopenFileInputStream(File sourceFile)Returns OutputStream for the source file abstract BooleangetUseEncryption()-
-
Method Detail
-
write
abstract Unit write(ByteArray byteArray, File destination)
- Parameters:
byteArray- data to writedestination- the destination file
-
read
abstract ByteArray read(File source)
- Parameters:
source- the source file object, or null if it could not be decoded.
-
copyRaw
abstract Unit copyRaw(File source, File destination)
Creates a raw copy of the source file to the destination file
-
openFileOutputStream
abstract OutputStream openFileOutputStream(File destinationFile)
Returns OutputStream for the destination file
-
openFileInputStream
abstract InputStream openFileInputStream(File sourceFile)
Returns OutputStream for the source file
-
getUseEncryption
abstract Boolean getUseEncryption()
-
-
-
-