com.cloudera.lib.wsrs
Class IntegerParam

java.lang.Object
  extended by com.cloudera.lib.wsrs.Param<Integer>
      extended by com.cloudera.lib.wsrs.IntegerParam

public abstract class IntegerParam
extends Param<Integer>


Field Summary
 
Fields inherited from class com.cloudera.lib.wsrs.Param
value
 
Constructor Summary
IntegerParam(String name, String str)
           
 
Method Summary
protected  String getDomain()
           
protected  Integer parse(String str)
           
 
Methods inherited from class com.cloudera.lib.wsrs.Param
parseParam, setValue, toString, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerParam

public IntegerParam(String name,
                    String str)
Method Detail

parse

protected Integer parse(String str)
                 throws Exception
Specified by:
parse in class Param<Integer>
Throws:
Exception

getDomain

protected String getDomain()
Specified by:
getDomain in class Param<Integer>


Copyright © 2012 Cloudera. All Rights Reserved.