scohen      2004/01/10 15:38:22

  Modified:    net/src/java/org/apache/commons/net/ftp/parser
                        DefaultFTPFileEntryParserFactory.java
                        EnterpriseUnixFTPEntryParser.java
                        VMSFTPEntryParser.java
  Log:
  Make VMSVersioningFTPEntryParser the default parser used in the autodetection
  scenario and changed comments on VMSFTPFTPEntryParser to indicate that this is
  not the default.
  
  Revision  Changes    Path
  1.6       +1 -1      
jakarta-commons/net/src/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
  
  Index: DefaultFTPFileEntryParserFactory.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/net/src/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultFTPFileEntryParserFactory.java     6 Jan 2004 00:09:22 -0000       1.5
  +++ DefaultFTPFileEntryParserFactory.java     10 Jan 2004 23:38:21 -0000      1.6
  @@ -118,7 +118,7 @@
               if (ukey.indexOf("UNIX") >= 0) {
                   return new UnixFTPEntryParser();
               } else if (ukey.indexOf("VMS") >= 0) {
  -                return new VMSFTPEntryParser();
  +                return new VMSVersioningFTPEntryParser();
               } else if (ukey.indexOf("WINDOWS") >= 0) {
                   return new NTFTPEntryParser();
               } else if (ukey.indexOf("OS/2") >= 0) {
  
  
  
  1.8       +7 -1      
jakarta-commons/net/src/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParser.java
  
  Index: EnterpriseUnixFTPEntryParser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/net/src/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParser.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EnterpriseUnixFTPEntryParser.java 10 Jan 2004 16:01:48 -0000      1.7
  +++ EnterpriseUnixFTPEntryParser.java 10 Jan 2004 23:38:21 -0000      1.8
  @@ -62,9 +62,15 @@
    * Parser for the Connect Enterprise Unix FTP Server From Sterling Commerce.  
    * Here is a sample of the sort of output line this parser processes:
    *  "-C--E-----FTP B QUA1I1      18128       41 Aug 12 13:56 QUADTEST"
  + * <P><B>
  + * Note: EnterpriseUnixFTPEntryParser can only be instantiated through the 
  + * DefaultFTPParserFactory by classname.  It will not be chosen
  + * by the autodetection scheme.
  + * </B>
    * @version $Id$
    * @author <a href="[EMAIL PROTECTED]">Winston Ojeda</a>
    * @see org.apache.commons.net.ftp.FTPFileEntryParser FTPFileEntryParser (for usage 
instructions)
  + * @see org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
    */
   public class EnterpriseUnixFTPEntryParser extends FTPFileEntryParserImpl
   {
  
  
  
  1.16      +7 -1      
jakarta-commons/net/src/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java
  
  Index: VMSFTPEntryParser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/net/src/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- VMSFTPEntryParser.java    10 Jan 2004 16:01:49 -0000      1.15
  +++ VMSFTPEntryParser.java    10 Jan 2004 23:38:21 -0000      1.16
  @@ -80,6 +80,11 @@
    *  "1-JUN.LIS;1              9/9           2-JUN-1998 07:32:04  [GROUP,OWNER]    
(RWED,RWED,RWED,RE)",
    *  "1-JUN.LIS;2              9/9           2-JUN-1998 07:32:04  [GROUP,OWNER]    
(RWED,RWED,RWED,RE)",
    *  "DATA.DIR;1               1/9           2-JUN-1998 07:32:04  [GROUP,OWNER]    
(RWED,RWED,RWED,RE)",
  + * <P><B>
  + * Note: VMSFTPEntryParser can only be instantiated through the 
  + * DefaultFTPParserFactory by classname.  It will not be chosen
  + * by the autodetection scheme.
  + * </B>
    * <P>
    * 
    * @author  <a href="[EMAIL PROTECTED]">Winston Ojeda</a>
  @@ -88,6 +93,7 @@
    * @version $Id$
    * 
    * @see org.apache.commons.net.ftp.FTPFileEntryParser FTPFileEntryParser (for usage 
instructions)
  + * @see org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
    */
   public class VMSFTPEntryParser extends FTPFileEntryParserImpl
   {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to