Class FileConstants

java.lang.Object
org.apache.camel.component.file.FileConstants

public final class FileConstants extends Object
  • Field Details

    • FILE_LENGTH

      @Metadata(label="consumer", description="A `long` value containing the file size.", javaType="long") public static final String FILE_LENGTH
      See Also:
    • FILE_LAST_MODIFIED

      @Metadata(label="consumer", description="A `Long` value containing the last modified timestamp of the file.", javaType="long") public static final String FILE_LAST_MODIFIED
      See Also:
    • FILE_LOCAL_WORK_PATH

      @Metadata(label="producer", description="The local work path", javaType="File") public static final String FILE_LOCAL_WORK_PATH
      See Also:
    • FILE_NAME_ONLY

      @Metadata(label="consumer", description="Only the file name (the name with no leading paths).", javaType="String") public static final String FILE_NAME_ONLY
      See Also:
    • FILE_NAME

      @Metadata(description="(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.", javaType="String") public static final String FILE_NAME
      See Also:
    • FILE_NAME_CONSUMED

      @Metadata(label="consumer", description="The name of the file that has been consumed", javaType="String") public static final String FILE_NAME_CONSUMED
      See Also:
    • FILE_ABSOLUTE

      @Metadata(label="consumer", description="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.", javaType="Boolean") public static final String FILE_ABSOLUTE
      See Also:
    • FILE_ABSOLUTE_PATH

      @Metadata(label="consumer", description="The absolute path to the file. For relative files this path holds the relative path instead.", javaType="String") public static final String FILE_ABSOLUTE_PATH
      See Also:
    • FILE_EXTENDED_ATTRIBUTES

      @Metadata(label="consumer", description="The extended attributes of the file", javaType="Map<String, Object>") public static final String FILE_EXTENDED_ATTRIBUTES
      See Also:
    • FILE_CONTENT_TYPE

      @Metadata(label="consumer", description="The content type of the file", javaType="String") public static final String FILE_CONTENT_TYPE
      See Also:
    • FILE_PATH

      @Metadata(label="consumer", description="The file path. For relative files this is the starting directory. For absolute files this is the absolute path.", javaType="String") public static final String FILE_PATH
      See Also:
    • FILE_RELATIVE_PATH

      @Metadata(label="consumer", description="The relative path.", javaType="String") public static final String FILE_RELATIVE_PATH
      See Also:
    • FILE_PARENT

      @Metadata(description="The parent path.", javaType="String") public static final String FILE_PARENT
      See Also:
    • FILE_NAME_PRODUCED

      @Metadata(label="producer", description="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.", javaType="String") public static final String FILE_NAME_PRODUCED
      See Also:
    • OVERRULE_FILE_NAME

      @Metadata(label="producer", description="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.", javaType="Object") public static final String OVERRULE_FILE_NAME
      See Also:
    • INITIAL_OFFSET

      @Metadata(label="consumer", description="A `long` value containing the initial offset.", javaType="long") public static final String INITIAL_OFFSET
      See Also:
    • DEFAULT_SUB_FOLDER

      public static final String DEFAULT_SUB_FOLDER
      Sub folder used by camel-file as default sub-folder for moving processing file when they are done.
      See Also: