org.novadeck.jxla.data
Class RegexpData

java.lang.Object
  |
  +--org.novadeck.jxla.data.SerializableSimpleData
        |
        +--org.novadeck.jxla.data.SimpleData
              |
              +--org.novadeck.jxla.data.RegexpData
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class RegexpData
extends SimpleData

See Also:
Serialized Form

Field Summary
 java.lang.String compiledRegexp
           
static org.apache.oro.text.regex.PatternCompiler COMPILER
           
static char CROCHET_F
           
static char CROCHET_O
           
static char DAY
           
static char DELIMITER
           
static char DOUBLEPOINT
           
static java.lang.String HOSTNAME
           
static char HOUR
           
static char IDENTIFIER
           
 java.lang.String initialRegexp
           
static java.lang.String LANGUAGE
           
static org.apache.oro.text.regex.PatternMatcher MATCHER
           
static char MONTH
           
static java.lang.String REFERER
           
static java.lang.String REMOTE_HOST
           
static java.lang.String REMOTE_IP
           
static java.lang.String SERVER
           
static java.lang.String SIZE
           
static char SLASH
           
static char SPACE
           
static java.lang.String STATUS
           
static java.lang.String TIME
           
static char TIRET
           
static java.lang.String URI
           
static java.lang.String USER
           
static java.lang.String USER_AGENT
           
static char WILDCARD
           
static char YEAR
           
 
Constructor Summary
RegexpData(java.lang.String s)
           
 
Method Summary
static void addRegexp(RegexpData re)
           
static void displayRegexp()
           
static void dumpCounters()
           
 java.lang.String getAgent()
           
 java.lang.String getCompiledRegexp()
           
 int getDay()
           
 java.lang.String getHost()
           
 int getHour()
           
 java.lang.String getLanguage()
           
static Line getLine(java.lang.String s)
           
 int getMonth()
           
 java.lang.String getReferer()
           
 java.lang.String getRemoteIP()
           
 java.lang.String getServer()
           
 long getSize()
           
 java.lang.String getStatus()
           
 int getTime()
           
 java.lang.String getURI()
           
 java.lang.String getUser()
           
 int getYear()
           
 boolean match(java.lang.String s)
           
static void updateList()
           
 
Methods inherited from class org.novadeck.jxla.data.SimpleData
add, compareTo, getCount, inc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOSTNAME

public static final java.lang.String HOSTNAME
See Also:
Constant Field Values

REMOTE_IP

public static final java.lang.String REMOTE_IP
See Also:
Constant Field Values

REMOTE_HOST

public static final java.lang.String REMOTE_HOST
See Also:
Constant Field Values

USER

public static final java.lang.String USER
See Also:
Constant Field Values

URI

public static final java.lang.String URI
See Also:
Constant Field Values

STATUS

public static final java.lang.String STATUS
See Also:
Constant Field Values

REFERER

public static final java.lang.String REFERER
See Also:
Constant Field Values

USER_AGENT

public static final java.lang.String USER_AGENT
See Also:
Constant Field Values

LANGUAGE

public static final java.lang.String LANGUAGE
See Also:
Constant Field Values

SIZE

public static final java.lang.String SIZE
See Also:
Constant Field Values

TIME

public static final java.lang.String TIME
See Also:
Constant Field Values

SERVER

public static final java.lang.String SERVER
See Also:
Constant Field Values

YEAR

public static final char YEAR
See Also:
Constant Field Values

MONTH

public static final char MONTH
See Also:
Constant Field Values

DAY

public static final char DAY
See Also:
Constant Field Values

HOUR

public static final char HOUR
See Also:
Constant Field Values

WILDCARD

public static final char WILDCARD
See Also:
Constant Field Values

IDENTIFIER

public static final char IDENTIFIER
See Also:
Constant Field Values

DELIMITER

public static final char DELIMITER
See Also:
Constant Field Values

SPACE

public static final char SPACE
See Also:
Constant Field Values

SLASH

public static final char SLASH
See Also:
Constant Field Values

DOUBLEPOINT

public static final char DOUBLEPOINT
See Also:
Constant Field Values

CROCHET_O

public static final char CROCHET_O
See Also:
Constant Field Values

CROCHET_F

public static final char CROCHET_F
See Also:
Constant Field Values

TIRET

public static final char TIRET
See Also:
Constant Field Values

COMPILER

public static org.apache.oro.text.regex.PatternCompiler COMPILER

MATCHER

public static org.apache.oro.text.regex.PatternMatcher MATCHER

initialRegexp

public java.lang.String initialRegexp

compiledRegexp

public java.lang.String compiledRegexp
Constructor Detail

RegexpData

public RegexpData(java.lang.String s)
Method Detail

getCompiledRegexp

public java.lang.String getCompiledRegexp()

match

public boolean match(java.lang.String s)

getHost

public java.lang.String getHost()
Returns:

getRemoteIP

public java.lang.String getRemoteIP()

getUser

public java.lang.String getUser()

getURI

public java.lang.String getURI()

getStatus

public java.lang.String getStatus()

getReferer

public java.lang.String getReferer()

getAgent

public java.lang.String getAgent()

getLanguage

public java.lang.String getLanguage()

getHour

public int getHour()

getSize

public long getSize()

getTime

public int getTime()

getServer

public java.lang.String getServer()

getDay

public int getDay()

getMonth

public int getMonth()

getYear

public int getYear()

addRegexp

public static void addRegexp(RegexpData re)

updateList

public static void updateList()

getLine

public static Line getLine(java.lang.String s)

dumpCounters

public static final void dumpCounters()

displayRegexp

public static final void displayRegexp()