Class TestTextListOutStream.TestIFile

java.lang.Object
com._1c.g5.v8.dt.core.streams.impl.TestTextListOutStream.TestIFile
All Implemented Interfaces:
IFile
Enclosing class:
TestTextListOutStream

public static class TestTextListOutStream.TestIFile extends Object implements IFile
testing implementation of IFile
  • Constructor Details

  • Method Details

    • getFile

      public RandomAccessFile getFile()
    • url

      public String url()
      Description copied from interface: IFile
      file's url - may be empty for non-file based IFile implementations.
      Specified by:
      url in interface IFile
      Returns:
      - url where the file object came from.
    • read

      public int read(byte[] buffer, int size)
      Description copied from interface: IFile
      reads from the file into a buffer.
      Specified by:
      read in interface IFile
      Parameters:
      buffer - - pointer to a buffer
      size - - requested number of characters to read
      Returns:
      - the actual number of characters read
    • write

      public void write(byte[] buffer, int size)
      Description copied from interface: IFile
      writes into the file from a buffer
      Specified by:
      write in interface IFile
      Parameters:
      buffer - - pointer to a buffer
      size - - requested number of characters to write