Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/finj/FTPServerParserFactory.java


1   package org.finj;
2   
3   import org.finj.FTPServerParser;
4   import org.finj.DOSFTPServerParser;
5   import org.finj.UnixFTPServerParser;
6   import org.finj.VMSFTPServerParser;
7   
8   /**
9    * A factory class which aims at constructing the right parser 
10   * for the data to parse, according to the kind of OS on which 
11   * the FTP server is running. This allows to hide those tricky 
12   * problems from people using <CODE>org.finj.*</CODE> classes 
13   * for their job.
14   *
15   * @author Javier Iglesias -- jiglesias@users.sourceforge.net 
16   * @version $Id$
17   */
18  public class FTPServerParserFactory extends Object {
19  
20      /**
21       * Creates and returns the right parser for the kind of 
22       * data to parse.
23       *
24       * @return      the right parser for the right purpose.
25       * @exception IllegalArgumentException 
26       *              when no parser can be created to fit to the 
27       *              data to parse.
28       * @since v1.0
29       */
30      public static FTPServerParser createParser ( ) throws IllegalArgumentException {
31    return null; // FIXME : remove me
32      }
33  }