noope.input
Class Valid

java.lang.Object
  |
  +--noope.input.Valid

public class Valid
extends java.lang.Object

This class contains routines for validating various noope-related data like Vector3D, Double, Color, etc.

Version:
June 2001
Author:
Miklos Reiter

Constructor Summary
Valid()
           
 
Method Summary
static boolean validColor(java.lang.String s)
          Returns true if the String s represents a valid Color object, false otherwise.
static boolean validDouble(java.lang.String s)
          Returns true if s can be parsed as a double, false otherwise.
static boolean validVector3D(java.lang.String s)
          Returns true if the argument represents a valid Vector3D.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Valid

public Valid()
Method Detail

validDouble

public static boolean validDouble(java.lang.String s)
Returns true if s can be parsed as a double, false otherwise.

validVector3D

public static boolean validVector3D(java.lang.String s)
Returns true if the argument represents a valid Vector3D. Uses the constructor of the Vector3D class taking a String.

validColor

public static boolean validColor(java.lang.String s)
Returns true if the String s represents a valid Color object, false otherwise.