org.apache.commons.net.ftp

Class DefaultFTPFileListParser

Implemented Interfaces:
FTPFileEntryParser, FTPFileListParser

public final class DefaultFTPFileListParser
extends UnixFTPEntryParser

DefaultFTPFileListParser is the default implementation of FTPFileListParser used by FTPClient to parse file listings. Sometimes you will want to parse unusual listing formats, in which case you would create your own implementation of FTPFileListParser and if necessary, subclass FTPFile.

As of version 1.2, this class merely extends UnixFTPEntryParser. It will be removed in version 2.0.

Author:
Daniel F. Savarese

See Also:
FTPFileListParser, FTPFile, FTPClient.listFiles, DefaultFTPFileEntryParserFactory

Field Summary

Fields inherited from class org.apache.commons.net.ftp.parser.UnixFTPEntryParser

MONTHS, REGEX

Fields inherited from class org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl

_matcher_, pattern, result

Method Summary

Methods inherited from class org.apache.commons.net.ftp.parser.UnixFTPEntryParser

parseFTPEntry

Methods inherited from class org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl

getGroupCnt, getGroupsAsString, group, matches

Methods inherited from class org.apache.commons.net.ftp.FTPFileEntryParserImpl

parseFileList, preParse, readNextEntry