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,org.apache.camel.WrappedFile<T>
public class RemoteFile<T>
extends org.apache.camel.component.file.GenericFile<T>
implements Cloneable
Represents a remote file of some sort of backing object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFromPopulateAdditional(org.apache.camel.component.file.GenericFile<T> source, org.apache.camel.component.file.GenericFile<T> result) charprotected booleanisAbsolute(String name) protected StringnormalizePath(String name) voidpopulateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message) Populates theGenericFileMessagerelevant headersvoidpopulateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message, boolean isProbeContentTypeFromEndpoint) voidsetHostname(String hostname) toString()Methods inherited from class org.apache.camel.component.file.GenericFile
bindToExchange, bindToExchange, changeFileName, copyFrom, getAbsoluteFilePath, getBinding, getBody, getCharset, getCopyFromAbsoluteFilePath, getEndpointPath, getExtendedAttributes, getFile, getFileLength, getFileName, getFileNameOnly, getLastModified, getLastOffsetValue, getParent, getRelativeFilePath, isAbsolute, isDirectory, normalizePathToProtocol, setAbsolute, setAbsoluteFilePath, setBinding, setBody, setCharset, setCopyFromAbsoluteFilePath, setDirectory, setEndpointPath, setExtendedAttributes, setFile, setFileLength, setFileName, setFileNameOnly, setLastModified, setRelativeFilePath, updateLastOffsetValue
-
Constructor Details
-
RemoteFile
public RemoteFile()
-
-
Method Details
-
populateHeaders
Populates theGenericFileMessagerelevant headers- Parameters:
message- the message to populate with headers
-
populateHeaders
public void populateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message, boolean isProbeContentTypeFromEndpoint) - Overrides:
populateHeadersin classorg.apache.camel.component.file.GenericFile<T>
-
getHostname
-
setHostname
-
getFileSeparator
public char getFileSeparator()- Overrides:
getFileSeparatorin classorg.apache.camel.component.file.GenericFile<T>
-
isAbsolute
- Overrides:
isAbsolutein classorg.apache.camel.component.file.GenericFile<T>
-
normalizePath
- Overrides:
normalizePathin classorg.apache.camel.component.file.GenericFile<T>
-
copyFromPopulateAdditional
public void copyFromPopulateAdditional(org.apache.camel.component.file.GenericFile<T> source, org.apache.camel.component.file.GenericFile<T> result) - Overrides:
copyFromPopulateAdditionalin classorg.apache.camel.component.file.GenericFile<T>
-
toString
- Overrides:
toStringin classorg.apache.camel.component.file.GenericFile<T>
-