T
- the type of file that these remote endpoints providepublic class RemoteFile<T> extends org.apache.camel.component.file.GenericFile<T> implements Cloneable
Constructor and Description |
---|
RemoteFile() |
Modifier and Type | Method and Description |
---|---|
void |
copyFromPopulateAdditional(org.apache.camel.component.file.GenericFile<T> source,
org.apache.camel.component.file.GenericFile<T> result) |
char |
getFileSeparator() |
String |
getHostname() |
protected boolean |
isAbsolute(String name) |
protected String |
normalizePath(String name) |
void |
populateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message)
Populates the
GenericFileMessage relevant headers |
void |
populateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message,
boolean isProbeContentTypeFromEndpoint) |
void |
setHostname(String hostname) |
String |
toString() |
bindToExchange, bindToExchange, changeFileName, copyFrom, getAbsoluteFilePath, getBinding, getBody, getCharset, getCopyFromAbsoluteFilePath, getEndpointPath, getExtendedAttributes, getFile, getFileLength, getFileName, getFileNameOnly, getLastModified, getParent, getRelativeFilePath, isAbsolute, isDirectory, normalizePathToProtocol, setAbsolute, setAbsoluteFilePath, setBinding, setBody, setCharset, setCopyFromAbsoluteFilePath, setDirectory, setEndpointPath, setExtendedAttributes, setFile, setFileLength, setFileName, setFileNameOnly, setLastModified, setRelativeFilePath
public void populateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message)
GenericFileMessage
relevant headersmessage
- the message to populate with headerspublic void populateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message, boolean isProbeContentTypeFromEndpoint)
populateHeaders
in class org.apache.camel.component.file.GenericFile<T>
public String getHostname()
public void setHostname(String hostname)
public char getFileSeparator()
getFileSeparator
in class org.apache.camel.component.file.GenericFile<T>
protected boolean isAbsolute(String name)
isAbsolute
in class org.apache.camel.component.file.GenericFile<T>
protected String normalizePath(String name)
normalizePath
in class org.apache.camel.component.file.GenericFile<T>
public void copyFromPopulateAdditional(org.apache.camel.component.file.GenericFile<T> source, org.apache.camel.component.file.GenericFile<T> result)
copyFromPopulateAdditional
in class org.apache.camel.component.file.GenericFile<T>
Apache Camel