1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.net.ftp;
17
18 import org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl;
19
20 /**
21 * This abstract class implements both the older FTPFileListParser and
22 * newer FTPFileEntryParser interfaces with default functionality.
23 * All the classes in the parser subpackage inherit from this.
24 *
25 * @author Steve Cohen <scohen@apache.org>
26 * @see org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl
27 * @deprecated This class is deprecated as of version 1.2 and will be
28 * removed in version 2.0 --
29 * org.apache.commons.net.ftp.RegexFTPFileEntryParserImpl is its
30 * designated replacement. Class has been renamed, entire
31 * implemenation is in RegexFTPFileEntryParserImpl.
32 *
33 */
34 public abstract class FTPFileListParserImpl
35 extends RegexFTPFileEntryParserImpl
36 {
37 /**
38 * The constructor for a FTPFileListParserImpl object.
39 *
40 * @param regex The regular expression with which this object is
41 * initialized.
42 *
43 * @exception IllegalArgumentException
44 * Thrown if the regular expression is unparseable. Should not be seen in
45 * normal conditions. It it is seen, this is a sign that a subclass has
46 * been created with a bad regular expression. Since the parser must be
47 * created before use, this means that any bad parser subclasses created
48 * from this will bomb very quickly, leading to easy detection.
49 */
50
51 public FTPFileListParserImpl(String regex) {
52 super(regex);
53 }
54
55
56 }
57
58
59
60
61
62
63
64