1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-23 00:03:53 +02:00

renamed ftpFileEntryParsers to ftpListingParsers

This commit is contained in:
Javier Montalvo Orus 2007-05-16 19:43:37 +00:00
parent a19090e01d
commit 7e72d65a8c
3 changed files with 10 additions and 7 deletions

View file

@ -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"

View file

@ -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 &lt;code&gt;Integer.MAX_V
&lt;/parser&gt; &lt;/parser&gt;
&lt;!-- Custom parser implementing org.apache.commons.net.ftp.Configurable and org.apache.commons.net.ftp.FTPFileEntryParser --&gt; &lt;!-- Custom parser implementing org.apache.commons.net.ftp.Configurable and org.apache.commons.net.ftp.FTPFileEntryParser --&gt;
&lt;!-- sending FTP list command &quot;LIST -l&quot; with priority 1--&gt;
&lt;parser &lt;parser
class=&quot;com.mycompany.MyParser&quot; class=&quot;com.mycompany.MyParser&quot;
name=&quot;MyParser&quot;&gt; label=&quot;MyParser&quot;
listCommandModifiers=&quot;-l&quot;
priority=&quot;1&quot;&gt;
&lt;/parser&gt; &lt;/parser&gt;
&lt;!-- UNIX server that uses Danish month names and &quot;European&quot; date formatting in Denmark&apos;s time zone --&gt; &lt;!-- UNIX server that uses Danish month names and &quot;European&quot; date formatting in Denmark&apos;s time zone --&gt;
&lt;parser &lt;parser
class=&quot;org.apache.commons.net.ftp.parser.UnixFTPEntryParser&quot; class=&quot;org.apache.commons.net.ftp.parser.UnixFTPEntryParser&quot;
name=&quot;UNIX_Danish&quot; label=&quot;UNIX_Danish&quot;
defaultDateFormatStr = &quot;d MMM yyyy&quot; defaultDateFormatStr = &quot;d MMM yyyy&quot;
recentDateFormatStr = &quot;d MMM HH:mm&quot; recentDateFormatStr = &quot;d MMM HH:mm&quot;
serverLanguageCode = &quot;da&quot; serverLanguageCode = &quot;da&quot;
@ -205,7 +208,7 @@ If no priority is specified, the default value will be &lt;code&gt;Integer.MAX_V
&lt;!-- VMS server that uses month names in a language not supported but uses the standard date formatting --&gt; &lt;!-- VMS server that uses month names in a language not supported but uses the standard date formatting --&gt;
&lt;parser &lt;parser
class=&quot;org.apache.commons.net.ftp.parser.VMSFTPEntryParser&quot; class=&quot;org.apache.commons.net.ftp.parser.VMSFTPEntryParser&quot;
name=&quot;VMS_custom&quot; label=&quot;VMS_custom&quot;
shortMonthNames=&quot;jan|feb|mar|apr|ma\u00ED|j\u00FAn|j\u00FAl|\u00e1g\u00FA|sep|okt|n\u00F3v|des&quot; shortMonthNames=&quot;jan|feb|mar|apr|ma\u00ED|j\u00FAn|j\u00FAl|\u00e1g\u00FA|sep|okt|n\u00F3v|des&quot;
&gt; &gt;
&lt;/parser&gt; &lt;/parser&gt;

View file

@ -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