Interface IFile
interface IFile
Extends com.amazon.apmf.IMutableByteBuffer
Represents a file system object that can be read from or written to.
Methods
getDirEntry()
Returns a DirEntry object representing the file.IDirEntry*getDirEntry()
Returns
IDirEntry*
IDirEntry object.
makeInputStream()
Creates an input stream from the file.com.amazon.kepler.io.IBinaryInputStream*makeInputStream()
Returns
com.amazon.kepler.io.IBinaryInputStream*
IBinaryInputStream object.
Throws
PermissionDeniedError— when permissions do not allow an operation to be completed.IoError— if an error occurs during stream creation.
makeOutputStream()
Creates an output stream from the file.com.amazon.kepler.io.IBinaryOutputStream*makeOutputStream()
Returns
com.amazon.kepler.io.IBinaryOutputStream*
IBinaryOutputStream object.
Throws
PermissionDeniedError— when permissions do not allow an operation to be completed.IoError— if an error occurs during stream creation.

