Class FtpEndpointBuilderFactory.FtpHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.FtpEndpointBuilderFactory.FtpHeaderNameBuilder
-
- Enclosing interface:
- FtpEndpointBuilderFactory
public static class FtpEndpointBuilderFactory.FtpHeaderNameBuilder extends Object
The builder of headers' name for the FTP component.
-
-
Constructor Summary
Constructors Constructor Description FtpHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fileHost()
The remote hostname.String
fileLastModified()
A Long value containing the last modified timestamp of the file.String
fileLength()
A long value containing the file size.String
fileLocalWorkPath()
Path to the local work file, if local work directory is used.String
fileName()
Specifies the output file name (relative to the endpoint directory) to be used for the output message when sending to the endpoint.String
fileNameOnly()
Only the file name (the name with no leading paths).String
fileParent()
The parent path.String
ftpReplyCode()
The FTP client reply code.String
ftpReplyString()
The FTP client reply string.String
remoteFileInputStream()
The remote file input stream.
-
-
-
Method Detail
-
fileLength
public String fileLength()
A long value containing the file size. The option is a:long
type. Group: consumer- Returns:
- the name of the header
FileLength
.
-
fileLastModified
public String fileLastModified()
A Long value containing the last modified timestamp of the file. The option is a:long
type. Group: consumer- Returns:
- the name of the header
FileLastModified
.
-
fileName
public String fileName()
Specifies the output file name (relative to the endpoint directory) to be used for the output message when sending to the endpoint. If this is not present and no expression either, then a generated message ID is used as the filename instead. The option is a:String
type. Group: common- Returns:
- the name of the header
FileName
.
-
fileNameOnly
public String fileNameOnly()
Only the file name (the name with no leading paths). The option is a:String
type. Group: common- Returns:
- the name of the header
FileNameOnly
.
-
fileParent
public String fileParent()
The parent path. The option is a:String
type. Group: common- Returns:
- the name of the header
FileParent
.
-
remoteFileInputStream
public String remoteFileInputStream()
The remote file input stream. The option is a:java.io.InputStream
type. Group: common- Returns:
- the name of the header
RemoteFileInputStream
.
-
fileLocalWorkPath
public String fileLocalWorkPath()
Path to the local work file, if local work directory is used. The option is a:String
type. Group: common- Returns:
- the name of the header
FileLocalWorkPath
.
-
ftpReplyCode
public String ftpReplyCode()
The FTP client reply code. The option is a:int
type. Group: common- Returns:
- the name of the header
FtpReplyCode
.
-
ftpReplyString
public String ftpReplyString()
The FTP client reply string. The option is a:String
type. Group: common- Returns:
- the name of the header
FtpReplyString
.
-
fileHost
public String fileHost()
The remote hostname. The option is a:String
type. Group: common- Returns:
- the name of the header
FileHost
.
-
-