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 forListInStream
andListOutStream
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IFile.SeekOrigin
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
read(byte[] buffer, int size)
reads from the file into a buffer.String
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
-
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
-
-