Interface IFileEx

  • All Superinterfaces:
    IFile
    All Known Implementing Classes:
    FileInOutBinFile

    public interface IFileEx
    extends IFile
    seek capable file interface {@link FileInEx, FileOutEx}
    • Method Detail

      • 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