| Home >> All >> org >> apache >> cocoon >> [ util Javadoc ] |
| | org.apache.cocoon.util.log.* (4) |
org.apache.cocoon.util: Javadoc index of package org.apache.cocoon.util.
Package Samples:
org.apache.cocoon.util.log
Classes:
CocoonTargetFactory: CocoonTargetFactory class. This factory is able to create different LogTargets specific to Cocoon according to the following configuration syntax: <file id="foo"> <filename>${context-key}/real-name/...</filename> <format type="raw|pattern|extended|xml|cocoon">pattern to be used if needed</format> <append>true|false</append> <rotation type="revolving|unique" init="5" max="10"> <or> <size>10000000</size> <time>24:00:00</time> <time>12:00:00</time> </or> </rotate> </file> Some explanations about ...
JDBCTypeConversions: Provide some utility methods to read from JDBC result sets or store them to JDBC statements. Largely copied from org.apache.cocoon.acting.AbstractDatabaseAction. The following table lists all available column type names together with the JDBC methods used to get or set a column with that type. In some cases the returned type differs from the type returned by the getXXX method. To set a column, a number of conversions are automatically used. For details, please see the actual code. type getXXX returns setXXX clob Clob String Clob ascii Clob String asciStream big-decimal BigDecimal BigDecimal binary ...
XMLCocoonLogFormatter: A refactoring of org.apache.log.format.PatternFormatter and org.apache.cocoon.util.log.CocoonLogFormatter for producing XML format. This formater formats the LogEntries according to given input types. Each log entry is inside a <log-entry> element and each information is inside an own element. class : outputs the name of the class that has logged the message. The optional short subformat removes the package name. Warning : this pattern works only if formatting occurs in the same thread as the call to Logger, i.e. it won't work with AsyncLogTarget . The class name is embeded by a <class> ...
CocoonLogFormatter: An extended pattern formatter. New patterns are defined by this class are : class : outputs the name of the class that has logged the message. The optional short subformat removes the package name. Warning : this pattern works only if formatting occurs in the same thread as the call to Logger, i.e. it won't work with AsyncLogTarget . thread : outputs the name of the current thread (first element on the context stack). uri : outputs the request URI.
ExtensiblePatternFormatter: A refactoring of org.apache.log.format.PatternFormatter that can be extended. This formater formats the LogEntries according to a input pattern string. The format of each pattern element can be %[+|-]#.#{field:subformat} The +|- indicates left or right justify. The #.# indicates the minimum and maximum size of output. 'field' indicates which field is to be output and must be one of properties of LogEvent 'subformat' indicates a particular subformat and is currently unused.
JDBCxlobHelper: Helper to pass a length plus an InputStream to JDBCTypeConversions to insert BLOB (setBinaryStream) or CLOB (setAsciiStream) via data using org.apache.cocoon.acting.modular.DatabaseAction. Create an input module that returns an instance of this class and use that in your database.xml
HashUtil: A very efficient java hash algorithm, based on the BuzHash algoritm by Robert Uzgalis (see http://www.serve.net/buz/hash.adt/java.000.html for more information). BuzHash is Copyright (c)1996 Robert Uzgalis, All Rights Reserved. Used with kind permission of the author
PostInputStream: The class PostInputStream is a wrapper for InputStream associated with POST message. It allows to control read operation, restricting the number of bytes read to the value returned by getContentLen() method.
ClobHelper: A minimal implementation just enough to send a CLOB to a database. Advanced methods and all methods for modifying the CLOB are not implemented.
BlobHelper: A minimal implementation just enough to send a BLOB to a database. Advanced methods and all methods for modifying the BLOB are not implemented.
TraxErrorHandler: This ErrorListener simply logs the exception and in case of an fatal-error the exception is rethrown. Warnings and errors are ignored.
Tokenizer: Replacement for StringTokenizer in java.util, beacuse of bug in the Sun's implementation.
HashMap: Extended Version of java.util.HashMap .
NetUtils: A collection of File , URL and filename utility methods
MIMEUtils: A collection of File , URL and filename utility methods
IOUtils: A collection of File , URL and filename utility methods
StringUtils: A collection of String handling utility methods.
ClassUtils: A collection of class management utility methods.
JavaArchiveFilter: Implements a filter for java archives.
ResizableContainer: Add-only Container class.
EnumerationFactory
| Home | Contact Us | Privacy Policy | Terms of Service |