FTP Directory Listing Parsers

org.eclipse.rse.subsystems.files.ftp.ftpListingParsers

RSE 2.0

Extension point that allows providing extra parsers for the FTP LIST command output. Apache commons net provides some APIs and factories to costumize the parser and this extension provides an easy way to setup a custom parser and integrate it into RSE. The provided extension points will be available as a list in the property "FTP Settings", allowing the user to select them overriding the default parser. The string attributes defaultDateFormatStr recentDateFormatStr serverLanguageCode serverTimeZoneId shortMonthNames have to follow the format described by org.apache.commons.net.ftp.FTPClientConfig

<!ELEMENT extension (parser)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT parser EMPTY>

<!ATTLIST parser

id                   CDATA #REQUIRED

label                CDATA #REQUIRED

class                CDATA #REQUIRED

defaultDateFormatStr CDATA #IMPLIED

recentDateFormatStr  CDATA #IMPLIED

serverLanguageCode   CDATA #IMPLIED

shortMonthNames      CDATA #IMPLIED

serverTimeZoneId     CDATA #IMPLIED

systemTypeRegex      CDATA #IMPLIED

priority             CDATA #IMPLIED

listCommandModifiers CDATA #IMPLIED>


The provider of a new FTPEntryParser must implement org.apache.commons.net.ftp.Configurable and org.apache.commons.net.ftp.FTPFileEntryParser

Customized VMS and WinNT implementations are supplied in the org.eclipse.rse.subsystems.files.ftp plug-in.