org.apache.hadoop.lib.wsrs
Class ByteParam

java.lang.Object
  extended by org.apache.hadoop.lib.wsrs.Param<Byte>
      extended by org.apache.hadoop.lib.wsrs.ByteParam

@InterfaceAudience.Private
public abstract class ByteParam
extends Param<Byte>


Field Summary
 
Fields inherited from class org.apache.hadoop.lib.wsrs.Param
value
 
Constructor Summary
ByteParam(String name, Byte defaultValue)
           
 
Method Summary
protected  String getDomain()
           
protected  Byte 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

ByteParam

public ByteParam(String name,
                 Byte defaultValue)
Method Detail

parse

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

getDomain

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.