Class FilesEndpointBuilderFactory.FilesHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.FilesEndpointBuilderFactory.FilesHeaderNameBuilder
- Enclosing interface:
FilesEndpointBuilderFactory
The builder of headers' name for the Azure Files component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA boolean option specifying whether the consumed file denotes an absolute path or not.The absolute path to the file.fileHost()
The remote hostname.A Long value containing the last modified timestamp of the file.A long value containing the file size.Path to the local work file, if local work directory is used.fileName()
(producer) Specifies the name of the file to write (relative to the endpoint directory).The name of the file that has been consumed.Only the file name (the name with no leading paths).The actual absolute filepath (path name) for the output file that was written.The parent path.filePath()
The file path.The relative path.Is used for overruling CamelFileName header and use the value instead (but only once, as the producer will remove this header after writing the file).The remote file input stream.
-
Constructor Details
-
FilesHeaderNameBuilder
public FilesHeaderNameBuilder()
-
-
Method Details
-
fileLength
A long value containing the file size. The option is a:long
type. Group: consumer- Returns:
- the name of the header
FileLength
.
-
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
.
-
fileNameOnly
Only the file name (the name with no leading paths). The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileNameOnly
.
-
fileName
(producer) Specifies the name of the file to write (relative to the endpoint directory). This name can be a String; a String with a file or simple Language expression; or an Expression object. If it's null then Camel will auto-generate a filename based on the message unique ID. (consumer) Name of the consumed file as a relative file path with offset from the starting directory configured on the endpoint. The option is a:String
type. Group: common- Returns:
- the name of the header
FileName
.
-
fileNameConsumed
The name of the file that has been consumed. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileNameConsumed
.
-
fileAbsolute
A boolean option specifying whether the consumed file denotes an absolute path or not. Should normally be false for relative paths. Absolute paths should normally not be used but we added to the move option to allow moving files to absolute paths. But can be used elsewhere as well. The option is a:Boolean
type. Group: consumer- Returns:
- the name of the header
FileAbsolute
.
-
fileAbsolutePath
The absolute path to the file. For relative files this path holds the relative path instead. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileAbsolutePath
.
-
filePath
The file path. For relative files this is the starting directory. For absolute files this is the absolute path. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FilePath
.
-
fileRelativePath
The relative path. The option is a:String
type. Group: consumer- Returns:
- the name of the header
FileRelativePath
.
-
fileParent
The parent path. The option is a:String
type. Group: common- Returns:
- the name of the header
FileParent
.
-
fileNameProduced
The actual absolute filepath (path name) for the output file that was written. This header is set by Camel and its purpose is providing end-users with the name of the file that was written. The option is a:String
type. Group: producer- Returns:
- the name of the header
FileNameProduced
.
-
overruleFileName
Is used for overruling CamelFileName header and use the value instead (but only once, as the producer will remove this header after writing the file). The value can be only be a String. Notice that if the option fileName has been configured, then this is still being evaluated. The option is a:Object
type. Group: producer- Returns:
- the name of the header
OverruleFileName
.
-
remoteFileInputStream
The remote file input stream. The option is a:java.io.InputStream
type. Group: common- Returns:
- the name of the header
RemoteFileInputStream
.
-
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
.
-
fileHost
The remote hostname. The option is a:String
type. Group: common- Returns:
- the name of the header
FileHost
.
-