|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.file.GenericFile<T>
org.apache.camel.component.file.remote.RemoteFile<T>
T - the type of file that these remote endpoints providepublic class RemoteFile<T>
Represents a remote file of some sort of backing object
| Constructor Summary | |
|---|---|
RemoteFile()
|
|
| Method Summary | |
|---|---|
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 |
setHostname(String hostname)
|
String |
toString()
|
| Methods inherited from class org.apache.camel.component.file.GenericFile |
|---|
bindToExchange, changeFileName, copyFrom, getAbsoluteFilePath, getBinding, getBody, getCharset, getEndpointPath, getFile, getFileLength, getFileName, getFileNameOnly, getLastModified, getParent, getRelativeFilePath, isAbsolute, isDirectory, normalizePathToProtocol, setAbsolute, setAbsoluteFilePath, setBinding, setBody, setCharset, setDirectory, setEndpointPath, setFile, setFileLength, setFileName, setFileNameOnly, setLastModified, setRelativeFilePath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteFile()
| Method Detail |
|---|
public void populateHeaders(org.apache.camel.component.file.GenericFileMessage<T> message)
GenericFileMessage relevant headers
populateHeaders in class org.apache.camel.component.file.GenericFile<T>message - the message to populate with headerspublic 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>public String toString()
toString in class org.apache.camel.component.file.GenericFile<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||