Source code: org/finj/parser/FTPServerParserFactory.java
1 package org.finj.parser;
2
3 import org.finj.FTPServerParser;
4
5 /**
6 * A factory class which aims at constructing the right parser
7 * for the data to parse, according to the kind of OS on which
8 * the FTP server is running. This allows to hide those tricky
9 * problems from people using <CODE>org.finj.*</CODE> classes
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 *
25 * @author Javier Iglesias -- jiglesias@users.sourceforge.net
26 * @version $Id: FTPServerParserFactory.java,v 1.1 2003/05/26 16:05:00 jiglesia Exp $
27 */
28 public class FTPServerParserFactory extends Object {
29
30 /**
31 * Creates and returns the right parser for the kind of
32 * data to parse.
33 *
34 * @return the right parser for the right purpose.
35 * @exception IllegalArgumentException
36 * when no parser can be created to fit to the
37 * data to parse.
38 * @since v1.0
39 */
40 public static FTPServerParser createParser ( ) throws IllegalArgumentException {
41 return null; // FIXME : remove me
42 }
43 }