Class WriteBuffer

Direct Known Subclasses:
SetImportStatus

public class WriteBuffer extends WriteableDAO
A Data Access Object to write a buffer to the file system.
Since:
1.0
Version:
4.1
Author:
Luke
  • Field Details

    • _f

      protected final File _f
  • Constructor Details

    • WriteBuffer

      public WriteBuffer(File f)
      Initializes the Data Access Object.
      Parameters:
      f - the file to write to
    • WriteBuffer

      public WriteBuffer(String path, String fileName)
      Initializes the Data Access Object.
      Parameters:
      path - the path to the destination file
      fileName - the destination filename
  • Method Details

    • write

      public void write(byte[] buffer) throws DAOException
      Writes a buffer to the filesystem.
      Parameters:
      buffer - the buffer data
      Throws:
      DAOException - if an I/O error occurs