Package org.verapdf.core.utils
Class FileOutputMappers
java.lang.Object
org.verapdf.core.utils.FileOutputMappers
Factory for various kinds of
FileOutputMapper
.- Version:
- 0.1 Created 13 Nov 2016:14:07:32
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
Modifier and TypeMethodDescriptionstatic final FileOutputMapper
static final FileOutputMapper
static final FileOutputMapper
Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
sibFiles()
Get aFileOutputMapper
instance that maps output to the same directory as the source with a veraPDF_ prefixstatic final FileOutputMapper
Get aFileOutputMapper
instance that maps output to the same directory as the source with the requested prefixstatic final FileOutputMapper
Get aFileOutputMapper
instance that maps output to the same directory as the source with the requested prefix and suffixstatic final FileOutputMapper
Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
toRelativeDest
(Path src, Path dest) static final FileOutputMapper
toRelativeDest
(Path src, Path dest, String prefix) static final FileOutputMapper
toRelativeDest
(Path src, Path dest, String prefix, String suffix) static final FileOutputMapper
static final FileOutputMapper
static final FileOutputMapper
Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
Get aFileOutputMapper
instance that maps output to the same directory as the source with a veraPDF_ prefixstatic final FileOutputMapper
verSibFiles
(String prefix) Get aFileOutputMapper
instance that maps output to the same directory as the source with the requested prefixstatic final FileOutputMapper
verSibFiles
(String prefix, String suffix) Get aFileOutputMapper
instance that maps output to the same directory as the source with the requested prefix and suffixstatic final FileOutputMapper
verSubFold
(String relativePath) Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
verSubFold
(String relativePath, String prefix) Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapper
verSubFold
(String relativePath, String prefix, String suffix) Maps to a relative subfolder of the original with no prefix or suffix
-
Method Details
-
sibFiles
Get aFileOutputMapper
instance that maps output to the same directory as the source with a veraPDF_ prefix- Returns:
- a new FileOutputMapper
-
verSibFiles
Get aFileOutputMapper
instance that maps output to the same directory as the source with a veraPDF_ prefix- Returns:
- a new FileOutputMapper
-
sibFiles
Get aFileOutputMapper
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
Get aFileOutputMapper
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
Get aFileOutputMapper
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 emptysuffix
- the suffix for generated files, can not be null- Returns:
- a new FileOutputMapper
-
verSibFiles
Get aFileOutputMapper
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 emptysuffix
- the suffix for generated files, can not be null- Returns:
- a new FileOutputMapper
-
subFold
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
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
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 locationprefix
- the prefix for generated files, can not be null or empty- Returns:
- a new FileOutputMapper
-
verSubFold
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 locationprefix
- the prefix for generated files, can not be null or empty- Returns:
- a new FileOutputMapper
-
subFold
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 locationprefix
- the prefix for generated files, can not be null or empty- Returns:
- a new FileOutputMapper
-
verSubFold
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 locationprefix
- the prefix for generated files, can not be null or empty- Returns:
- a new FileOutputMapper
-
toRelativeDest
-
toRelativeDest
-
toRelativeDest
public static final FileOutputMapper toRelativeDest(Path src, Path dest, String prefix, String suffix) -
fold
-
verFold
-
fold
-
verFold
-
fold
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 locationprefix
- the prefix for generated files, can not be null or empty- Returns:
- a new FileOutputMapper
-
verFold
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 locationprefix
- the prefix for generated files, can not be null or empty- Returns:
- a new FileOutputMapper
-