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

## com.ibm.awb.misc
Class PortPattern

    java.lang.Object
      |
      +--com.ibm.awb.misc.PortPattern

public class PortPattern
extends java.lang.Object

The `PortPattern` class represents a range of ports permitted to access.

Version:
  1.00 $Date: 2001/07/28 06:33:21 $
Author:
  ONO Kouichi

Constructor Summary
`PortPattern()`
`PortPattern(int port)`
`PortPattern(java.lang.String pattern)`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`boolean` | `equals(PortPattern ppat)`
`int` | `getFromPort()`
`int` | `getToPort()`
`boolean` | `isMatch(int port)`
`boolean` | `isSinglePort()`
`static void` | `main(java.lang.String[] arg)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PortPattern

    public PortPattern()

### PortPattern

    public PortPattern(int port)

### PortPattern

    public PortPattern(java.lang.String pattern)

Method Detail

### equals

    public boolean equals(PortPattern ppat)

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

### getFromPort

    public int getFromPort()

### getToPort

    public int getToPort()

### isMatch

    public boolean isMatch(int port)

### isSinglePort

    public boolean isSinglePort()

### main

    public static void main(java.lang.String[] arg)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

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