Class ArchiveContentTransformer

  • All Implemented Interfaces:
    ContentWorker, ContentTransformer, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class ArchiveContentTransformer
    extends TikaPoweredContentTransformer
    This class transforms archive files (zip, tar etc) to text, which enables indexing and searching of archives as well as webpreviewing. The transformation can simply list the names of the entries within the archive, or it can also include the textual content of the entries themselves. The former is suggested for web preview, the latter for indexing. This behaviour is controlled by the recurse flag.
    Since:
    3.4
    Author:
    Neil McErlean, Nick Burch
    • Field Detail

      • SUPPORTED_MIMETYPES

        public static ArrayList<String> SUPPORTED_MIMETYPES
        We support all the archive mimetypes that the Tika package parser can handle
    • Constructor Detail

      • ArchiveContentTransformer

        public ArchiveContentTransformer()