Class LengthParam
java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<Long,org.apache.hadoop.hdfs.web.resources.LongParam.Domain>
org.apache.hadoop.hdfs.web.resources.LengthParam
Length parameter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.web.resources.Param
getValue, toSortedString
-
Field Details
-
NAME
Parameter name.- See Also:
-
DEFAULT
Default parameter value.- See Also:
-
-
Constructor Details
-
LengthParam
Constructor.- Parameters:
value- the parameter value.
-
LengthParam
Constructor.- Parameters:
str- a string representation of the parameter value.
-
-
Method Details
-
getName
-
getLength
public long getLength() -
toString
-
getValueString
- Specified by:
getValueStringin classParam<Long,org.apache.hadoop.hdfs.web.resources.LongParam.Domain> - Returns:
- the parameter value as a string
-