Class FileListingParser

java.lang.Object
org.yamcs.filetransfer.FileListingParser
Direct Known Subclasses:
BasicListingParser, CsvListingParser

public abstract class FileListingParser extends Object
Interface for retrieving and saving the list of files of a certain remote directory.
  • Constructor Details

    • FileListingParser

      public FileListingParser()
  • Method Details

    • getSpec

      public abstract Spec getSpec()
    • init

      public void init(String yamcsInstance, YConfiguration config)
    • parse

      public abstract List<RemoteFile> parse(String remotePath, byte[] data)
      Parse the provided text data into a list of RemoteFiles
      Parameters:
      remotePath - remote path where the file listing is located
      data - text data (e.g. coming from a file)
      Returns:
      parsed remote files and directories