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

    Modifier and Type
    Method
    Description
    long
    seek(long pos, IFile.SeekOrigin origin)
    sets/returns the file position
    long
    truncates/expands file up to the current file position

    Methods inherited from interface com._1c.g5.v8.dt.core.streams.IFile

    read, url, write
  • Method Details

    • seek

      long seek(long pos, IFile.SeekOrigin origin)
      sets/returns the file position
      Parameters:
      pos - - seek offset
      origin - - 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