Holger's
Java API

Uses of Interface
com.antelmann.util.PatternExtractor

Packages that use PatternExtractor
com.antelmann.calendar This package contains classes for implementing calendar and time related solutions. 
com.antelmann.db This package contains generally useful classes for generic database management. 
com.antelmann.math This package contains classes to ease calculations. 
com.antelmann.net.mail The classes in this package are designed to ease the handling of emails. 
com.antelmann.servlet This package contains classes to help with the implementation of servlets. 
com.antelmann.sql This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes 
com.antelmann.util This package contains generally useful classes that are used throughout the other packages in this framework. 
com.antelmann.util.gui This package contains utility classes for GUI related implementations. 
com.antelmann.util.logging This package contains classes that implement a custom logging for this framework - separate from java.util.logging. 
com.antelmann.util.table This package provides useful additions to TableModels and contains classes to ease development with Swing tables. 
 

Uses of PatternExtractor in com.antelmann.calendar
 

Fields in com.antelmann.calendar declared as PatternExtractor
static PatternExtractor<Timed,Date> Timed.DATE_EXTRACTOR
           
 

Uses of PatternExtractor in com.antelmann.db
 

Methods in com.antelmann.db that return PatternExtractor
static PatternExtractor<Stub<?>,Object> Stub.getIDExtractor()
           
static
<T extends DBEntry>
PatternExtractor<T,Object>
DBUtils.getIDExtractor()
           
static PatternExtractor<PropertyEntry,Object> PropertyEntryImpl.getPropertyExtractor(String propertyKey)
           
static
<T> PatternExtractor<PropertyEntry,T>
PropertyEntryImpl.getPropertyExtractor(String propertyKey, Class<T> type)
          returns a PatternExtractor based on the value of the given property
static PatternExtractor<PropertyEntry,String> PropertyEntryImpl.getStringExtractor(String propertyKey)
          returns a PatternExtractor based on the String value of the given property
static
<T extends DBEntry>
PatternExtractor<T,Stub<T>>
Stub.getStubExtractor()
           
<S extends DBEntry>
PatternExtractor<Object,Filter<S>>
CategoryManager.registerCategoryUse(DBClassStore<S> store, PatternExtractor<Object,Filter<S>> filterCreator)
           
 

Methods in com.antelmann.db with parameters of type PatternExtractor
static
<T extends DBEntry,P>
Hashtable<Object,P>
DBUtils.mapEntries(DBClassStore<T> store, PatternExtractor<? super T,P> pe, Filter<? super T> filter)
           
<S extends DBEntry>
PatternExtractor<Object,Filter<S>>
CategoryManager.registerCategoryUse(DBClassStore<S> store, PatternExtractor<Object,Filter<S>> filterCreator)
           
 

Uses of PatternExtractor in com.antelmann.math
 

Methods in com.antelmann.math that return PatternExtractor
 PatternExtractor<? super T,Date> ObjectAnalyzer.getDateExtractor()
           
 PatternExtractor<? super T,?> ObjectAnalyzer.getGrouping()
           
 PatternExtractor<? super T,? extends Number> ObjectAnalyzer.getNumberExtractor()
           
 

Methods in com.antelmann.math with parameters of type PatternExtractor
<P> void
DefaultDataParser.addAxis(String name, PatternExtractor<? super T,P> pe)
          uses Object.class as the type
<P> void
DefaultDataParser.addAxis(String name, PatternExtractor<? super T,P> pe, Class<P> type)
           
static
<T,P> HashMap<P,DataPoint>
DataPoint.aggregate(Map<T,DataPoint> data, PatternExtractor<? super T,? extends P> pe)
           
<P,T> HashMap<P,Money>
MoneyConverter.aggregate(Map<T,Money> data, PatternExtractor<T,P> pattern)
          all Money is converted into the base currency
static
<P,T> HashMap<P,Money>
Money.aggregate(Map<T,Money> data, PatternExtractor<T,P> pattern)
          utility function
 void ObjectAnalyzer.setDateExtractor(PatternExtractor<? super T,Date> dateExtractor)
           
 void ObjectAnalyzer.setGrouping(PatternExtractor<? super T,?> grouping)
           
 void ObjectAnalyzer.setNumberExtractor(PatternExtractor<? super T,? extends Number> numberExtractor)
           
 

Constructors in com.antelmann.math with parameters of type PatternExtractor
DefaultDataParser(PatternExtractor<? super T,? extends Number> numberExtractor)
           
DefaultDataParser(PatternExtractor<? super T,? extends Number> numberExtractor, DefaultDataParser<T> parser)
          initializes this parser with all data from the given one but uses a different number extractor
 

Uses of PatternExtractor in com.antelmann.net.mail
 

Classes in com.antelmann.net.mail that implement PatternExtractor
 class HtmlEmailExtractor
          useful for creating emails with embedded images from various sources while maintaining links from HTML documents
 

Uses of PatternExtractor in com.antelmann.servlet
 

Fields in com.antelmann.servlet declared as PatternExtractor
protected  PatternExtractor<? super javax.servlet.ServletRequest,Object> UserAuthenticationFilter.accessRightExtractor
           
 

Uses of PatternExtractor in com.antelmann.sql
 

Fields in com.antelmann.sql declared as PatternExtractor
static PatternExtractor<LogEntry,com.mysql.jdbc.profiler.ProfilerEvent> MySQLLog.PROFILER_EXTRACTOR
           
 

Methods in com.antelmann.sql that return PatternExtractor
static
<T extends DBEntry>
PatternExtractor<Object,Filter<T>>
CategoryStore.createStandardExtractor(DBClassStore<T> store)
           
static
<T extends DBEntry>
PatternExtractor<Object,Filter<T>>
CategoryStore.createStandardExtractor(String categoryIdColumn, Class<T> type)
           
<S extends DBEntry>
PatternExtractor<Object,Filter<S>>
CategoryStore.registerCategoryUse(DBClassStore<S> store, PatternExtractor<Object,Filter<S>> filterCreator)
           
 

Methods in com.antelmann.sql with parameters of type PatternExtractor
static IDFactory BaseRowMapper.getNextIntIDFactory(ConnectionHelper helper, String tableName, String idColumn, PatternExtractor<Object,Number> numberExtractor)
           
<S extends DBEntry>
PatternExtractor<Object,Filter<S>>
CategoryStore.registerCategoryUse(DBClassStore<S> store, PatternExtractor<Object,Filter<S>> filterCreator)
           
 

Uses of PatternExtractor in com.antelmann.util
 

Fields in com.antelmann.util declared as PatternExtractor
static PatternExtractor<Object,Object> PatternExtractor.SELF_EXTRACTOR
           
static PatternExtractor<Object,String> Strings.STRING_EXTRACTOR
           
static PatternExtractor<Object,String> PatternExtractor.STRING_EXTRACTOR
           
 

Methods in com.antelmann.util that return PatternExtractor
static
<T extends Enum<T>>
PatternExtractor<Object,T>
Misc.getEnumExtractor(Class<T> type)
           
 PatternExtractor<? super T,String> VerboseFilter.Adapter.getMessageExtractor()
           
static PatternExtractor<Object,Object> Misc.getMethodExtractor(String methodName)
           
static
<T> PatternExtractor<Object,T>
Misc.getMethodExtractor(String methodName, Class<T> returnType)
           
static
<X,Y> PatternExtractor<X,Y>
Converter.Adapter.toExtractor(Converter<X,Y> c)
           
 

Methods in com.antelmann.util with parameters of type PatternExtractor
static
<P,T> HashMap<P,BigDecimal>
Sets.aggregateBigDecimal(Map<T,BigDecimal> data, PatternExtractor<? super T,P> pattern)
           
static
<P,T> HashMap<P,Double>
Sets.aggregateDouble(Map<T,? extends Number> data, PatternExtractor<? super T,P> pattern)
           
static
<T,N> Enumeration<N>
AbstractIterator.convert(Enumeration<T> e, PatternExtractor<? super T,N> pe)
           
static
<T,N> Iterator<N>
AbstractIterator.convert(Iterator<T> i, PatternExtractor<? super T,N> pe)
           
<N extends Comparable<? super N>>
Range<N>
Range.convert(PatternExtractor<T,N> pe)
           
static
<T,P> HashSet<P>
Sets.distinctValues(Collection<T> col, PatternExtractor<? super T,P> extractor, Filter<? super T> filter)
           
static
<T,P> HashMap<P,ArrayList<T>>
Sets.groupBy(Collection<T> col, PatternExtractor<? super T,P> extractor, Filter<? super T> filter)
          splits the given collection into many, where the extractor is the discriminator
static
<T,P> HashMap<P,T>
Sets.map(Collection<T> col, PatternExtractor<? super T,P> extractor, Filter<? super T> filter)
          if a single pattern is extracted more than once from the collection, simply the last occurrence is mapped to that pattern
 void VerboseFilter.Adapter.setMessageExtractor(PatternExtractor<? super T,String> pe)
           
static
<X,Y> Converter<X,Y>
Converter.Adapter.toConverter(PatternExtractor<X,Y> p)
           
 

Constructors in com.antelmann.util with parameters of type PatternExtractor
VerboseFilter.Adapter(Filter<T> filter, PatternExtractor<? super T,String> messageExtractor)
           
VerboseFilter.Adapter(PatternExtractor<? super T,String> messageExtractor)
          allows those entries that generate a null message by the extractor
 

Uses of PatternExtractor in com.antelmann.util.gui
 

Methods in com.antelmann.util.gui that return PatternExtractor
static PatternExtractor<Object,JComponent> JPreviewPane.getDefaultComponentExtractor()
           
 

Methods in com.antelmann.util.gui with parameters of type PatternExtractor
static JComboBox ToolTipListRenderer.enableToolTip(JComboBox box, PatternExtractor<Object,String> pe)
           
 void JSearchList.setRenderer(PatternExtractor<Object,String> pe)
          shortcut for using a FormattedCellRenderer
static
<T> T
JPreviewPane.showSelectDialog(Component parent, String title, Component selectionComp, ValueRetriever<T> retriever, PatternExtractor<? super T,? extends Component> pe, boolean resizable)
           
 

Constructors in com.antelmann.util.gui with parameters of type PatternExtractor
JPreviewPane(Component selectionComp, ValueRetriever<T> retriever, PatternExtractor<? super T,? extends Component> pe)
           
JPreviewPane(Component selectionComp, ValueRetriever<T> retriever, PatternExtractor<? super T,? extends Component> pe, int splitOrientation)
           
ToolTipListRenderer(PatternExtractor<Object,String> pe)
           
ToolTipListRenderer(PatternExtractor<Object,String> pe, ListCellRenderer renderer)
           
 

Uses of PatternExtractor in com.antelmann.util.logging
 

Methods in com.antelmann.util.logging with parameters of type PatternExtractor
static
<T> LogEntryFormatter<T>
LoggerManager.toFormatter(PatternExtractor<LogEntry,T> pe)
           
 

Uses of PatternExtractor in com.antelmann.util.table
 

Classes in com.antelmann.util.table that implement PatternExtractor
 class FileTableModel
          a table model that enables importing/exporting from/to a CSV file easily.
 

Fields in com.antelmann.util.table declared as PatternExtractor
static PatternExtractor<Object,Date> TableModelWrapper.DATE_CONVERTER
          supports CharSequence, Number and Timed objects
 

Methods in com.antelmann.util.table that return PatternExtractor
 PatternExtractor<Object,Icon> FormattedCellRenderer.getIconFormat()
           
 PatternExtractor<Object,String> SimpleTableRowFilter.getPatternExtractor()
          returns the PatternExtractor used to generate a String value from a table cell value when searching for a pattern.
 

Methods in com.antelmann.util.table that return types with arguments of type PatternExtractor
 Map.Entry<PatternExtractor<Object,?>,Class<?>> TableModelWrapper.setConverter(int column, Format format)
           
<T> Map.Entry<PatternExtractor<Object,?>,Class<?>>
TableModelWrapper.setConverter(int column, PatternExtractor<Object,T> converter, Class<T> convertedType)
           
 Map.Entry<PatternExtractor<Object,?>,Class<?>> TableModelWrapper.setConverter(String column, Format format)
           
<T> Map.Entry<PatternExtractor<Object,?>,Class<?>>
TableModelWrapper.setConverter(String column, PatternExtractor<Object,T> converter, Class<T> convertedType)
           
 

Methods in com.antelmann.util.table with parameters of type PatternExtractor
 void PatternTableModel.addColumn(String name, PatternExtractor<? super T,?> pe)
           
<P> void
PatternTableModel.addColumn(String name, PatternExtractor<? super T,P> pe, Class<? super P> type)
          this method is called by all other addColumn.. methods and provides most flexibility as well as best performance depending on the efficient implementation of a given PatternExtractor.
 void FileTableModel.saveToFile(File file, String fieldSeparator, boolean usesQuotes, PatternExtractor<Object,Object> extractor)
           
 void FileTableModel.saveToWriter(Writer writer, String fieldSeparator, boolean usesQuotes, PatternExtractor<Object,Object> extractor)
          will always write a header line.
<T> Map.Entry<PatternExtractor<Object,?>,Class<?>>
TableModelWrapper.setConverter(int column, PatternExtractor<Object,T> converter, Class<T> convertedType)
           
<T> Map.Entry<PatternExtractor<Object,?>,Class<?>>
TableModelWrapper.setConverter(String column, PatternExtractor<Object,T> converter, Class<T> convertedType)
           
 void FormattedCellRenderer.setIconFormat(PatternExtractor<Object,Icon> iconFormat)
           
 void SimpleTableRowFilter.setPatternExtractor(PatternExtractor<Object,String> pe)
          allows to customize the way a String is extracted from a value in a model when searching for a pattern
static Format FormattedCellRenderer.toFormat(PatternExtractor<Object,?> pe)
           
 



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