DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28215>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28215 Add a CompositeFTPFileEntryParser to allow e.g. different nt dirstyles Summary: Add a CompositeFTPFileEntryParser to allow e.g. different nt dirstyles Product: Commons Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Net AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Attached you will find the patch and the new java-files needet. I changed the NT Parser slightly to test the dirstyle change. Theoretically the dirstyle could change during the parsing of one directory listing :-) tough will never be happen. However, the test case simualtes exactly this. On the way i refactored the FTPFileEntryParserImpl.java to RegexFTPFileEntryParserImpl.java. FTPFileEntryParserImpl could now be the base class for every FileEntryParser, while RegexFTPFileEntryParserImpl could be (and is for the already existent) the base for all regular expression base FileEntryParser. I also refactored DefaultFTPFileEntryParserFactory.java to allow easier derivation. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
