public class SingleOutputDirMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultPrefix |
protected static String |
defaultSuffix |
protected static String |
extSplitter |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
addPrefixAndSuffix(File orig,
FileOutputMapper mapper) |
protected File |
doMapFile(File orig) |
String |
getPrefix() |
String |
getSuffix() |
File |
mapFile(File orig)
Map an original source file to an output file using the getPrefix() as
the file name prefix and get suffix as the suffix.
|
String |
toString() |
protected static final String defaultPrefix
protected static final String defaultSuffix
protected static final String extSplitter
public String getPrefix()
getPrefix in interface FileOutputMapperpublic String getSuffix()
getSuffix in interface FileOutputMapperpublic File mapFile(File orig) throws VeraPDFException
FileOutputMappermapFile in interface FileOutputMapperFile object for the mapped file.VeraPDFException - if there's a problem creating the mapped fileprotected static String addPrefixAndSuffix(File orig, FileOutputMapper mapper)
public String toString()
toString in class ObjectObject.toString()Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.