org.graphstream.algorithm.generator
Interface URLGenerator.URLFilter

Enclosing class:
URLGenerator

public static interface URLGenerator.URLFilter

Defines url filter.


Method Summary
 boolean accept(String url)
          Called by the generator to know if the specified url can be accepted by this filter.
 

Method Detail

accept

boolean accept(String url)
Called by the generator to know if the specified url can be accepted by this filter. If a filter return false, then the url is discarded.

Parameters:
url - the url to check if it can be accepted
Returns:
true if the url is accepted


Copyright © 2012. All Rights Reserved.