com.ibm.portal.spa.parser
Interface StaticPageZipParser

All Superinterfaces:
Disposable, com.ibm.portal.spa.parser.StaticPageEntryFilter, StaticPageFilter

public interface StaticPageZipParser
extends StaticPageFilter, com.ibm.portal.spa.parser.StaticPageEntryFilter

Parses a ZipInputStream for all entries that match the (locale independent) filename pattern and produces callbacks to the assigned StaticPageContentHandler. These callbacks will only contain the instances defined in the markup files in the ZIP and represent the merged set of these instances. If a StaticPageFileHandler has been assigned, it will receive callbacks for all accepted entries in the ZIP.

Since:
6.1.0

Method Summary
 void parse(java.lang.String fileName, java.util.zip.ZipInputStream in)
          Parse a file inside of a ZipInputStream.
 
Methods inherited from interface com.ibm.portal.spa.parser.StaticPageFilter
getStaticPageContentHandler, setStaticPageContentHandler
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 
Methods inherited from interface com.ibm.portal.spa.parser.StaticPageEntryFilter
getStaticPageEntryHandler, setStaticPageEntryHandler
 

Method Detail

parse

void parse(java.lang.String fileName,
           java.util.zip.ZipInputStream in)
           throws java.io.IOException
Parse a file inside of a ZipInputStream.

Parameters:
in - the ZIP input stream that contains the files
Throws:
java.io.IOException - - if an IO exception occurs