mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 15:53:58 +02:00
renamed ftpFileEntryParsers to ftpListingParsers
This commit is contained in:
parent
a19090e01d
commit
7e72d65a8c
3 changed files with 10 additions and 7 deletions
|
@ -46,9 +46,9 @@ Javier Montalvo Orus (Symbian) - improved autodetection of FTPListingParser
|
||||||
</configuration>
|
</configuration>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<extension-point id="ftpFileEntryParsers" name="ftpFileEntryParsers" schema="schema/ftpFileEntryParsers.exsd"/>
|
<extension-point id="ftpListingParsers" name="ftpListingParsers" schema="schema/ftpListingParsers.exsd"/>
|
||||||
|
|
||||||
<extension point="org.eclipse.rse.subsystems.files.ftp.ftpFileEntryParsers">
|
<extension point="org.eclipse.rse.subsystems.files.ftp.ftpListingParsers">
|
||||||
<parser
|
<parser
|
||||||
class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser"
|
class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser"
|
||||||
id="org.eclipse.rse.ftp.parser.Unix"
|
id="org.eclipse.rse.ftp.parser.Unix"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<schema targetNamespace="org.eclipse.rse.subsystems.files.ftp">
|
<schema targetNamespace="org.eclipse.rse.subsystems.files.ftp">
|
||||||
<annotation>
|
<annotation>
|
||||||
<appInfo>
|
<appInfo>
|
||||||
<meta.schema plugin="org.eclipse.rse.subsystems.files.ftp" id="ftpFileEntryParsers" name="ftpFileEntryParsers"/>
|
<meta.schema plugin="org.eclipse.rse.subsystems.files.ftp" id="ftpListingParsers" name="ftpListingParsers"/>
|
||||||
</appInfo>
|
</appInfo>
|
||||||
<documentation>
|
<documentation>
|
||||||
Extension point that allows providing extra parsers for the FTP LIST command output.
|
Extension point that allows providing extra parsers for the FTP LIST command output.
|
||||||
|
@ -186,15 +186,18 @@ If no priority is specified, the default value will be <code>Integer.MAX_V
|
||||||
</parser>
|
</parser>
|
||||||
|
|
||||||
<!-- Custom parser implementing org.apache.commons.net.ftp.Configurable and org.apache.commons.net.ftp.FTPFileEntryParser -->
|
<!-- Custom parser implementing org.apache.commons.net.ftp.Configurable and org.apache.commons.net.ftp.FTPFileEntryParser -->
|
||||||
|
<!-- sending FTP list command "LIST -l" with priority 1-->
|
||||||
<parser
|
<parser
|
||||||
class="com.mycompany.MyParser"
|
class="com.mycompany.MyParser"
|
||||||
name="MyParser">
|
label="MyParser"
|
||||||
|
listCommandModifiers="-l"
|
||||||
|
priority="1">
|
||||||
</parser>
|
</parser>
|
||||||
|
|
||||||
<!-- UNIX server that uses Danish month names and "European" date formatting in Denmark's time zone -->
|
<!-- UNIX server that uses Danish month names and "European" date formatting in Denmark's time zone -->
|
||||||
<parser
|
<parser
|
||||||
class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser"
|
class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser"
|
||||||
name="UNIX_Danish"
|
label="UNIX_Danish"
|
||||||
defaultDateFormatStr = "d MMM yyyy"
|
defaultDateFormatStr = "d MMM yyyy"
|
||||||
recentDateFormatStr = "d MMM HH:mm"
|
recentDateFormatStr = "d MMM HH:mm"
|
||||||
serverLanguageCode = "da"
|
serverLanguageCode = "da"
|
||||||
|
@ -205,7 +208,7 @@ If no priority is specified, the default value will be <code>Integer.MAX_V
|
||||||
<!-- VMS server that uses month names in a language not supported but uses the standard date formatting -->
|
<!-- VMS server that uses month names in a language not supported but uses the standard date formatting -->
|
||||||
<parser
|
<parser
|
||||||
class="org.apache.commons.net.ftp.parser.VMSFTPEntryParser"
|
class="org.apache.commons.net.ftp.parser.VMSFTPEntryParser"
|
||||||
name="VMS_custom"
|
label="VMS_custom"
|
||||||
shortMonthNames="jan|feb|mar|apr|ma\u00ED|j\u00FAn|j\u00FAl|\u00e1g\u00FA|sep|okt|n\u00F3v|des"
|
shortMonthNames="jan|feb|mar|apr|ma\u00ED|j\u00FAn|j\u00FAl|\u00e1g\u00FA|sep|okt|n\u00F3v|des"
|
||||||
>
|
>
|
||||||
</parser>
|
</parser>
|
|
@ -31,7 +31,7 @@ public class FTPClientConfigFactory implements IFTPClientConfigFactory {
|
||||||
|
|
||||||
private Hashtable ftpConfigProxyById = new Hashtable();
|
private Hashtable ftpConfigProxyById = new Hashtable();
|
||||||
private Hashtable ftpParsers = new Hashtable();
|
private Hashtable ftpParsers = new Hashtable();
|
||||||
private IExtensionPoint ep = Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.rse.subsystems.files.ftp","ftpFileEntryParsers"); //$NON-NLS-1$ //$NON-NLS-2$
|
private IExtensionPoint ep = Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.rse.subsystems.files.ftp","ftpListingParsers"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor of the parser factory
|
* Constructor of the parser factory
|
||||||
|
|
Loading…
Add table
Reference in a new issue