Holger's
Java API

Uses of Interface
com.antelmann.util.Filter

Packages that use Filter
com.antelmann.calendar This package contains classes for implementing calendar and time related solutions. 
com.antelmann.cddb This package contains classes to maintain music CD collections and associate CDs with information from a CDDB service. 
com.antelmann.imagedb This package contains classes implementing a database for images. 
com.antelmann.io This package contains classes that are concerned with input/output operations. 
com.antelmann.mgmt This package contains generally useful classes for business management. 
com.antelmann.net The classes in this package are designed to provide convenient access to Internet related functionality. 
com.antelmann.sql This package contains classes to ease JDBC development. 
com.antelmann.timeregister This package contains classes that implement a time register solution for a small business. 
com.antelmann.util This package contains general utility classes that are used throughout the other packages. 
com.antelmann.util.logging This package contains classes that implement a custom logging for this framework - separate from java.util.logging. 
 

Uses of Filter in com.antelmann.calendar
 

Methods in com.antelmann.calendar with parameters of type Filter
 Collection<Alert> SQLCalendarDB.getAlerts(Filter<Alert> filter)
           
 Collection<Alert> FileCalendarDB.getAlerts(Filter<Alert> filter)
           
 Collection<Alert> CalendarDB.getAlerts(Filter<Alert> filter)
           
 Collection<CalendarEntry> SQLCalendarDB.getEntries(Filter<CalendarEntry> filter)
           
 Collection<CalendarEntry> FileCalendarDB.getEntries(Filter<CalendarEntry> filter)
           
 Collection<CalendarEntry> CalendarDB.getEntries(Filter<CalendarEntry> filter)
           
 

Constructors in com.antelmann.calendar with parameters of type Filter
SQLCalendarEntryIterator(SQLCalendarDB db, Filter<CalendarEntry> filter)
           
SQLCalendarEntryIterator(SQLCalendarDB db, ResultSet set, Filter<CalendarEntry> filter, boolean closeOnEnd)
          the ResultSet as well as the creating Statement are both closed only if closeOnEnd is true
 

Uses of Filter in com.antelmann.cddb
 

Methods in com.antelmann.cddb with parameters of type Filter
 Set<Composition> CompositionDB.getView(Filter<Composition> filter)
          returns an unmodifiable view of the embedded compositions
 

Uses of Filter in com.antelmann.imagedb
 

Methods in com.antelmann.imagedb with parameters of type Filter
 Collection<ImageHolder> SQLImageDB.getImageHolders(Filter<ImageHolder> filter, ImageHolder.Field... fields)
           
 Collection<ImageHolder> ImageDB.getImageHolders(Filter<ImageHolder> filter, ImageHolder.Field... fields)
          retrieves a collection of ImageHolder objects; note that the returned ImageHolder objects may not contain more than the ID, initially.
 

Uses of Filter in com.antelmann.io
 

Classes in com.antelmann.io that implement Filter
 class ExtensionFileFilter
          ExtensionFileFilter is a flexible multi-purpose FileFilter.
 

Uses of Filter in com.antelmann.mgmt
 

Classes in com.antelmann.mgmt that implement Filter
 class SimpleEntityFilter<T extends Entity>
          filters on the properties of an entity based on simple equality of key/value pairs.
 

Methods in com.antelmann.mgmt with parameters of type Filter
<T extends Resource>
ArrayList<T>
AbstractDatabase.fetch(Class<T> c, Filter<T> filter)
           
 Enumeration<T> DBClassStore.fetch(Filter<T> filter)
          filter may be null, in which case all entries from are returned.
static int JPasswordChangeForm.showDialog(Component parent, User user, Filter<String> passwordValidator)
          displays a dialog and returns either CHANGED or UNCHANGED, indicating whether the password on the user was actually changed.
 

Constructors in com.antelmann.mgmt with parameters of type Filter
JPasswordChangeForm(User user, Filter<String> passwordValidator)
           
 

Uses of Filter in com.antelmann.net
 

Methods in com.antelmann.net with parameters of type Filter
 Enumeration<ServerLogEntry> ServerLogFile.getServerLogEntryEnumerator(Filter<ServerLogEntry> filter)
           
 Enumeration<ServerLogEntry> ServerLog.getServerLogEntryEnumerator(Filter<ServerLogEntry> filter)
          returns an Enumeration of all ServerLogEntry objects that are accepted by the given filter or all ServerLogEntries if the filter is null.
 Map<String,Integer> ServerLogAnalyzer.refererDomainCount(Filter<ServerLogEntry> filter)
          returns a map with the key elements being Strings denoting the referer domain name and the mapped value (an Integer) denoting the count.
 Map<String,Integer> ServerLogAnalyzer.refererHostCount(Filter<ServerLogEntry> filter)
          returns a map with the key elements being Strings denoting the referer host name and the mapped value (an Integer) denoting the count.
 

Constructors in com.antelmann.net with parameters of type Filter
ServerLogFile.ServerLogEntryEnumerator(Filter<ServerLogEntry> filter)
           
 

Uses of Filter in com.antelmann.sql
 

Methods in com.antelmann.sql with parameters of type Filter
 AbstractIterator<T> JDBCRowProxy.fetch(Filter<T> filter)
          if the iteration fails at any point, an IterationException is thrown.
 ResultSet ObjectRowMapper.getResultSet(Filter<T> filter)
          constructs the ResultSet that corresponds closesd to the filter; note that the filter may be null, in which case the select statement should return all rows.
 ResultSet BaseRowMapper.getResultSet(Filter<T> filter)
           
 ArrayList<RowItem> ConnectionHelper.getRowItems(ResultSet rs, String idField, Filter<RowItem> filter)
          filter may be null
 ArrayList<RowItem> ConnectionHelper.getRowItems(String tableName, String idField, Filter<RowItem> filter)
          filter may be null
 

Uses of Filter in com.antelmann.timeregister
 

Classes in com.antelmann.timeregister that implement Filter
 class WorkUnitValidator
          implements a schedule template for a user.
 

Methods in com.antelmann.timeregister that return Filter
static Filter<WorkUnit> WorkUnitAnalyzer.makeFilter(User user, Date beginFrom, Date beginUntil, String activity, String comment)
          selects both dates inclusive
 

Methods in com.antelmann.timeregister with parameters of type Filter
protected  List<WorkUnit> SQLPunchDB.extractUnits(ResultSet rs, Map<Object,TimeUser> users, Filter<WorkUnit> filter)
           
protected  Map<String,WorkUnitValidator> SQLPunchDB.extractValidators(ResultSet rs, Filter<WorkUnitValidator> filter)
           
 void PunchDataAnalyzer.filter(Filter<PunchData> filter)
          filters this analyzer according to the given filter.
 void WorkUnitAnalyzer.filter(Filter<WorkUnit> filter)
           
 List<WorkUnit> SQLPunchDB.getWorkUnits(Filter<WorkUnit> filter)
           
 Map<String,WorkUnitValidator> SQLPunchDB.getWorkUnitValidators(Filter<WorkUnitValidator> filter)
           
 Map<String,WorkUnitValidator> PunchDBClient.getWorkUnitValidators(Filter<WorkUnitValidator> filter)
           
 Map<String,WorkUnitValidator> PunchAdminDB.getWorkUnitValidators(Filter<WorkUnitValidator> filter)
          filter may be null, in which case no restrictions apply and all validators found will be returned
 void WorkUnitAnalyzer.refresh(Collection<WorkUnit> col, Filter<WorkUnit> filter)
          updates this analyzer with the given data; the filter may be null; duplicates are left out
 

Uses of Filter in com.antelmann.util
 

Methods in com.antelmann.util that return Filter
 Filter<E> AbstractIterator.getFilter()
           
static
<T> Filter<T>
Misc.reverseFilter(Filter<T> filter)
          returns an inversed filter to the given one
 

Methods in com.antelmann.util with parameters of type Filter
static
<T> ArrayList<T>
Sets.extract(Collection<T> col, Filter<T> filter)
          returns a new Collection that will only contain those elements that passed the filter.
static
<T> ArrayList<T>
Sets.filter(Collection<T> col, Filter<T> filter)
          filters all objects out of the given col that are not accepted by the filter; the dropout is returned as a separate Collection.
static
<T> Filter<T>
Misc.reverseFilter(Filter<T> filter)
          returns an inversed filter to the given one
 void AbstractIterator.setFilter(Filter<E> filter)
          if a non-null filter is set, only those elements that pass the filter will be returned by next().
 

Uses of Filter in com.antelmann.util.logging
 

Subinterfaces of Filter in com.antelmann.util.logging
 interface LogWriter
          The LogWriter interface defines objects that can be used as a handler for the Logger class.
 

Classes in com.antelmann.util.logging that implement Filter
 class AbstractLogWriter<T>
          provides filtering capabilities for a LogWriter.
 class AsynchLogWriter
          allows to operate any LogWriter asynchronously.
 class BinaryFileLog
          A LogWriter that logs the entries synchronously serialized to a file.
 class ConsoleLog
          ConsoleLog prints abbreviated log messages to the console using System.out.println().
 class EmailWriter
          uses email to send each LogEntry object over the Internet.
 class ExceptionDialogWriter
          shows a dialog upon each Throwable encountered.
 class FileLog
          writes entries to a file without continuously holding a lock on the file.
 class JDBCLogWriter
          JDBCLogWriter provides a LogWriter that writes to a java.sql.Connection.
 class JTextComponentLog
          JTextComponentLog writes abbreviated log messages into a given JTextComponent synchronously.
 class LevelFilter
          filters LogEntry objects by their level using the natural order of Level objects
 class LogFile
          LogFile provides great convenience for logging information from a program into a file.
 class Logger
          Logger somewhat leans on the functionality of the java.util.logging functionality of J2SE 1.4, but it's not quite the same (and was implemented before J2SE 1.4).
 class LogNetPropagator
          can be registered to listen logging events and then propagates them as serialized byte arrays over its NetConnectionServer.
 class SocketWriter
          simply used to write serialized LogEntry objects via network
 class StackTraceFileWriter
          writes full stack trace of entries that log an exception to a given file.
 class StringBufferLog
          StringBufferLog writes log messages into a StringBuffer.
 class XMLLogWriter
          writes LogEntry objects formatted as XML to either a PrintStream or PrintWriter.
 

Fields in com.antelmann.util.logging declared as Filter
protected  Filter<LogEntry> AbstractLogWriter.filter
          may be null (in which case all LogEntry objects are written)
static Filter<LogEntry> LevelFilter.MORE_THAN_FINE_LEVEL_FILTER
          accepts LogEntry objects that compare to more than the FINE level.
static Filter<LogEntry> LevelFilter.NO_FINE_LEVEL_FILTER
          accepts LogEntry objects that exclude the levels FINE, FINER, FINEST.
 

Methods in com.antelmann.util.logging that return Filter
 Filter<LogEntry> Logger.getFilter()
          returns null by default
 Filter<LogEntry> AbstractLogWriter.getLogFilter()
           
 

Methods in com.antelmann.util.logging with parameters of type Filter
 ArrayList<LogEntry> SampleSQLLogFormatter.getLogEntries(Date from, Date until, Filter<LogEntry> filter)
          null parameter mean that no restriction applies
 void Logger.setFilter(Filter<LogEntry> filter)
           
 void AbstractLogWriter.setLogFilter(Filter<LogEntry> filter)
           
 

Constructors in com.antelmann.util.logging with parameters of type Filter
AbstractLogWriter(LogEntryFormatter<T> formatter, Filter<LogEntry> filter)
           
 



(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads