uk.ac.soton.itinnovation.grid.service.utils
Class InputValidator

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.utils.InputValidator

public class InputValidator
extends Object

Methods to check the user input; only valid inputs are allowed.


Constructor Summary
InputValidator()
           
 
Method Summary
static void ensureFolderNameValid(String dir)
          Checks if the folder path contains invalid characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputValidator

public InputValidator()
Method Detail

ensureFolderNameValid

public static void ensureFolderNameValid(String dir)
                                  throws Stop
Checks if the folder path contains invalid characters.

Parameters:
dir - the input folder path
Throws:
Stop - if the path contains invalid characters


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.