com.voidsearch.voidbase.apps.feedq.resource
Class ResourceEntry

java.lang.Object
  extended by com.voidsearch.voidbase.apps.feedq.resource.ResourceEntry

public class ResourceEntry
extends java.lang.Object


Constructor Summary
ResourceEntry()
           
 
Method Summary
 boolean equals(ResourceEntry entry)
           
 java.lang.String get(java.lang.String key)
          get given content tag
 long getID()
           
 long getResourceHash()
          get hash of the resource content
 void put(java.lang.String key, java.lang.String value)
          add a tag value to resource content
 java.lang.String toString()
          render a simple representation of entry content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceEntry

public ResourceEntry()
Method Detail

put

public void put(java.lang.String key,
                java.lang.String value)
add a tag value to resource content

Parameters:
key -
value -

get

public java.lang.String get(java.lang.String key)
get given content tag

Parameters:
key -
Returns:

toString

public java.lang.String toString()
render a simple representation of entry content

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

getResourceHash

public long getResourceHash()
get hash of the resource content

Returns:

equals

public boolean equals(ResourceEntry entry)

getID

public long getID()


Copyright © 2009. All Rights Reserved.