Package org.jpedal.render.output.io
Interface CustomIO
public interface CustomIO
Interface used in PDFtoHTML5Converter and PDF2SVGConverter for controlling the file output to disk. All files are
written to disk via this API.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelPage
(String dirToFlush) void
createBase64ImageStream
(BufferedImage image, ImageFileType imageFileType) getImageTypeUsed
(ImageType imageType) void
setCompressImages
(boolean compressImages) void
writeFileFromStream
(String rootDir, String path, InputStream is) void
void
writeGZIPCompressedFile
(String rootDir, String path, StringBuilder content) void
writeImage
(String rootDir, String path, BufferedImage image, ImageType imageType) void
writePlainTextAppendedFile
(String rootDir, String path, StringBuilder content, boolean append) void
writePlainTextFile
(String rootDir, String path, StringBuilder content)
-
Method Details
-
writeFileFromStream
-
writeFont
-
writePlainTextFile
-
writeGZIPCompressedFile
-
writePlainTextAppendedFile
-
setCompressImages
void setCompressImages(boolean compressImages) -
writeImage
-
getImageTypeUsed
-
completeDocument
void completeDocument() -
createBase64ImageStream
-
cancelPage
-