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.

Constructor Summary

CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)

Method Summary

FTPFile
parseFTPEntry(String listEntry)

Constructor Details

CompositeFileEntryParser

public CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)

Method Details

parseFTPEntry

public FTPFile parseFTPEntry(String listEntry)