com.univocity.api.common
Class TrueStringFilter

java.lang.Object
  extended by com.univocity.api.common.TrueStringFilter
All Implemented Interfaces:
StringFilter

public class TrueStringFilter
extends Object
implements StringFilter

Constant StringFilter that accepts anything


Field Summary
static TrueStringFilter TRUE
           
 
Constructor Summary
protected TrueStringFilter()
           
 
Method Summary
 boolean accept(String str)
          Tests whether a given String conforms to a specific criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final TrueStringFilter TRUE
Constructor Detail

TrueStringFilter

protected TrueStringFilter()
Method Detail

accept

public boolean accept(String str)
Description copied from interface: StringFilter
Tests whether a given String conforms to a specific criteria.

Specified by:
accept in interface StringFilter
Parameters:
str - the String to be tested
Returns:
true if the given String conforms to the filtering rules implemented by this interface, otherwise returns false


Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.