|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.component.file.GenericFileComponent<T>
org.apache.camel.component.file.remote.RemoteFileComponent<org.apache.commons.net.ftp.FTPFile>
org.apache.camel.component.file.remote.FtpComponent
public class FtpComponent
FTP Component
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.component.file.GenericFileComponent |
|---|
log |
| Constructor Summary | |
|---|---|
FtpComponent()
|
|
FtpComponent(CamelContext context)
|
|
| Method Summary | |
|---|---|
protected void |
afterPropertiesSet(GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint)
A factory method for derived file components to perform validation of properties |
protected GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method for derived file components to create the endpoint |
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 dont want to enforce end users to to escape the $ for the expression (file language) |
| Methods inherited from class org.apache.camel.component.file.GenericFileComponent |
|---|
createEndpoint |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FtpComponent()
public FtpComponent(CamelContext context)
| Method Detail |
|---|
protected GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
throws Exception
GenericFileComponent
buildFileEndpoint in class GenericFileComponent<org.apache.commons.net.ftp.FTPFile>uri - the full URI of the endpointremaining - the remaining part of the URI without the query
parameters or component prefixparameters - the optional parameters passed in
Exception - can be thrownprotected 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(GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint)
throws Exception
GenericFileComponent
afterPropertiesSet in class GenericFileComponent<org.apache.commons.net.ftp.FTPFile>endpoint - the endpoint
Exception - can be thrown in case of validation errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||