org.apache.camel.component.file.remote
Class RemoteFile<T>
java.lang.Object
org.apache.camel.component.file.GenericFile<T>
org.apache.camel.component.file.remote.RemoteFile<T>
- Type Parameters:
T
- the type of file that these remote endpoints provide
- All Implemented Interfaces:
- Cloneable
public class RemoteFile<T>
- extends GenericFile<T>
- implements Cloneable
Represents a remote file of some sort of backing object
Methods inherited from class org.apache.camel.component.file.GenericFile |
bindToExchange, changeFileName, copyFrom, getAbsoluteFilePath, getBinding, getBody, getEndpointPath, getFile, getFileLength, getFileName, getFileNameOnly, getLastModified, getParent, getRelativeFilePath, isAbsolute, normalizePathToProtocol, setAbsolute, setAbsoluteFilePath, setBinding, setBody, setEndpointPath, setFile, setFileLength, setFileName, setFileNameOnly, setLastModified, setRelativeFilePath, toString |
RemoteFile
public RemoteFile()
populateHeaders
public void populateHeaders(GenericFileMessage<T> message)
- Populates the
GenericFileMessage
relevant headers
- Overrides:
populateHeaders
in class GenericFile<T>
- Parameters:
message
- the message to populate with headers
getHostname
public String getHostname()
setHostname
public void setHostname(String hostname)
getFileSeparator
public char getFileSeparator()
- Overrides:
getFileSeparator
in class GenericFile<T>
isAbsolute
protected boolean isAbsolute(String name)
- Overrides:
isAbsolute
in class GenericFile<T>
normalizePath
protected String normalizePath(String name)
- Overrides:
normalizePath
in class GenericFile<T>
copyFromPopulateAdditional
public void copyFromPopulateAdditional(GenericFile source,
GenericFile result)
- Overrides:
copyFromPopulateAdditional
in class GenericFile<T>
Apache CAMEL