com.bigdata.rdf.load
Class RDFFilenameFilter

java.lang.Object
  extended by com.bigdata.rdf.load.RDFFilenameFilter
All Implemented Interfaces:
FilenameFilter, Serializable

public class RDFFilenameFilter
extends Object
implements FilenameFilter, Serializable

Filter recognizes anything that is a registered as an RDFFormat or which would be recognized as such if you stripped off a trailing .zip or .gz filename extension. If it does not recognize your format, then you can create a subclass which ensures the static initialization of your format with RDFFormat. That needs to be done in static code so that it will be performed on the machine where this filter is being used.

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
RDFFilenameFilter()
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final transient org.apache.log4j.Logger log
Constructor Detail

RDFFilenameFilter

public RDFFilenameFilter()
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.