This project has retired. For details please refer to its
Attic page.
CocoonStreamTargetFactory (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.util.log
Class CocoonStreamTargetFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.excalibur.logger.factory.AbstractTargetFactory
org.apache.avalon.excalibur.logger.factory.StreamTargetFactory
org.apache.cocoon.util.log.CocoonStreamTargetFactory
- All Implemented Interfaces:
- LogTargetFactory, Configurable, Contextualizable, LogEnabled
Deprecated. This class will be removed in 2.2
public class CocoonStreamTargetFactory
- extends StreamTargetFactory
TargetFactory for StreamTarget
.
This factory is able to create different StreamTargets according to the following
configuration syntax:
<stream id="foo">
<stream>stream-context-name</stream>
<format type="raw|pattern|extended|xml|cocoon">pattern to be used if needed</format>
</stream>
The "stream-context-name" is the name of an java.io.OutputStream
that
is fetched in the context. This context contains two predefined streams :
"System.out
" for the system output stream,
"System.err
" for the system error stream.
The syntax of "format" is the same as in CocoonTargetFactory
.
- Version:
- CVS $Id: CocoonStreamTargetFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Giacomo Pati
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CocoonStreamTargetFactory
public CocoonStreamTargetFactory()
- Deprecated.
getFormatter
protected Formatter getFormatter(Configuration conf)
- Deprecated.
- Overrides:
getFormatter
in class StreamTargetFactory
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.