Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » environment » commandline » [javadoc | source]
org.apache.cocoon.environment.commandline
public class: CommandlineContext [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLoggable
      org.apache.cocoon.environment.commandline.CommandlineContext

All Implemented Interfaces:
    Context

Implements the org.apache.cocoon.environment.Context interface
Constructor:
 public CommandlineContext(String contextDir) 
    Constructs a CommandlineContext object from a ServletContext object
Method from org.apache.cocoon.environment.commandline.CommandlineContext Summary:
getAttribute,   getAttributeNames,   getInitParameter,   getMimeType,   getRealPath,   getResource,   getResourceAsStream,   removeAttribute,   setAttribute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.environment.commandline.CommandlineContext Detail:
 public Object getAttribute(String name) 
 public Enumeration getAttributeNames() 
 public String getInitParameter(String name) 
 public String getMimeType(String file) 
 public String getRealPath(String path) 
 public URL getResource(String path) throws MalformedURLException 
 public InputStream getResourceAsStream(String path) 
 public  void removeAttribute(String name) 
 public  void setAttribute(String name,
    Object value)