Class FileOutputMappers

    • Method Detail

      • sibFiles

        public static final FileOutputMapper sibFiles()
        Get a FileOutputMapper instance that maps output to the same directory as the source with a veraPDF_ prefix
        Returns:
        a new FileOutputMapper
      • verSibFiles

        public static final FileOutputMapper verSibFiles()
        Get a FileOutputMapper instance that maps output to the same directory as the source with a veraPDF_ prefix
        Returns:
        a new FileOutputMapper
      • sibFiles

        public static final FileOutputMapper sibFiles​(String prefix)
        Get a FileOutputMapper instance that maps output to the same directory as the source with the requested prefix
        Parameters:
        prefix - the requested prefix, can not be null or empty
        Returns:
        a new FileOutputMapper
      • verSibFiles

        public static final FileOutputMapper verSibFiles​(String prefix)
        Get a FileOutputMapper instance that maps output to the same directory as the source with the requested prefix
        Parameters:
        prefix - the requested prefix, can not be null or empty
        Returns:
        a new FileOutputMapper
      • sibFiles

        public static final FileOutputMapper sibFiles​(String prefix,
                                                      String suffix)
        Get a FileOutputMapper instance that maps output to the same directory as the source with the requested prefix and suffix
        Parameters:
        prefix - the prefix for generated files, can not be null or empty
        suffix - the suffix for generated files, can not be null
        Returns:
        a new FileOutputMapper
      • verSibFiles

        public static final FileOutputMapper verSibFiles​(String prefix,
                                                         String suffix)
        Get a FileOutputMapper instance that maps output to the same directory as the source with the requested prefix and suffix
        Parameters:
        prefix - the prefix for generated files, can not be null or empty
        suffix - the suffix for generated files, can not be null
        Returns:
        a new FileOutputMapper
      • subFold

        public static final FileOutputMapper subFold​(String relativePath)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location, can not be null or empty
        Returns:
        a new FileOutputMapper
      • verSubFold

        public static final FileOutputMapper verSubFold​(String relativePath)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location, can not be null or empty
        Returns:
        a new FileOutputMapper
      • subFold

        public static final FileOutputMapper subFold​(String relativePath,
                                                     String prefix)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location
        prefix - the prefix for generated files, can not be null or empty
        Returns:
        a new FileOutputMapper
      • verSubFold

        public static final FileOutputMapper verSubFold​(String relativePath,
                                                        String prefix)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location
        prefix - the prefix for generated files, can not be null or empty
        Returns:
        a new FileOutputMapper
      • subFold

        public static final FileOutputMapper subFold​(String relativePath,
                                                     String prefix,
                                                     String suffix)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location
        prefix - the prefix for generated files, can not be null or empty
        Returns:
        a new FileOutputMapper
      • verSubFold

        public static final FileOutputMapper verSubFold​(String relativePath,
                                                        String prefix,
                                                        String suffix)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location
        prefix - the prefix for generated files, can not be null or empty
        Returns:
        a new FileOutputMapper
      • fold

        public static final FileOutputMapper fold​(String path,
                                                  String prefix,
                                                  String suffix)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location
        prefix - the prefix for generated files, can not be null or empty
        Returns:
        a new FileOutputMapper
      • verFold

        public static final FileOutputMapper verFold​(String path,
                                                     String prefix,
                                                     String suffix)
        Maps to a relative subfolder of the original with no prefix or suffix
        Parameters:
        relativePath - the relative path to the results folder from the original source file location
        prefix - the prefix for generated files, can not be null or empty
        Returns:
        a new FileOutputMapper