org.easycsv.filter
Class HashLineFilter

java.lang.Object
  extended by org.easycsv.filter.HashLineFilter
All Implemented Interfaces:
LineFilter

public class HashLineFilter
extends java.lang.Object
implements LineFilter

Filter that filters out all lines staring with a hash.

Version:
$LastChangedRevision:12 $
Author:
Oliver J. Siegmar

Constructor Summary
HashLineFilter()
          Constructs this line filter.
 
Method Summary
 boolean accept(java.lang.String line)
          Tests whether or not the specified line should be read into the CsvDataStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashLineFilter

public HashLineFilter()
Constructs this line filter.

Method Detail

accept

public boolean accept(java.lang.String line)
Tests whether or not the specified line should be read into the CsvDataStore.

Specified by:
accept in interface LineFilter
Parameters:
line - The CSV line to be tested
Returns:
true if and only if line doesn't start with a hash


Copyright 2005-2005-2006 null. All Rights Reserved.