|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.support.ServiceSupport org.apache.camel.impl.DefaultComponent org.apache.camel.component.file.GenericFileComponent<File> org.apache.camel.component.file.FileComponent
public class FileComponent
File component.
Field Summary | |
---|---|
static String |
DEFAULT_LOCK_FILE_POSTFIX
Default camel lock filename postfix |
static String |
FILE_EXCHANGE_FILE
GenericFile property on Camel Exchanges. |
Fields inherited from class org.apache.camel.component.file.GenericFileComponent |
---|
log |
Fields inherited from class org.apache.camel.support.ServiceSupport |
---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Constructor Summary | |
---|---|
FileComponent()
|
Method Summary | |
---|---|
protected void |
afterPropertiesSet(GenericFileEndpoint<File> endpoint)
A factory method for derived file components to perform validation of properties |
protected GenericFileEndpoint<File> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method for derived file components to create the endpoint |
List<String> |
completeEndpointPath(ComponentConfiguration configuration,
String completionText)
Given the configuration and completion text, return a list of possible completion values for a command line, IDE or web based tool. |
protected boolean |
isValidEndpointCompletion(ComponentConfiguration configuration,
String completionText,
File file)
Returns true if this is a valid file for completion. |
Methods inherited from class org.apache.camel.component.file.GenericFileComponent |
---|
createEndpoint |
Methods inherited from class org.apache.camel.support.ServiceSupport |
---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FILE_EXCHANGE_FILE
public static final String DEFAULT_LOCK_FILE_POSTFIX
Constructor Detail |
---|
public FileComponent()
Method Detail |
---|
protected GenericFileEndpoint<File> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
GenericFileComponent
buildFileEndpoint
in class GenericFileComponent<File>
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 void afterPropertiesSet(GenericFileEndpoint<File> endpoint) throws Exception
GenericFileComponent
afterPropertiesSet
in class GenericFileComponent<File>
endpoint
- the endpoint
Exception
- can be thrown in case of validation errorspublic List<String> completeEndpointPath(ComponentConfiguration configuration, String completionText)
EndpointCompleter
completeEndpointPath
in interface EndpointCompleter
protected boolean isValidEndpointCompletion(ComponentConfiguration configuration, String completionText, File file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |