public static boolean charValidate ( String name ) { if ( name . matches ( "[0-9]+" ) || name . toLowerCase ( ) . equals ( "null" ) ) { return false ; } else { return name . matches ( "[a-zA-Z0-9-_.]+" ) ; } }
Validation of topology name chars . Only alpha char number - _ . are valid .