|
PageMixer demonstration with Struts | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pagemixer.filter.Bootstrap
Template to execute from command line.
Inner Class Summary | |
static class |
Bootstrap.Default
Bootstrap with HTML file parsing. |
Constructor Summary | |
Bootstrap()
|
Method Summary | |
protected abstract jp.ne.dti.lares.foozy.pagemixer.mixer.Producer |
createProducer()
Create producer to produce token stream. |
void |
execute(jp.ne.dti.lares.foozy.pagemixer.mixer.Filter filter)
Do mixing by given filter. |
protected static org.apache.struts.webapp.example.User |
findUser(java.lang.String filename,
java.lang.String username)
Utility to find 'User' object. |
protected static org.apache.struts.webapp.example.User |
getUser(java.lang.String filename,
java.lang.String username)
Utility to find 'User' object. |
protected static jp.ne.dti.lares.foozy.pagemixer.mixer.Producer |
parseFile(java.lang.String filename)
Utility to create token stream producer by HTML file parsing. |
protected void |
prepare(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
Hook to prepare for mixing. |
protected static jp.ne.dti.lares.foozy.pagemixer.mixer.Producer |
readinProducer(java.lang.String filename)
Utility to create token stream producer by read Producer object in. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Bootstrap()
Method Detail |
protected abstract jp.ne.dti.lares.foozy.pagemixer.mixer.Producer createProducer() throws java.io.IOException, java.lang.ClassNotFoundException, jp.ne.dti.lares.foozy.pagemixer.parser.PageParseException
protected void prepare(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context) throws java.lang.Exception
public void execute(jp.ne.dti.lares.foozy.pagemixer.mixer.Filter filter) throws java.lang.Exception
protected static jp.ne.dti.lares.foozy.pagemixer.mixer.Producer parseFile(java.lang.String filename) throws java.io.IOException, jp.ne.dti.lares.foozy.pagemixer.parser.PageParseException
protected static jp.ne.dti.lares.foozy.pagemixer.mixer.Producer readinProducer(java.lang.String filename) throws java.io.IOException, java.lang.ClassNotFoundException
protected static org.apache.struts.webapp.example.User findUser(java.lang.String filename, java.lang.String username) throws java.lang.Exception
filename
- of XML file for MemoryUserDatabase
username
- to be looked upprotected static org.apache.struts.webapp.example.User getUser(java.lang.String filename, java.lang.String username) throws java.lang.Exception
filename
- of XML file for MemoryUserDatabase
username
- to be looked upjava.lang.IllegalArgumentException
- if user is not found in XML
|
PageMixer demonstration with Struts | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |