org.apache.hadoop.lib.wsrs
Class ShortParam

java.lang.Object
  extended by org.apache.hadoop.lib.wsrs.Param<Short>
      extended by org.apache.hadoop.lib.wsrs.ShortParam
Direct Known Subclasses:
HttpFSParams.ReplicationParam

public abstract class ShortParam
extends Param<Short>


Field Summary
 
Fields inherited from class org.apache.hadoop.lib.wsrs.Param
value
 
Constructor Summary
ShortParam(String name, String str)
           
 
Method Summary
protected  String getDomain()
           
protected  Short parse(String str)
           
 
Methods inherited from class org.apache.hadoop.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

ShortParam

public ShortParam(String name,
                  String str)
Method Detail

parse

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

getDomain

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


Copyright © 2012 Apache Software Foundation. All Rights Reserved.