Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.slide.common
Class Scope  view Scope download Scope.java

java.lang.Object
  extended byorg.apache.slide.common.Scope

public final class Scope
extends java.lang.Object

Scope object.

A scope represents a directory on the server. Ex : /foo/bar.txt belongs to the /foo/ scope.

Version:
$Revision: 1.8 $

Field Summary
static Scope ROOT
           
private  java.lang.String scope
          String representation of the scope.
private  int scopeID
          Hash code of the scope.
 
Constructor Summary
Scope(java.lang.String scope)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests if two scopes ore equal.
 int hashCode()
          Hash code.
 java.lang.String toString()
          Returns the String representation of the scope.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT

public static final Scope ROOT

scopeID

private int scopeID
Hash code of the scope.


scope

private java.lang.String scope
String representation of the scope.

Constructor Detail

Scope

public Scope(java.lang.String scope)
Constructor.

Method Detail

toString

public java.lang.String toString()
Returns the String representation of the scope.


equals

public boolean equals(java.lang.Object obj)
Tests if two scopes ore equal.


hashCode

public int hashCode()
Hash code.