org.apache.commons.net.ftp.parser

Class CompositeFileEntryParser

public class CompositeFileEntryParser extends FTPFileEntryParserImpl

This implementation allows to pack some FileEntryParsers together and handle the case where to returned dirstyle isnt clearly defined. The matching parser will be cached. If the cached parser wont match due to the server changed the dirstyle, a new matching parser will be searched.

Author: Mario Ivankovits

Constructor Summary
CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)
Method Summary
FTPFileparseFTPEntry(String listEntry)

Constructor Detail

CompositeFileEntryParser

public CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)

Method Detail

parseFTPEntry

public FTPFile parseFTPEntry(String listEntry)