[opencms-dev] PDF Generation and PDF Cache
Stephan Schrader
zstephanz at gmail.com
Thu Jul 26 14:48:42 CEST 2018
Hi,
in case you haven't found a solution, we use something like:
org.opencms.pdftools.CmsPdfCache cache =
new org.opencms.pdftools.CmsPdfCache();
String repositoryPath = cache.getRepositoryPath()
org.apache.commons.io.FileUtils.cleanDirectory(new File(repositoryPath));
Stephan
Am Mi., 18. Juli 2018 um 10:19 Uhr schrieb Patric Dosch <
patric.dosch at virtual-identity.com>:
> Hello,
>
>
>
> we are using the pdf generation
> https://documentation.opencms.org/opencms-documentation/more-opencms-features/pdf-support/generating-pdf-output/
>
> There is a cache as described in “Technical details“.
>
>
>
> The question now is: Is there a way to empty this cache via a tool in the
> workplace? Or Code?
>
>
>
> Best, Patric
> *Patric Dosch*
> Senior Developer
>
> *Virtual Identity* AG
> Grünwälderstraße 10-14
> 79098 Freiburg
>
> t +49 761 20758-442
> f +49 761 20758-01
>
>
> patric.dosch at virtual-identity.com
> http://www.virtual-identity.com
>
> Freiburg | München | Wien
>
>
>
>
> ------------------------------
>
> Virtual Identity AG
> Grünwälderstraße 10-14
> 79098 Freiburg
> Amtsgericht Freiburg, HRB 6218
> Vorstand: Ralf Heller
> Vorsitzende des Aufsichtsrates: Kirsten Heller
> Umsatzsteuer-ID: DE208002218
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180726/40a4dc5b/attachment.htm>
More information about the opencms-dev
mailing list