PageMixer demonstration

pagemixer.filter
Class AlreadyLoginFilter

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
        |
        +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
              |
              +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceHybridFilter
                    |
                    +--pagemixer.filter.AlreadyLoginFilter
All Implemented Interfaces:
AuthConstants, jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer

public class AlreadyLoginFilter
extends jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceHybridFilter
implements AuthConstants

Filter to process token sequence between '<span class="Auth-AlreadyLogin">' and '</span>'.

This filter finds token sequence between '<span class="Auth-AlreadyLogin">' and '</span>', then passes it to filter pipeline consiting of below filters.

See main(java.lang.String[]) to use as stand-alone application.


Inner Class Summary
static class AlreadyLoginFilter.Trim
          Filter to trim whole token sequence if "not yet login".
 
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory
 
Fields inherited from interface common.AuthConstants
CLASS_ALREADY_LOGIN, CLASS_FAREWELL, CLASS_INVALID_PASSWORD, CLASS_LOGIN_REQUIRED, CLASS_NOT_YET_LOGIN, CLASS_USER_UNKNOWN, CLASS_USERNAME, CLASS_WELCOME, PARAM_LOGIN, PARAM_LOGIN_REQUEST, PARAM_LOGOUT_REQUEST, PARAM_PASSWORD, PARAM_USERNAME, REQUEST_FAREWELL, REQUEST_WELCOME, SESSION_LOGIN
 
Constructor Summary
AlreadyLoginFilter(java.lang.Object keyLogin)
          Create filter to process token sequence between '<span class="Auth-AlreadyLogin">' and '</span>'.
 
Method Summary
static void main(java.lang.String[] args)
          Invoke as stand-alone application.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceHybridFilter
afterLast, getFilter, onFirst, onInside, onLast
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
beforeFirst, consume, flush
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
addCleanup, clear, connectTo, getConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlreadyLoginFilter

public AlreadyLoginFilter(java.lang.Object keyLogin)
Create filter to process token sequence between '<span class="Auth-AlreadyLogin">' and '</span>'.
Method Detail

main

public static void main(java.lang.String[] args)
Invoke as stand-alone application.
USAGE:java pagemixer.filter.AlreadyLoginFilter InputFilename [NameOfLoginUser]

Please see description of pagemixer.filter about class path requirement to execute this class.


PageMixer demonstration