PageBoxLib
Class APIKey

java.lang.Object
  extended byPageBoxLib.APIKey

class APIKey
extends java.lang.Object

Key of APIs in APIImpl.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 7
Author:
Alexis Grandemange

Field Summary
private  java.lang.String archDir
          Archive root directory
private  int hc
          Cached hashcode
(package private)  java.lang.String workDir
          PageBox work directory
 
Constructor Summary
(package private) APIKey(java.lang.String workDir, java.lang.String archDir)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Method needed for HashMap key.
 int hashCode()
          Method needed for HashMap key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workDir

java.lang.String workDir
PageBox work directory


archDir

private java.lang.String archDir
Archive root directory


hc

private int hc
Cached hashcode

Constructor Detail

APIKey

APIKey(java.lang.String workDir,
       java.lang.String archDir)
Constructor.

Parameters:
archDir - archive root directory
Method Detail

equals

public boolean equals(java.lang.Object obj)
Method needed for HashMap key.

Returns:
true if objects are equal

hashCode

public int hashCode()
Method needed for HashMap key.

Returns:
hashcode