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:
HttpFSParametersProvider.PermissionParam, HttpFSParametersProvider.ReplicationParam

@InterfaceAudience.Private
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, Short defaultValue)
           
ShortParam(String name, Short defaultValue, int radix)
           
 
Method Summary
protected  String getDomain()
           
protected  Short parse(String str)
           
 
Methods inherited from class org.apache.hadoop.lib.wsrs.Param
getName, parseParam, 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,
                  Short defaultValue,
                  int radix)

ShortParam

public ShortParam(String name,
                  Short defaultValue)
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 © 2014 Apache Software Foundation. All Rights Reserved.