uk.ac.soton.itinnovation.grid.service.utils
Class InputValidator
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.InputValidator
public class InputValidator
- extends Object
Methods to check the user input; only valid inputs are allowed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputValidator
public InputValidator()
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.