Class TextWatermarker
- java.lang.Object
-
- org.nuxeo.importer.stream.consumer.watermarker.AbstractWatermarker
-
- org.nuxeo.importer.stream.consumer.watermarker.TextWatermarker
-
- All Implemented Interfaces:
Watermarker
public class TextWatermarker extends AbstractWatermarker
Append the watermark at the end of text file- Since:
- 10.2
-
-
Constructor Summary
Constructors Constructor Description TextWatermarker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
addWatermark(Path inputFile, Path outputDir, String watermark)
Creates a new file based on the input file by adding a watermark-
Methods inherited from class org.nuxeo.importer.stream.consumer.watermarker.AbstractWatermarker
getOutputPath
-
-
-
-
Method Detail
-
addWatermark
public Path addWatermark(Path inputFile, Path outputDir, String watermark)
Description copied from interface:Watermarker
Creates a new file based on the input file by adding a watermark- Parameters:
inputFile
- the source fileoutputDir
- the directory to write the output filewatermark
- the watermark string to use- Returns:
- the path of the watermarked file
-
-