org.apache.hadoop.hdfs.web.resources
Class XAttrEncodingParam
java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<E,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<E>>
org.apache.hadoop.hdfs.web.resources.XAttrEncodingParam
public class XAttrEncodingParam
- extends Param<E,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<E>>
NAME
public static final String NAME
- Parameter name.
- See Also:
- Constant Field Values
DEFAULT
public static final String DEFAULT
- Default parameter value.
- See Also:
- Constant Field Values
XAttrEncodingParam
public XAttrEncodingParam(org.apache.hadoop.fs.XAttrCodec encoding)
XAttrEncodingParam
public XAttrEncodingParam(String str)
- Constructor.
- Parameters:
str
- a string representation of the parameter value.
getName
public String getName()
- Specified by:
getName
in class Param<org.apache.hadoop.fs.XAttrCodec,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<org.apache.hadoop.fs.XAttrCodec>>
- Returns:
- the parameter name.
getValueString
public String getValueString()
- Specified by:
getValueString
in class Param<org.apache.hadoop.fs.XAttrCodec,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<org.apache.hadoop.fs.XAttrCodec>>
- Returns:
- the parameter value as a string
getEncoding
public org.apache.hadoop.fs.XAttrCodec getEncoding()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.