Package com._1c.g5.v8.dt.core.streams
Interface IFile
- All Known Subinterfaces:
IFileEx
- All Known Implementing Classes:
FileInOutBinFile,TestTextListOutStream.TestIFile
public interface IFile
interface of File for
ListInStream and ListOutStream-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
url
String url()file's url - may be empty for non-file based IFile implementations.- Returns:
- - url where the file object came from.
-
read
int read(byte[] buffer, int size) reads from the file into a buffer.- Parameters:
buffer- - pointer to a buffersize- - requested number of characters to read- Returns:
- - the actual number of characters read
-
write
void write(byte[] buffer, int size) writes into the file from a buffer- Parameters:
buffer- - pointer to a buffersize- - requested number of characters to write
-