Class AppLayoutSourceFile

    • Constructor Detail

      • AppLayoutSourceFile

        public AppLayoutSourceFile()
    • Method Detail

      • getLayoutAsStream

        protected java.io.InputStream getLayoutAsStream​(java.lang.String filePath)
                                                 throws WebTransformException
        Description copied from class: LayoutSourceFile
        Returns an InputStream for reading the layout XHTML at the specified layout location. The default implementation takes the input parameter location as a full path to a physical file in your local disk.
        Overrides:
        getLayoutAsStream in class LayoutSourceFile
        Parameters:
        filePath - the layout location, defined in the StyleCatalog XML file.
        Returns:
        the input stream, which must be not null, for reading layout XHTML
        Throws:
        WebTransformException - thrown if there is error when reading the layout.