Class FileInOutBinFile
- java.lang.Object
-
- com._1c.g5.v8.dt.core.streams.impl.FileInOutBinFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.core.streams.IFile
IFile.SeekOrigin
-
-
Constructor Summary
Constructors Constructor Description FileInOutBinFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalRelease()
void
open(ListOutStream los)
int
read(byte[] buffer, int size)
reads from the file into a buffer.long
seek(long pos, IFile.SeekOrigin origin)
sets/returns the file positionlong
setEOF()
truncates/expands file up to the current file positionString
url()
file's url - may be empty for non-file based IFile implementations.void
write(byte[] buffer, int size)
writes into the file from a buffer
-
-
-
Method Detail
-
finalRelease
public void finalRelease()
-
open
public void open(ListOutStream los)
-
url
public String url()
Description copied from interface:IFile
file's url - may be empty for non-file based IFile implementations.
-
read
public int read(byte[] buffer, int size)
Description copied from interface:IFile
reads from the file into a buffer.
-
write
public void write(byte[] buffer, int size)
Description copied from interface:IFile
writes into the file from a buffer
-
seek
public long seek(long pos, IFile.SeekOrigin origin)
Description copied from interface:IFileEx
sets/returns the file position
-
-