|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.trialdb4o.CachedPage
public class CachedPage
Copyright (C) 2006 Claudio Nieder <private@claudio.ch>, CH-8610 Uster
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Field Summary | |
---|---|
int |
priority
|
Constructor Summary | |
---|---|
CachedPage(java.lang.String urlArg,
byte[] contentArg,
int priorityArg)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
byte[] |
getContent()
|
java.lang.String |
getUrl()
|
int |
hashCode()
|
boolean |
isFetched()
|
boolean |
isNotFetched()
|
static void |
main(java.lang.String[] args)
Print license. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int priority
Constructor Detail |
---|
public CachedPage(java.lang.String urlArg, byte[] contentArg, int priorityArg)
urlArg
- contentArg
- priorityArg
- Method Detail |
---|
public byte[] getContent()
public java.lang.String getUrl()
public boolean isFetched()
public boolean isNotFetched()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public static void main(java.lang.String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |