public class FtpComponent extends RemoteFileComponent<org.apache.commons.net.ftp.FTPFile>
REMOTE_FILE_INPUT_STREAM
Constructor and Description |
---|
FtpComponent() |
FtpComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterPropertiesSet(org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint) |
protected org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
extractAndSetFtpClientConfigParameters(Map<String,Object> parameters,
FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
Extract additional ftp client configuration options from the parameters map (parameters starting with
'ftpClientConfig.').
|
protected void |
extractAndSetFtpClientParameters(Map<String,Object> parameters,
FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
Extract additional ftp client options from the parameters map (parameters starting with
'ftpClient.').
|
protected String |
getBaseUri(String uri)
Get the base uri part before the options as they can be non URI valid such as the expression using $ chars
and the URI constructor will regard $ as an illegal character and we don't want to enforce end users to
to escape the $ for the expression (file language)
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public FtpComponent()
public FtpComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
buildFileEndpoint
in class org.apache.camel.component.file.GenericFileComponent<org.apache.commons.net.ftp.FTPFile>
Exception
protected String getBaseUri(String uri)
protected void extractAndSetFtpClientConfigParameters(Map<String,Object> parameters, FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
protected void extractAndSetFtpClientParameters(Map<String,Object> parameters, FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
protected void afterPropertiesSet(org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint) throws Exception
afterPropertiesSet
in class org.apache.camel.component.file.GenericFileComponent<org.apache.commons.net.ftp.FTPFile>
Exception
Apache Camel