org.apache.cocoon.environment.commandline
Class LinkSamplingEnvironment
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.environment.AbstractEnvironment
org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment
org.apache.cocoon.environment.commandline.LinkSamplingEnvironment
- All Implemented Interfaces:
- Environment, LogEnabled
- public class LinkSamplingEnvironment
- extends AbstractCommandLineEnvironment
This environment is sample the links of the resource.
- Version:
- CVS $Id: LinkSamplingEnvironment.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Stefano Mazzocchi
Methods inherited from class org.apache.cocoon.environment.AbstractEnvironment |
commitResponse, extractAction, extractView, finishingProcessing, getAction, getAttribute, getAttributeNames, getObjectModel, getURI, getURIPrefix, getView, isInternalRedirect, isResponseModified, removeAttribute, setAction, setAttribute, setResponseIsNotModified, setURI, setView, startingProcessing, tryResetResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkSamplingEnvironment
public LinkSamplingEnvironment(String uri,
File contextFile,
Map attributes,
Map parameters,
CommandLineContext cliContext,
Logger log)
throws MalformedURLException,
IOException
setContentType
public void setContentType(String contentType)
- Set the ContentType
- Specified by:
setContentType
in interface Environment
- Overrides:
setContentType
in class AbstractCommandLineEnvironment
getLinks
public Collection getLinks()
throws IOException
- Indicates if other links are present.
- Throws:
IOException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.