All Known Subinterfaces:
CSVFileStore
All Known Implementing Classes:
BasicFileStoreConnector, BasicFolderConnector, CSVFileStoreConnector, DataFolderConnector

public interface BasicFileStore
BasicFileStore defines the interface to access a file.
  • Method Details

    • getFile

      File getFile() throws FileException
      Return the Java File object that provides access to the file.
      Returns:
      File object
      Throws:
      FileException - unable to locate the file
    • getFileLength

      long getFileLength() throws FileException
      Return the number of bytes in the file
      Returns:
      number
      Throws:
      FileException - unable to locate the file
    • getFileName

      String getFileName() throws FileException, FileReadException
      Return the name of the file to read.
      Returns:
      file name
      Throws:
      FileException - there is a problem accessing the file
      FileReadException - - the file name is null, the file does not exist, or is a directory or is not readable.
    • getCreationDate

      Date getCreationDate() throws FileException, FileReadException
      Return the creation date for the file.
      Returns:
      Date object
      Throws:
      FileException - there is a problem accessing the file
      FileReadException - - the file name is null, the file does not exist, or is a directory or is not readable.
    • getLastUpdateDate

      Date getLastUpdateDate() throws FileException, FileReadException
      Return the last update date for the file.
      Returns:
      Date object
      Throws:
      FileException - there is a problem accessing the file
      FileReadException - - the file name is null, the file does not exist, or is a directory or is not readable.
    • getLastAccessDate

      Date getLastAccessDate() throws FileException, FileReadException
      Return the last access date for the file.
      Returns:
      Date object
      Throws:
      FileException - there is a problem accessing the file
      FileReadException - - the file name is null, the file does not exist, or is a directory or is not readable.