java.lang.Object
org.yamcs.filetransfer.FileListingParser
org.yamcs.filetransfer.CsvListingParser
Parses a directory listing from Comma Separated Values (CSV) formatted data.
Uses configurable mappings to associate columns to the correct file properties.
Timestamps can be formatted as numbers or as strings in the ISO format.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CsvListingParser
public CsvListingParser()
-
-
Method Details
-
getSpec
- Specified by:
getSpecin classFileListingParser
-
init
- Overrides:
initin classFileListingParser
-
parse
Description copied from class:FileListingParserParse the provided text data into a list of RemoteFiles- Specified by:
parsein classFileListingParser- Parameters:
remotePath- remote path where the file listing is locateddata- text data (e.g. coming from a file)- Returns:
- parsed remote files and directories
-