public class InputConversionEngine extends Object
| Constructor and Description |
|---|
InputConversionEngine() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertArgToType(String arg,
Class type)
Convert the input string to an object of the given class
|
public Object convertArgToType(String arg, Class type) throws CommandInvocationException
arg - The string to be convertedtype - The type that the string should be converted toCommandInvocationException - If the string cannot be converted to the requested typeCopyright © 2014 LSST. All rights reserved.