defaultDateFormatStr
recentDateFormatStr
serverLanguageCode
serverTimeZoneId
shortMonthNames
have to
follow the format described by org.apache.commons.net.ftp.FTPClientConfig
Each parser can also specify one or more FTP commands to be sent after establishing the connection in the initCommands
attribute.
<!ELEMENT extension (parser)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT parser (initCommand)*>
<!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
>org.apache.commons.net.ftp.Configurable,org.apache.commons.net.ftp.FTPFileEntryParser
implementing the parser for the specific serveren_US
locales. This should be in the format described for java.text.SimpleDateFormat
. property.java.text.SimpleDateFormat
.en_US
month names will be used. We are supporting here those language
codes which, when a java.util.Locale
is constucted
using it, and a java.text.SimpleDateFormat
is
constructed using that Locale, the array returned by the
SimpleDateFormat's getShortMonths()
method consists solely of three 8-bit ASCII character strings. Additionally,
languages which do not meet this requirement are included if a
common alternative set of short month names is known to be used.
This means that users who can tell us of additional such encodings
may get them added to the list of supported languages by contacting
the Apache Commons Net team.
Please note that this attribute will NOT be used to determine a locale-based date format for the language.
Experience has shown that many if not most FTP servers outside the
United States employ the standard en_US
date format
orderings of MMM d yyyy
and MMM d HH:mm
and attempting to deduce this automatically here would cause more
problems than it would solve. The date format must be changed
via the defaultDateFormatStr and/or recentDateFormatStr parameters."jan|feb|mar|apr|maí|jún|júl|ágú|sep|okt|nóv|des"
.java.util.TimeZone
to refer to time zones, for example, America/Chicago
or Asia/Rangoon
.ftpSystemTypes
attribute. Integer values are allowed.
In case of more than one parser with a matching regular expression, the parser with lower priority number will be used.
If no priority is specified, the default value will be Integer.MAX_VALUE
.<!ELEMENT initCommand EMPTY>
<!ATTLIST initCommand
cmd CDATA #REQUIRED
>FTP initialization command to perform after connecting to the remote server, when the server's system type is detected to match the current listing parser.
org.eclipse.rse.subsystems.files.ftp
plug-in.
Copyright (c) 2007, 2008 Symbian Software Ltd. and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Javier Montalvo Orus (Symbian) - initial API and implementation Javier Montalvo Orus (Symbian) - added ftpSystemTypes and priority Javier Montalvo Orus (Symbian) - [212382] additional "initCommands" slot for ftpListingParsers extension point