Class PrefilteredContent

    • Constructor Detail

      • PrefilteredContent

        protected PrefilteredContent​(String name)
      • PrefilteredContent

        protected PrefilteredContent​(String name,
                                     String... filterableParameters)
    • Method Detail

      • writeTo

        public abstract void writeTo​(OutputStream os,
                                     @NonNull
                                     ContentFilter filter)
                              throws IOException
        Write the component in the bundle filtering the content
        Parameters:
        os - OutputStream where write the content
        filter - ContentFilter to apply
        Throws:
        IOException - If an input or output exception occurs
      • shouldBeFiltered

        public final boolean shouldBeFiltered()
        Description copied from class: Content
        Indicates if this Content should be filtered when anonymization is enabled. When true, the contents written via Content.writeTo(OutputStream) may be filtered by a ContentFilter. When false, the contents are written without any filtering applied.
        Overrides:
        shouldBeFiltered in class Content