org.apache.commons.net.ftp.parser

Interface FTPFileEntryParserFactory

Known Implementing Classes:
DefaultFTPFileEntryParserFactory

public interface FTPFileEntryParserFactory

The interface describes a factory for creating FTPFileEntryParsers

Method Summary

FTPFileEntryParser
createFileEntryParser(String key)
Implementation should be a method that decodes the supplied key and creates an object implementing the interface FTPFileEntryParser.

Method Details

createFileEntryParser

public FTPFileEntryParser createFileEntryParser(String key)
            throws ParserInitializationException
Implementation should be a method that decodes the supplied key and creates an object implementing the interface FTPFileEntryParser.

Parameters:
key - A string that somehow identifies an FTPFileEntryParser to be created.

Returns:
the FTPFileEntryParser created.

Throws:
ParserInitializationException - Thrown on any exception in instantiation

See Also:
ParserInitializationException