public class TextWatermarker extends AbstractWatermarker
Constructor and Description |
---|
TextWatermarker() |
Modifier and Type | Method and Description |
---|---|
Path |
addWatermark(Path inputFile,
Path outputDir,
String watermark)
Creates a new file based on the input file by adding a watermark
|
getOutputPath
public TextWatermarker()
public Path addWatermark(Path inputFile, Path outputDir, String watermark)
Watermarker
inputFile
- the source fileoutputDir
- the directory to write the output filewatermark
- the watermark string to useCopyright © 2018 Nuxeo. All rights reserved.