de.smartics.exceptions.report.scan
Class AbstractScannerFactory

Package class diagram package AbstractScannerFactory
java.lang.Object
  extended by de.smartics.exceptions.report.scan.AbstractScannerFactory
All Implemented Interfaces:
ScannerFactory
Direct Known Subclasses:
DirectoryScannerFactory, ZipScannerFactory

public abstract class AbstractScannerFactory
     
     
extends Object
implements ScannerFactory

Base implementation of the interface.


Field Summary
protected  String[] excludes
          The excludes for the scanner.
protected  String[] includes
          The includes for the scanner.
 
Constructor Summary
protected AbstractScannerFactory(String[] includes, String[] excludes)
          Default constructor.
 
Method Summary
protected  void configureAndScan(org.apache.tools.ant.DirectoryScanner scanner)
          Configures the scanner and runs the scan.
 org.apache.tools.ant.DirectoryScanner createScanner(String root)
          Creates the scanner with the given root directory set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.smartics.exceptions.report.scan.ScannerFactory
createScanner
 

Field Detail

includes

protected final String[] includes
The includes for the scanner.


excludes

protected final String[] excludes
The excludes for the scanner.

Constructor Detail

AbstractScannerFactory

protected AbstractScannerFactory(String[] includes,
                                 String[] excludes)
Default constructor.

Parameters:
includes - the includes for the scanner.
excludes - the excludes for the scanner.
Method Detail

configureAndScan

protected final void configureAndScan(org.apache.tools.ant.DirectoryScanner scanner)
Configures the scanner and runs the scan.

Parameters:
scanner - the scanner to configure and run the scan.

createScanner

public final org.apache.tools.ant.DirectoryScanner createScanner(String root)
Description copied from interface: ScannerFactory
Creates the scanner with the given root directory set.

Specified by:
createScanner in interface ScannerFactory
Parameters:
root - the root directory to scan.
Returns:
the scanner for the given root directory.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.