mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +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>
|
||||
</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
|
||||
class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser"
|
||||
id="org.eclipse.rse.ftp.parser.Unix"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<schema targetNamespace="org.eclipse.rse.subsystems.files.ftp">
|
||||
<annotation>
|
||||
<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>
|
||||
<documentation>
|
||||
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>
|
||||
|
||||
<!-- 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
|
||||
class="com.mycompany.MyParser"
|
||||
name="MyParser">
|
||||
label="MyParser"
|
||||
listCommandModifiers="-l"
|
||||
priority="1">
|
||||
</parser>
|
||||
|
||||
<!-- UNIX server that uses Danish month names and "European" date formatting in Denmark's time zone -->
|
||||
<parser
|
||||
class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser"
|
||||
name="UNIX_Danish"
|
||||
label="UNIX_Danish"
|
||||
defaultDateFormatStr = "d MMM yyyy"
|
||||
recentDateFormatStr = "d MMM HH:mm"
|
||||
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 -->
|
||||
<parser
|
||||
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"
|
||||
>
|
||||
</parser>
|
|
@ -31,7 +31,7 @@ public class FTPClientConfigFactory implements IFTPClientConfigFactory {
|
|||
|
||||
private Hashtable ftpConfigProxyById = 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
|
||||
|
|
Loading…
Add table
Reference in a new issue