edu.washington.cs.supple.net
Class DirectoryEntry

java.lang.Object
  extended byedu.washington.cs.supple.net.DirectoryEntry

public class DirectoryEntry
extends java.lang.Object

DirectoryEntry represents a reference to a networked resource, such as a remote application or remote solver.

Author:
dbc1

Field Summary
static int TYPE_APPLICATION
           
static int TYPE_DIRECTORY
           
static int TYPE_SOLVER
           
 
Constructor Summary
DirectoryEntry(java.lang.String name, int type, java.lang.String url)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getIndex()
           
 java.lang.String getName()
           
 int getType()
           
 java.lang.String getUrl()
           
 int hashCode()
           
 boolean isApplication()
           
 boolean isDirectory()
           
 boolean isSolver()
           
 DirectoryEntry[] list()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_DIRECTORY

public static final int TYPE_DIRECTORY
See Also:
Constant Field Values

TYPE_APPLICATION

public static final int TYPE_APPLICATION
See Also:
Constant Field Values

TYPE_SOLVER

public static final int TYPE_SOLVER
See Also:
Constant Field Values
Constructor Detail

DirectoryEntry

public DirectoryEntry(java.lang.String name,
                      int type,
                      java.lang.String url)
Method Detail

getName

public java.lang.String getName()

getType

public int getType()

getUrl

public java.lang.String getUrl()

isApplication

public boolean isApplication()

isSolver

public boolean isSolver()

isDirectory

public boolean isDirectory()

list

public DirectoryEntry[] list()
                      throws java.lang.Exception
Throws:
java.lang.Exception

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getIndex

public java.lang.String getIndex()

toString

public java.lang.String toString()