org.mmbase.servlet
Class FileServlet.DirectoryFunction

java.lang.Object
  extended by org.mmbase.util.functions.AbstractFunction<String>
      extended by org.mmbase.servlet.FileServlet.DirectoryFunction
All Implemented Interfaces:
Serializable, Comparable<Function<String>>, Function<String>
Enclosing class:
FileServlet

public static class FileServlet.DirectoryFunction
extends AbstractFunction<String>

The directory as a function. This can makes the information available via RMMCI.

See Also:
Serialized Form

Field Summary
(package private)  String dir
           
 
Fields inherited from class org.mmbase.util.functions.AbstractFunction
autoReturnType, name, returnType
 
Constructor Summary
FileServlet.DirectoryFunction()
           
 
Method Summary
 String getFunctionValue(Parameters parameters)
          Executes the defined function supplying the given arguments.
 
Methods inherited from class org.mmbase.util.functions.AbstractFunction
compareTo, createParameters, equals, getDescription, getFunctionValueWithArgs, getFunctionValueWithList, getName, getParameterDefinition, getReturnType, hashCode, setDescription, setParameterDefinition, setReturnType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dir

String dir
Constructor Detail

FileServlet.DirectoryFunction

public FileServlet.DirectoryFunction()
Method Detail

getFunctionValue

public String getFunctionValue(Parameters parameters)
Description copied from class: AbstractFunction
Executes the defined function supplying the given arguments.

Specified by:
getFunctionValue in interface Function<String>
Specified by:
getFunctionValue in class AbstractFunction<String>
Parameters:
parameters - The parameters for the function. To specify an empty parameter list use Parameters.VOID. Implementors are encouraged to support null too.
Returns:
The function value, which can be of any type compatible to AbstractFunction.getReturnType()
See Also:
AbstractFunction.createParameters()


MMBase 2.0-SNAPSHOT - null