Class PortalStudioMarkupResourceStream

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, org.apache.wicket.util.io.IClusterable, org.apache.wicket.util.resource.IFixedLocationResourceStream, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.watch.IModifiable

    public class PortalStudioMarkupResourceStream
    extends LayoutFileMarkupResourceStream
    MarkupResourceStream implementation used to tag a markup resource stream as being used for the Portal Studio.
    Since:
    6.0.0
    Version:
    $Revision: 16037 $ $Date: 2013-11-21 20:58:50 -0200 (Thu, 21 Nov 2013) $
    See Also:
    Serialized Form
    • Constructor Detail

      • PortalStudioMarkupResourceStream

        public PortalStudioMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                                org.apache.wicket.MarkupContainer container,
                                                Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
        Creates a new PortalStudioMarkupResourceStream wrapping an existing resource stream.
        Parameters:
        resourceStream - the resource stream.
        Since:
        7.1.0
    • Method Detail

      • close

        public void close()
                   throws IOException
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface org.apache.wicket.util.resource.IResourceStream
        Overrides:
        close in class org.apache.wicket.markup.MarkupResourceStream
        Throws:
        IOException
      • getInputStream

        public InputStream getInputStream()
                                   throws org.apache.wicket.util.resource.ResourceStreamNotFoundException
        Specified by:
        getInputStream in interface org.apache.wicket.util.resource.IResourceStream
        Overrides:
        getInputStream in class org.apache.wicket.markup.MarkupResourceStream
        Throws:
        org.apache.wicket.util.resource.ResourceStreamNotFoundException