org.aksw.commons.util.validation
Class UrlValidatorCached

java.lang.Object
  extended by org.aksw.commons.util.validation.UrlValidatorCached

public class UrlValidatorCached
extends Object

A wrapper for the apache UrlValidator which caches results in a least-recently-used (LRU) map.

Author:
Claus Stadler

Constructor Summary
UrlValidatorCached()
           
UrlValidatorCached(int cacheSize)
           
 
Method Summary
 boolean isValid(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlValidatorCached

public UrlValidatorCached()

UrlValidatorCached

public UrlValidatorCached(int cacheSize)
Method Detail

isValid

public boolean isValid(String uri)


Copyright © 2012. All Rights Reserved.