Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mortbay.cometd
Class ChannelPattern

    java.lang.Object
      org.mortbay.cometd.ChannelPattern

    public class ChannelPattern

extends Object

Channel Pattern A string matcher that matches channel name as follows:

###

###

###

###

###

      /channel/name     - absolute match
      /channel,/other   - coma separated list of patterns
      /foo*bah/blah     - wild card not including /
      /foo**bah         - wild card including /

    Author:
      gregw

    Constructor Summary

    ChannelPattern(String pattern)

    Method Summary

     boolean
    equals(Object obj)

     int
    hashCode()

     boolean
    matches(String channel)

     String
    toString()

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Constructor Detail

    ChannelPattern

    public ChannelPattern(String pattern)

    Method Detail

    matches

    public boolean matches(String channel)

    equals

    public boolean equals(Object obj)

    Overrides:equals in class Object

    hashCode

    public int hashCode()

    Overrides:hashCode in class Object

    toString

    public String toString()

    Overrides:toString in class Object

          Overview
          Package
        Class
          Use
          Tree
          Deprecated
          Index
          Help

     PREV CLASS
     NEXT CLASS

      FRAMES
     NO FRAMES

      SUMMARY: NESTED | FIELD | CONSTR | METHOD

    DETAIL: FIELD | CONSTR | METHOD

    Copyright © 2007 Mort Bay Consulting. All Rights Reserved.