Package com._1c.g5.v8.dt.core.streams
Interface IFileEx
-
- All Superinterfaces:
IFile
- All Known Implementing Classes:
FileInOutBinFile
public interface IFileEx extends IFile
seek capable file interface {@link FileInEx, FileOutEx}
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.core.streams.IFile
IFile.SeekOrigin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
seek(long pos, IFile.SeekOrigin origin)
sets/returns the file positionlong
setEOF()
truncates/expands file up to the current file position
-
-
-
Method Detail
-
seek
long seek(long pos, IFile.SeekOrigin origin)
sets/returns the file position- Parameters:
pos
- - seek offsetorigin
- - offset's origin - can be one of SeekOrigin enumeration values- Returns:
- the new file position
-
setEOF
long setEOF()
truncates/expands file up to the current file position- Returns:
- - the current file position
-
-