|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.file.GenericFileConfiguration
org.apache.camel.component.file.remote.RemoteFileConfiguration
public abstract class RemoteFileConfiguration
Configuration of the FTP server
Field Summary |
---|
Fields inherited from class org.apache.camel.component.file.GenericFileConfiguration |
---|
directory |
Constructor Summary | |
---|---|
RemoteFileConfiguration()
|
|
RemoteFileConfiguration(URI uri)
|
Method Summary | |
---|---|
void |
configure(URI uri)
|
int |
getConnectTimeout()
|
String |
getHost()
|
String |
getPassword()
|
int |
getPort()
|
String |
getProtocol()
|
String |
getSiteCommand()
|
int |
getSoTimeout()
|
int |
getTimeout()
|
String |
getUsername()
|
boolean |
isBinary()
|
boolean |
isPassiveMode()
|
boolean |
isThrowExceptionOnConnectFailed()
|
boolean |
needToNormalize()
|
String |
remoteServerInformation()
Returns human readable server information for logging purpose |
void |
setBinary(boolean binary)
|
void |
setConnectTimeout(int connectTimeout)
Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH |
protected abstract void |
setDefaultPort()
|
void |
setHost(String host)
|
void |
setPassiveMode(boolean passiveMode)
Sets passive mode connections. |
void |
setPassword(String password)
|
void |
setPort(int port)
|
void |
setProtocol(String protocol)
|
void |
setSiteCommand(String siteCommand)
Sets optional site command(s) to be executed after successful login. |
void |
setSoTimeout(int soTimeout)
Sets the so timeout Used only by FTPClient |
void |
setThrowExceptionOnConnectFailed(boolean throwExceptionOnConnectFailed)
Should an exception be thrown if connection failed (exhausted) By default exception is not thrown and a WARN is logged. |
void |
setTimeout(int timeout)
Sets the data timeout for waiting for reply Used only by FTPClient |
void |
setUsername(String username)
|
Methods inherited from class org.apache.camel.component.file.GenericFileConfiguration |
---|
getDirectory, setDirectory, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteFileConfiguration()
public RemoteFileConfiguration(URI uri)
Method Detail |
---|
public boolean needToNormalize()
needToNormalize
in class GenericFileConfiguration
public void configure(URI uri)
configure
in class GenericFileConfiguration
public String remoteServerInformation()
protected abstract void setDefaultPort()
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getPassword()
public void setPassword(String password)
public String getProtocol()
public void setProtocol(String protocol)
public String getUsername()
public void setUsername(String username)
public boolean isBinary()
public void setBinary(boolean binary)
public boolean isPassiveMode()
public void setPassiveMode(boolean passiveMode)
public int getConnectTimeout()
public void setConnectTimeout(int connectTimeout)
public int getTimeout()
public void setTimeout(int timeout)
public int getSoTimeout()
public void setSoTimeout(int soTimeout)
public boolean isThrowExceptionOnConnectFailed()
public void setThrowExceptionOnConnectFailed(boolean throwExceptionOnConnectFailed)
PollingConsumerPollStrategy
rollback method.
public String getSiteCommand()
public void setSiteCommand(String siteCommand)
siteCommand
- the site command(s).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |