org.apache.hadoop.lib.wsrs
Class LongParam

java.lang.Object
  extended by org.apache.hadoop.lib.wsrs.Param<Long>
      extended by org.apache.hadoop.lib.wsrs.LongParam
Direct Known Subclasses:
HttpFSParams.AccessTimeParam, HttpFSParams.BlockSizeParam, HttpFSParams.LenParam, HttpFSParams.ModifiedTimeParam, HttpFSParams.OffsetParam

public abstract class LongParam
extends Param<Long>


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

LongParam

public LongParam(String name,
                 String str)
Method Detail

parse

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

getDomain

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


Copyright © 2012 Apache Software Foundation. All Rights Reserved.