A C D E G H I O P S T

A

addDuplicate(URI) - Method in class org.nnsoft.sameas4j.Equivalence
Adds an equivalent URI.
addEquivalence(Equivalence) - Method in class org.nnsoft.sameas4j.EquivalenceList
Add a new Equivalence into the list.

C

Cache - Interface in org.nnsoft.sameas4j.cache
Simple cache interface for sameas service.
CacheKey - Class in org.nnsoft.sameas4j.cache
The Cache key representation.
CacheKey(String, long) - Constructor for class org.nnsoft.sameas4j.cache.CacheKey
Creates a new Cache key instance.
createNew() - Static method in class org.nnsoft.sameas4j.DefaultSameAsServiceFactory
Creates a new SameAsService instance.

D

DefaultSameAsServiceFactory - Class in org.nnsoft.sameas4j
Default factory class to build a concrete implementation of SameAsService.

E

equals(Object) - Method in class org.nnsoft.sameas4j.cache.CacheKey
equals(Object) - Method in class org.nnsoft.sameas4j.Equivalence
Equivalence - Class in org.nnsoft.sameas4j
This class models an equivalence.
Equivalence(URI) - Constructor for class org.nnsoft.sameas4j.Equivalence
Creates a new Equivalence instance by the requested URI.
Equivalence(URL) - Constructor for class org.nnsoft.sameas4j.Equivalence
Creates a new Equivalence instance by the requested URL.
EquivalenceList - Class in org.nnsoft.sameas4j
Represents an Equivalence list.
EquivalenceList() - Constructor for class org.nnsoft.sameas4j.EquivalenceList
 

G

get(CacheKey, Class<T>) - Method in interface org.nnsoft.sameas4j.cache.Cache
Retrieves an object from the cache.
get(CacheKey, Class<T>) - Method in class org.nnsoft.sameas4j.cache.InMemoryCache
Retrieves an object from the cache.
getAmount() - Method in class org.nnsoft.sameas4j.Equivalence
Returns the number of equivalent URIs.
getDuplicates(URI) - Method in interface org.nnsoft.sameas4j.SameAsService
It returns a set of URI identifying equivalent resources to the input URI.
getDuplicates(String) - Method in interface org.nnsoft.sameas4j.SameAsService
It returns a list of Equivalence objects identifying equivalent URI for every possible co-reference match.
getLastModified() - Method in class org.nnsoft.sameas4j.cache.CacheKey
Returns the sameas service "Last-modified" header.
getService() - Method in class org.nnsoft.sameas4j.cache.CacheKey
Returns the sameas service.
getSingletonInstance() - Static method in class org.nnsoft.sameas4j.DefaultSameAsServiceFactory
Returns the singleton SameAsService instance.
getUri() - Method in class org.nnsoft.sameas4j.Equivalence
Returns the requested URI.

H

hashCode() - Method in class org.nnsoft.sameas4j.cache.CacheKey
hashCode() - Method in class org.nnsoft.sameas4j.Equivalence

I

InMemoryCache - Class in org.nnsoft.sameas4j.cache
An in-memory based Cache implementation.
InMemoryCache() - Constructor for class org.nnsoft.sameas4j.cache.InMemoryCache
 
iterator() - Method in class org.nnsoft.sameas4j.Equivalence
iterator() - Method in class org.nnsoft.sameas4j.EquivalenceList

O

org.nnsoft.sameas4j - package org.nnsoft.sameas4j
Contains sameas.org client implementation.
org.nnsoft.sameas4j.cache - package org.nnsoft.sameas4j.cache
Simple cache APIs to store sameas.org results.

P

put(CacheKey, T) - Method in interface org.nnsoft.sameas4j.cache.Cache
Add a new entry in the cache.
put(CacheKey, T) - Method in class org.nnsoft.sameas4j.cache.InMemoryCache
Add a new entry in the cache.

S

SameAsService - Interface in org.nnsoft.sameas4j
It models the methods that a sameas.org client must expose.
SameAsServiceException - Exception in org.nnsoft.sameas4j
Raised when an error occurs within SameAsService.
SameAsServiceException(String) - Constructor for exception org.nnsoft.sameas4j.SameAsServiceException
Constructs a new SameAsServiceException with the specified detail message.
SameAsServiceException(String, Exception) - Constructor for exception org.nnsoft.sameas4j.SameAsServiceException
Constructs a new exception with the specified detail message and cause.
setCache(Cache) - Method in interface org.nnsoft.sameas4j.SameAsService
 
size() - Method in class org.nnsoft.sameas4j.EquivalenceList
Return the number of Equivalence found.

T

toString() - Method in class org.nnsoft.sameas4j.cache.CacheKey
toString() - Method in class org.nnsoft.sameas4j.Equivalence
toString() - Method in class org.nnsoft.sameas4j.EquivalenceList

A C D E G H I O P S T

Copyright © 2009-2012 99 Software Foundation. All Rights Reserved.