Class SftpEndpointBuilderFactory.SftpHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.SftpEndpointBuilderFactory.SftpHeaderNameBuilder
Enclosing interface:
SftpEndpointBuilderFactory

public static class SftpEndpointBuilderFactory.SftpHeaderNameBuilder extends Object
The builder of headers' name for the SFTP component.
  • Constructor Details

    • SftpHeaderNameBuilder

      public SftpHeaderNameBuilder()
  • Method Details

    • 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.
    • fileNameOnly

      public String 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

      public String 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

      public String 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

      public String 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

      public String 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

      public String 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

      public String fileRelativePath()
      The relative path. The option is a: String type. Group: consumer
      Returns:
      the name of the header FileRelativePath.
    • fileParent

      public String fileParent()
      The parent path. The option is a: String type. Group: common
      Returns:
      the name of the header FileParent.
    • fileNameProduced

      public String 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

      public String 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.
    • fileLocalWorkPath

      public String fileLocalWorkPath()
      Path to the local work file, if local work directory is used. The option is a: String type. Group: consumer
      Returns:
      the name of the header FileLocalWorkPath.
    • remoteFileInputStream

      public String remoteFileInputStream()
      The remote file input stream. The option is a: java.io.InputStream type. Group: consumer
      Returns:
      the name of the header RemoteFileInputStream.
    • fileHost

      public String fileHost()
      The remote hostname. The option is a: String type. Group: consumer
      Returns:
      the name of the header FileHost.
    • 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.