JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.util.filter
Interface Filter<T>

All Known Subinterfaces:
FileFilter
All Known Implementing Classes:
AbstractFileFilter, EndingFileFilter, FilenameFileFilter, GlobFileFilter, RegexFileFilter

public interface Filter<T>

This interface servers as a common interface for filters.

Author:
Christian Hujer

Nested Class Summary
static class Filter.Factory
          Factory for useful filters.
 
Method Summary
 boolean accept(T o)
          Tests whether or not the specified object should be included.
 

Method Detail

accept

boolean accept(T o)
Tests whether or not the specified object should be included.

Parameters:
o - object to be tested
Returns:
true if and only if o should be included

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright