org.weborganic.bastille.flint.helpers
Class IndexNames

java.lang.Object
  extended by org.weborganic.bastille.flint.helpers.IndexNames

public final class IndexNames
extends Object

A utility class to handle index names.

Since:
0.8.9

Method Summary
static boolean isValid(String name)
          Indicates whether this specified name is a valid index name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValid

public static boolean isValid(String name)
Indicates whether this specified name is a valid index name.

A valid name can only contain the following characters:

Parameters:
name - The name of the index.
Returns:
true if the name is considered valid and can be used as an index name; false otherwise.