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 FileOutputMapperstatic final FileOutputMapperstatic final FileOutputMapperMaps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMappersibFiles()Get aFileOutputMapperinstance that maps output to the same directory as the source with a veraPDF_ prefixstatic final FileOutputMapperGet aFileOutputMapperinstance that maps output to the same directory as the source with the requested prefixstatic final FileOutputMapperGet aFileOutputMapperinstance that maps output to the same directory as the source with the requested prefix and suffixstatic final FileOutputMapperMaps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapperMaps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapperMaps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMappertoRelativeDest(Path src, Path dest) static final FileOutputMappertoRelativeDest(Path src, Path dest, String prefix) static final FileOutputMappertoRelativeDest(Path src, Path dest, String prefix, String suffix) static final FileOutputMapperstatic final FileOutputMapperstatic final FileOutputMapperMaps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapperGet aFileOutputMapperinstance that maps output to the same directory as the source with a veraPDF_ prefixstatic final FileOutputMapperverSibFiles(String prefix) Get aFileOutputMapperinstance that maps output to the same directory as the source with the requested prefixstatic final FileOutputMapperverSibFiles(String prefix, String suffix) Get aFileOutputMapperinstance that maps output to the same directory as the source with the requested prefix and suffixstatic final FileOutputMapperverSubFold(String relativePath) Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapperverSubFold(String relativePath, String prefix) Maps to a relative subfolder of the original with no prefix or suffixstatic final FileOutputMapperverSubFold(String relativePath, String prefix, String suffix) Maps to a relative subfolder of the original with no prefix or suffix
-
Method Details
-
sibFiles
Get aFileOutputMapperinstance that maps output to the same directory as the source with a veraPDF_ prefix- Returns:
- a new FileOutputMapper
-
verSibFiles
Get aFileOutputMapperinstance that maps output to the same directory as the source with a veraPDF_ prefix- Returns:
- a new FileOutputMapper
-
sibFiles
Get aFileOutputMapperinstance 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 aFileOutputMapperinstance 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 aFileOutputMapperinstance 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 aFileOutputMapperinstance 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:
path- 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
-