public class OsgiParserFactory
extends org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
Constructor and Description |
---|
OsgiParserFactory(org.apache.camel.spi.ClassResolver ocr) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.net.ftp.FTPFileEntryParser |
createFileEntryParser(org.apache.commons.net.ftp.FTPClientConfig config) |
org.apache.commons.net.ftp.FTPFileEntryParser |
createFileEntryParser(String key) |
void |
setClassResolver(org.apache.camel.spi.ClassResolver ocr)
setClassResolver sets a class resolver which can be used instead of
Class.forName for class resolution.
|
public OsgiParserFactory(org.apache.camel.spi.ClassResolver ocr)
public void setClassResolver(org.apache.camel.spi.ClassResolver ocr)
ocr
- Class Resolverpublic org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser(String key)
createFileEntryParser
in interface org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory
createFileEntryParser
in class org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
public org.apache.commons.net.ftp.FTPFileEntryParser createFileEntryParser(org.apache.commons.net.ftp.FTPClientConfig config) throws org.apache.commons.net.ftp.parser.ParserInitializationException
createFileEntryParser
in interface org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory
createFileEntryParser
in class org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory
org.apache.commons.net.ftp.parser.ParserInitializationException
Apache Camel