/** * The constructor for a RegexFTPFileEntryParserImpl object. * * @param regex The regular expression with which this object is * initialized. * * @exception IllegalArgumentException * Thrown if the regular expression is unparseable. Should not be seen in * normal conditions. It it is seen, this is a sign that a subclass has * been created with a bad regular expression. Since the parser must be * created before use, this means that any bad parser subclasses created * from this will bomb very quickly, leading to easy detection. */ public RegexFTPFileEntryParserImpl(String regex) { super(); setRegex(regex); }