当前页面: 
在线文档首页 > 
JBoss 3.2.7 common API Documentation 英文版文档
CategoryWriter (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档
org.jboss.logging.util
Class CategoryWriter
java.lang.Object
   java.io.Writer
java.io.Writer
       java.io.PrintWriter
java.io.PrintWriter
           org.jboss.logging.util.CategoryWriter
org.jboss.logging.util.CategoryWriter
Deprecated. Use LoggerWriter instead.
- public class CategoryWriter- extends PrintWriter
A subclass of PrintWriter that redirects its output to a log4j Category. 
  This class is used to have something to give api methods that require a
  PrintWriter for logging. JBoss-owned classes of this nature generally ignore
  the PrintWriter and do their own log4j logging.
- Version:
- $$
- Author:
- David Jencks
      .
 
 
 
| Constructor Summary | 
| CategoryWriter(org.apache.log4j.Category category)Deprecated. Redirect logging to the indicated category using Priority.INFO
 | 
| CategoryWriter(org.apache.log4j.Category category,
               org.apache.log4j.Priority priority)Deprecated. Redirect logging to the indicated category using the given priority.
 | 
 
| Methods inherited from class java.io.PrintWriter | 
| checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CategoryWriter
public CategoryWriter(org.apache.log4j.Category category)
- Deprecated. - Redirect logging to the indicated category using Priority.INFO
 
- Parameters:
- category- Description of Parameter
CategoryWriter
public CategoryWriter(org.apache.log4j.Category category,
                      org.apache.log4j.Priority priority)
- Deprecated. - Redirect logging to the indicated category using the given priority. The
  ps is simply passed to super but is not used.
 
- Parameters:
- category- Description of Parameter
- priority- Description of Parameter
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.