Class ArchiveExtractor.Settings

    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • isDiscardItem

        @Description("If true, this entire Item will be discarded after successful extraction")
        public boolean isDiscardItem()
      • setDiscardItem

        public void setDiscardItem​(boolean discardItem)
      • getContentTypes

        @Description("List of content types to allow - if the detected content type is not on this list, then it will not be treated as an archive. An empty list will cause the processor to try to parse all Files and InputStreams.")
        public List<com.j256.simplemagic.ContentType> getContentTypes()
      • setContentTypes

        public void setContentTypes​(List<com.j256.simplemagic.ContentType> contentTypes)
      • isAcceptNullContentType

        @Description("Determines whether the processor should try to parse Files and InputStreams where the content type cannot be determined")
        public boolean isAcceptNullContentType()
      • setAcceptNullContentType

        public void setAcceptNullContentType​(boolean acceptNullContentType)