snaq.util.jclap
Interface StringOption.Filter

All Known Implementing Classes:
StringOption.FileFilter
Enclosing class:
StringOption

public static interface StringOption.Filter

Acceptance filter for StringOption instances.


Method Summary
 boolean accept(java.lang.String arg)
          Determines whether the specified argument should be accepted for use by the host StringOption instance.
 

Method Detail

accept

boolean accept(java.lang.String arg)
Determines whether the specified argument should be accepted for use by the host StringOption instance.

Parameters:
arg - string argument to assess for acceptance
Returns:
true if the argument should be accepted, false otherwise