org.patterncoder.util
Class NameVerifier

java.lang.Object
  extended by org.patterncoder.util.NameVerifier

public class NameVerifier
extends java.lang.Object

Utility class which simply provides methods to check for invalid characters within the names of java source files.


Constructor Summary
NameVerifier()
           
 
Method Summary
static boolean verifyName(java.lang.String name)
          Checks a source name against a list of known invalid characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameVerifier

public NameVerifier()
Method Detail

verifyName

public static boolean verifyName(java.lang.String name)
Checks a source name against a list of known invalid characters. Returns a boolean value indicating wether the name is valid or not.

Parameters:
name - The name that requires a check for invalid characters.
Returns:
returns true if the name is well formaed and valid. False is returned if the name is invalid.