⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.net.ftp.parser

Class CompositeFileEntryParser

java.lang.Object
|
+--org.apache.commons.net.ftp.FTPFileEntryParserImpl
   |
   +--org.apache.commons.net.ftp.parser.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 <mario@ops.co.at>

Constructor Summary

CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)

Method Summary

FTPFile

parseFTPEntry(String listEntry)

Constructor Details

CompositeFileEntryParser

public CompositeFileEntryParser(FTPFileEntryParser[] ftpFileEntryParsers)

Parameters:
ftpFileEntryParsers

Method Details

parseFTPEntry

public FTPFile parseFTPEntry(String listEntry)

Parameters:
listEntry