com.ibm.portal.spa.parser
Interface FilenameParser

All Superinterfaces:
Disposable

public interface FilenameParser
extends Disposable

Representation of a parser that

Since:
8.5

Method Summary
 void parse(java.lang.String fileName)
          Parses the filename and triggers callbacks on the handler
 FilenameContentHandler setFilenameContentHandler(FilenameContentHandler handler)
          Assigns a new content handler
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

parse

void parse(java.lang.String fileName)
           throws java.io.IOException
Parses the filename and triggers callbacks on the handler

Parameters:
fileName - the filename
Throws:
java.io.IOException

setFilenameContentHandler

FilenameContentHandler setFilenameContentHandler(FilenameContentHandler handler)
Assigns a new content handler

Parameters:
handler - the new handler
Returns:
the previously assigned handler