org.apache.hadoop.hdfs.web.resources
Class UriFsPathParam

java.lang.Object
  extended by org.apache.hadoop.hdfs.web.resources.Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
      extended by org.apache.hadoop.hdfs.web.resources.UriFsPathParam

public class UriFsPathParam
extends Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>

The FileSystem path parameter.


Field Summary
static String NAME
          Parameter name.
 
Constructor Summary
UriFsPathParam(String str)
          Constructor.
 
Method Summary
 String getAbsolutePath()
           
 String getName()
           
 String getValueString()
           
 
Methods inherited from class org.apache.hadoop.hdfs.web.resources.Param
getValue, toSortedString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Parameter name.

See Also:
Constant Field Values
Constructor Detail

UriFsPathParam

public UriFsPathParam(String str)
Constructor.

Parameters:
str - a string representation of the parameter value.
Method Detail

getName

public String getName()
Specified by:
getName in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
Returns:
the parameter name.

getAbsolutePath

public final String getAbsolutePath()
Returns:
the absolute path.

getValueString

public String getValueString()
Specified by:
getValueString in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
Returns:
the parameter value as a string


Copyright © 2013 Apache Software Foundation. All Rights Reserved.