Class FileListJob

    • Constructor Detail

      • FileListJob

        public FileListJob()
        The constructor.
    • Method Detail

      • initialize

        public void initialize​(OutputStream os)
        Initializes fields in this class.
        Specified by:
        initialize in class FileBatchJob
        Parameters:
        os - the OutputStream to which data is to be written
      • processFile

        public boolean processFile​(File file,
                                   OutputStream os)
        Writes the name of the arcfile to the OutputStream.
        Specified by:
        processFile in class FileBatchJob
        Parameters:
        file - an arcfile
        os - the OutputStream to which data is to be written
        Returns:
        false If listing of this arcfile fails; otherwise true
      • finish

        public void finish​(OutputStream os)
        Does nothing.
        Specified by:
        finish in class FileBatchJob
        Parameters:
        os - the OutputStream to which data is to be written
      • toString

        public String toString()
        Return a human-readable representation of a FileListJob.
        Overrides:
        toString in class Object
        Returns:
        a human-readable representation of a FileListJob