Package org.yamcs.filetransfer
Class FileListingParser
java.lang.Object
org.yamcs.filetransfer.FileListingParser
- Direct Known Subclasses:
BasicListingParser,CsvListingParser
Interface for retrieving and saving the list of files of a certain remote directory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SpecgetSpec()voidinit(String yamcsInstance, YConfiguration config) abstract List<RemoteFile>Parse the provided text data into a list of RemoteFiles
-
Constructor Details
-
FileListingParser
public FileListingParser()
-
-
Method Details
-
getSpec
-
init
-
parse
Parse the provided text data into a list of RemoteFiles- Parameters:
remotePath- remote path where the file listing is locateddata- text data (e.g. coming from a file)- Returns:
- parsed remote files and directories
-