You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@logging.apache.org by ca...@apache.org on 2007/08/24 07:43:56 UTC
svn commit: r569257 [9/18] - in
/logging/site/trunk/docs/log4j/companions/extras: ./ apidocs/
apidocs/org/apache/log4j/ apidocs/org/apache/log4j/class-use/
apidocs/org/apache/log4j/extras/ apidocs/org/apache/log4j/extras/class-use/
apidocs/org/apache/l...
Added: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/class-use/XSLTLayout.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/class-use/XSLTLayout.html?rev=569257&view=auto
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/class-use/XSLTLayout.html (added)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/class-use/XSLTLayout.html Thu Aug 23 22:43:39 2007
@@ -0,0 +1,145 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.6.0) -->
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<TITLE>
+Uses of Class org.apache.log4j.xml.XSLTLayout (Apache Extras Companion for log4j 1.2. 1.0 API)
+</TITLE>
+
+<META NAME="date" CONTENT="2007-08-24">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="Uses of Class org.apache.log4j.xml.XSLTLayout (Apache Extras Companion for log4j 1.2. 1.0 API)";
+ }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/log4j/xml/XSLTLayout.html" title="class in org.apache.log4j.xml"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/log4j/xml//class-useXSLTLayout.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="XSLTLayout.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.apache.log4j.xml.XSLTLayout</B></H2>
+</CENTER>
+No usage of org.apache.log4j.xml.XSLTLayout
+<P>
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/log4j/xml/XSLTLayout.html" title="class in org.apache.log4j.xml"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/log4j/xml//class-useXSLTLayout.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="XSLTLayout.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2007 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
+</BODY>
+</HTML>
Propchange: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/class-use/XSLTLayout.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-frame.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -25,6 +25,17 @@
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="UnrecognizedElementHandler.html" title="interface in org.apache.log4j.xml" target="classFrame"><I>UnrecognizedElementHandler</I></A></FONT></TD>
+</TR>
+</TABLE>
+
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
+Classes</FONT>
+<FONT CLASS="FrameItemFont">
+<BR>
+<A HREF="XSLTLayout.html" title="class in org.apache.log4j.xml" target="classFrame">XSLTLayout</A></FONT></TD>
</TR>
</TABLE>
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-summary.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-summary.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-summary.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-summary.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
</SCRIPT>
@@ -94,6 +94,21 @@
<TD>When implemented by an object configured by DOMConfigurator,
the handle method will be called when an unrecognized child
element is encountered.</TD>
+</TR>
+</TABLE>
+
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Class Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="15%"><B><A HREF="../../../../org/apache/log4j/xml/XSLTLayout.html" title="class in org.apache.log4j.xml">XSLTLayout</A></B></TD>
+<TD>XSLTLayout transforms each event as a document using
+ a specified or default XSLT transform.</TD>
</TR>
</TABLE>
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-tree.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-tree.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-tree.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-tree.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-org.apache.log4j.xml Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+org.apache.log4j.xml Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="org.apache.log4j.xml Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="org.apache.log4j.xml Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
</SCRIPT>
@@ -88,6 +88,17 @@
<DL>
<DT><B>Package Hierarchies:</B><DD><A HREF="../../../../overview-tree.html">All Packages</A></DL>
<HR>
+<H2>
+Class Hierarchy
+</H2>
+<UL>
+<LI TYPE="circle">java.lang.Object<UL>
+<LI TYPE="circle">org.apache.log4j.Layout (implements org.apache.log4j.spi.OptionHandler)
+<UL>
+<LI TYPE="circle">org.apache.log4j.xml.<A HREF="../../../../org/apache/log4j/xml/XSLTLayout.html" title="class in org.apache.log4j.xml"><B>XSLTLayout</B></A> (implements org.apache.log4j.xml.<A HREF="../../../../org/apache/log4j/xml/UnrecognizedElementHandler.html" title="interface in org.apache.log4j.xml">UnrecognizedElementHandler</A>)
+</UL>
+</UL>
+</UL>
<H2>
Interface Hierarchy
</H2>
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-use.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-use.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-use.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/org/apache/log4j/xml/package-use.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-Uses of Package org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Uses of Package org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Package org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Uses of Package org.apache.log4j.xml (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
</SCRIPT>
@@ -98,6 +98,10 @@
<TD><A HREF="#org.apache.log4j.rolling"><B>org.apache.log4j.rolling</B></A></TD>
<TD>Implements various file rolling policies. </TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.apache.log4j.xml"><B>org.apache.log4j.xml</B></A></TD>
+<TD> </TD>
+</TR>
</TABLE>
<P>
@@ -126,6 +130,23 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><B><A HREF="../../../../org/apache/log4j/xml/class-use/UnrecognizedElementHandler.html#org.apache.log4j.rolling"><B>UnrecognizedElementHandler</B></A></B>
+
+<BR>
+ When implemented by an object configured by DOMConfigurator,
+ the handle method will be called when an unrecognized child
+ element is encountered.</TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.apache.log4j.xml"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Classes in <A HREF="../../../../org/apache/log4j/xml/package-summary.html">org.apache.log4j.xml</A> used by <A HREF="../../../../org/apache/log4j/xml/package-summary.html">org.apache.log4j.xml</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><B><A HREF="../../../../org/apache/log4j/xml/class-use/UnrecognizedElementHandler.html#org.apache.log4j.xml"><B>UnrecognizedElementHandler</B></A></B>
<BR>
When implemented by an object configured by DOMConfigurator,
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-frame.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-Overview List (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Overview List (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
@@ -32,6 +32,8 @@
Packages</FONT>
<BR>
<FONT CLASS="FrameItemFont"><A HREF="org/apache/log4j/package-frame.html" target="packageFrame">org.apache.log4j</A></FONT>
+<BR>
+<FONT CLASS="FrameItemFont"><A HREF="org/apache/log4j/extras/package-frame.html" target="packageFrame">org.apache.log4j.extras</A></FONT>
<BR>
<FONT CLASS="FrameItemFont"><A HREF="org/apache/log4j/filter/package-frame.html" target="packageFrame">org.apache.log4j.filter</A></FONT>
<BR>
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-summary.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-summary.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-summary.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-summary.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-Overview (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Overview (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Overview (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Overview (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
</SCRIPT>
@@ -82,7 +82,7 @@
<HR>
<CENTER>
<H1>
-Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API
+Apache Extras Companion for log4j 1.2. 1.0 API
</H1>
</CENTER>
@@ -93,6 +93,10 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="20%"><B><A HREF="org/apache/log4j/package-summary.html">org.apache.log4j</A></B></TD>
+<TD> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD WIDTH="20%"><B><A HREF="org/apache/log4j/extras/package-summary.html">org.apache.log4j.extras</A></B></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-tree.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-tree.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-tree.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/overview-tree.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Class Hierarchy (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
</SCRIPT>
@@ -85,7 +85,7 @@
Hierarchy For All Packages</H2>
</CENTER>
<DL>
-<DT><B>Package Hierarchies:</B><DD><A HREF="org/apache/log4j/package-tree.html">org.apache.log4j</A>, <A HREF="org/apache/log4j/filter/package-tree.html">org.apache.log4j.filter</A>, <A HREF="org/apache/log4j/helpers/package-tree.html">org.apache.log4j.helpers</A>, <A HREF="org/apache/log4j/pattern/package-tree.html">org.apache.log4j.pattern</A>, <A HREF="org/apache/log4j/rolling/package-tree.html">org.apache.log4j.rolling</A>, <A HREF="org/apache/log4j/rolling/helper/package-tree.html">org.apache.log4j.rolling.helper</A>, <A HREF="org/apache/log4j/rule/package-tree.html">org.apache.log4j.rule</A>, <A HREF="org/apache/log4j/spi/package-tree.html">org.apache.log4j.spi</A>, <A HREF="org/apache/log4j/varia/package-tree.html">org.apache.log4j.varia</A>, <A HREF="org/apache/log4j/xml/package-tree.html">org.apache.log4j.xml</A></DL>
+<DT><B>Package Hierarchies:</B><DD><A HREF="org/apache/log4j/package-tree.html">org.apache.log4j</A>, <A HREF="org/apache/log4j/extras/package-tree.html">org.apache.log4j.extras</A>, <A HREF="org/apache/log4j/filter/package-tree.html">org.apache.log4j.filter</A>, <A HREF="org/apache/log4j/helpers/package-tree.html">org.apache.log4j.helpers</A>, <A HREF="org/apache/log4j/pattern/package-tree.html">org.apache.log4j.pattern</A>, <A HREF="org/apache/log4j/rolling/package-tree.html">org.apache.log4j.rolling</A>, <A HREF="org/apache/log4j/rolling/helper/package-tree.html">org.apache.log4j.rolling.helper</A>, <A HREF="org/apache/log4j/rule/package-tree.html">org.apache.log4j.rule</A>, <A HREF="org/apache/log4j/spi/package-tree.html">org.apache.log4j.spi</A>, <A HREF="org/apache/log4j/varia/package-tree.html">org.apache.log4j.varia</A>, <A HREF="org/apache/log4j/xml/package-tree.html">org.apache.log4j.xml</A></DL>
<HR>
<H2>
Class Hierarchy
@@ -107,16 +107,23 @@
</UL>
</UL>
</UL>
+<LI TYPE="circle">org.apache.log4j.extras.<A HREF="org/apache/log4j/extras/DOMConfigurator.html" title="class in org.apache.log4j.extras"><B>DOMConfigurator</B></A> (implements org.apache.log4j.spi.Configurator)
<LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/FileDatePatternConverter.html" title="class in org.apache.log4j.pattern"><B>FileDatePatternConverter</B></A><LI TYPE="circle">org.apache.log4j.spi.Filter (implements org.apache.log4j.spi.OptionHandler)
<UL>
<LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/AndFilter.html" title="class in org.apache.log4j.filter"><B>AndFilter</B></A> (implements org.apache.log4j.xml.<A HREF="org/apache/log4j/xml/UnrecognizedElementHandler.html" title="interface in org.apache.log4j.xml">UnrecognizedElementHandler</A>)
-<LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/DenyAllFilter.html" title="class in org.apache.log4j.filter"><B>DenyAllFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/ExpressionFilter.html" title="class in org.apache.log4j.filter"><B>ExpressionFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LevelMatchFilter.html" title="class in org.apache.log4j.filter"><B>LevelMatchFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LevelRangeFilter.html" title="class in org.apache.log4j.filter"><B>LevelRangeFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LocationInfoFilter.html" title="class in org.apache.log4j.filter"><B>LocationInfoFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LoggerMatchFilter.html" title="class in org.apache.log4j.filter"><B>LoggerMatchFilter<
/B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/StringMatchFilter.html" title="class in org.apache.log4j.filter"><B>StringMatchFilter</B></A></UL>
-<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/FilterBasedTriggeringPolicy.html" title="class in org.apache.log4j.rolling"><B>FilterBasedTriggeringPolicy</B></A> (implements org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/TriggeringPolicy.html" title="interface in org.apache.log4j.rolling">TriggeringPolicy</A>, org.apache.log4j.xml.<A HREF="org/apache/log4j/xml/UnrecognizedElementHandler.html" title="interface in org.apache.log4j.xml">UnrecognizedElementHandler</A>)
+<LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/DenyAllFilter.html" title="class in org.apache.log4j.filter"><B>DenyAllFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/ExpressionFilter.html" title="class in org.apache.log4j.filter"><B>ExpressionFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LevelMatchFilter.html" title="class in org.apache.log4j.filter"><B>LevelMatchFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LevelRangeFilter.html" title="class in org.apache.log4j.filter"><B>LevelRangeFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LocationInfoFilter.html" title="class in org.apache.log4j.filter"><B>LocationInfoFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/LoggerMatchFilter.html" title="class in org.apache.log4j.filter"><B>LoggerMatchFilter<
/B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/StringMatchFilter.html" title="class in org.apache.log4j.filter"><B>StringMatchFilter</B></A><LI TYPE="circle">org.apache.log4j.filter.<A HREF="org/apache/log4j/filter/TimeFilter.html" title="class in org.apache.log4j.filter"><B>TimeFilter</B></A></UL>
+<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/FilterBasedTriggeringPolicy.html" title="class in org.apache.log4j.rolling"><B>FilterBasedTriggeringPolicy</B></A> (implements org.apache.log4j.spi.TriggeringEventEvaluator, org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/TriggeringPolicy.html" title="interface in org.apache.log4j.rolling">TriggeringPolicy</A>, org.apache.log4j.xml.<A HREF="org/apache/log4j/xml/UnrecognizedElementHandler.html" title="interface in org.apache.log4j.xml">UnrecognizedElementHandler</A>)
+<LI TYPE="circle">java.text.Format (implements java.lang.Cloneable, java.io.Serializable)
+<UL>
+<LI TYPE="circle">java.text.DateFormat<UL>
+<LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/CachedDateFormat.html" title="class in org.apache.log4j.pattern"><B>CachedDateFormat</B></A></UL>
+</UL>
<LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/FormattingInfo.html" title="class in org.apache.log4j.pattern"><B>FormattingInfo</B></A><LI TYPE="circle">org.apache.log4j.rule.<A HREF="org/apache/log4j/rule/InFixToPostFix.html" title="class in org.apache.log4j.rule"><B>InFixToPostFix</B></A><LI TYPE="circle">org.apache.log4j.Layout (implements org.apache.log4j.spi.OptionHandler)
<UL>
-<LI TYPE="circle">org.apache.log4j.<A HREF="org/apache/log4j/EnhancedPatternLayout.html" title="class in org.apache.log4j"><B>EnhancedPatternLayout</B></A></UL>
+<LI TYPE="circle">org.apache.log4j.<A HREF="org/apache/log4j/EnhancedPatternLayout.html" title="class in org.apache.log4j"><B>EnhancedPatternLayout</B></A><LI TYPE="circle">org.apache.log4j.xml.<A HREF="org/apache/log4j/xml/XSLTLayout.html" title="class in org.apache.log4j.xml"><B>XSLTLayout</B></A> (implements org.apache.log4j.xml.<A HREF="org/apache/log4j/xml/UnrecognizedElementHandler.html" title="interface in org.apache.log4j.xml">UnrecognizedElementHandler</A>)
+</UL>
<LI TYPE="circle">org.apache.log4j.rule.<A HREF="org/apache/log4j/rule/LevelInequalityRule.html" title="class in org.apache.log4j.rule"><B>LevelInequalityRule</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/LogEvent.html" title="class in org.apache.log4j.pattern"><B>LogEvent</B></A> (implements java.io.Serializable)
-<LI TYPE="circle">org.apache.log4j.spi.<A HREF="org/apache/log4j/spi/LoggingEventFieldResolver.html" title="class in org.apache.log4j.spi"><B>LoggingEventFieldResolver</B></A><LI TYPE="circle">org.apache.log4j.<A HREF="org/apache/log4j/LogMF.html" title="class in org.apache.log4j"><B>LogMF</B></A><LI TYPE="circle">org.apache.log4j.<A HREF="org/apache/log4j/LogSF.html" title="class in org.apache.log4j"><B>LogSF</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/NameAbbreviator.html" title="class in org.apache.log4j.pattern"><B>NameAbbreviator</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/PatternConverter.html" title="class in org.apache.log4j.pattern"><B>PatternConverter</B></A><UL>
+<LI TYPE="circle">org.apache.log4j.spi.<A HREF="org/apache/log4j/spi/LoggingEventFieldResolver.html" title="class in org.apache.log4j.spi"><B>LoggingEventFieldResolver</B></A><LI TYPE="circle">org.apache.log4j.<A HREF="org/apache/log4j/LogMF.html" title="class in org.apache.log4j"><B>LogMF</B></A><LI TYPE="circle">org.apache.log4j.<A HREF="org/apache/log4j/LogSF.html" title="class in org.apache.log4j"><B>LogSF</B></A><LI TYPE="circle">org.apache.log4j.helpers.<A HREF="org/apache/log4j/helpers/MDCKeySetExtractor.html" title="class in org.apache.log4j.helpers"><B>MDCKeySetExtractor</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/NameAbbreviator.html" title="class in org.apache.log4j.pattern"><B>NameAbbreviator</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/PatternConverter.html" title="class in org.apache.log4j.pattern"><B>PatternConverter</B></A><UL>
<LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/IntegerPatternConverter.html" title="class in org.apache.log4j.pattern"><B>IntegerPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/LoggingEventPatternConverter.html" title="class in org.apache.log4j.pattern"><B>LoggingEventPatternConverter</B></A><UL>
<LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/DatePatternConverter.html" title="class in org.apache.log4j.pattern"><B>DatePatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/FileLocationPatternConverter.html" title="class in org.apache.log4j.pattern"><B>FileLocationPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/FullLocationPatternConverter.html" title="class in org.apache.log4j.pattern"><B>FullLocationPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/LevelPatternConverter.html" title="class in org.apache.log4j.pattern"><B>LevelPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/LineLocationPatternConverter.html" title="class in org.apache.log4j.pattern"><B>LineLocationPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="or
g/apache/log4j/pattern/LineSeparatorPatternConverter.html" title="class in org.apache.log4j.pattern"><B>LineSeparatorPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/LiteralPatternConverter.html" title="class in org.apache.log4j.pattern"><B>LiteralPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/MessagePatternConverter.html" title="class in org.apache.log4j.pattern"><B>MessagePatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/MethodLocationPatternConverter.html" title="class in org.apache.log4j.pattern"><B>MethodLocationPatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/NamePatternConverter.html" title="class in org.apache.log4j.pattern"><B>NamePatternConverter</B></A><UL>
<LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/ClassNamePatternConverter.html" title="class in org.apache.log4j.pattern"><B>ClassNamePatternConverter</B></A><LI TYPE="circle">org.apache.log4j.pattern.<A HREF="org/apache/log4j/pattern/LoggerPatternConverter.html" title="class in org.apache.log4j.pattern"><B>LoggerPatternConverter</B></A></UL>
@@ -130,7 +137,6 @@
<LI TYPE="circle">org.apache.log4j.Level<UL>
<LI TYPE="circle">org.apache.log4j.helpers.<A HREF="org/apache/log4j/helpers/UtilLoggingLevel.html" title="class in org.apache.log4j.helpers"><B>UtilLoggingLevel</B></A></UL>
</UL>
-<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/RollingConfigurator.html" title="class in org.apache.log4j.rolling"><B>RollingConfigurator</B></A> (implements org.apache.log4j.spi.Configurator)
<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/RollingPolicyBase.html" title="class in org.apache.log4j.rolling"><B>RollingPolicyBase</B></A> (implements org.apache.log4j.spi.OptionHandler, org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/RollingPolicy.html" title="interface in org.apache.log4j.rolling">RollingPolicy</A>)
<UL>
<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/FixedWindowRollingPolicy.html" title="class in org.apache.log4j.rolling"><B>FixedWindowRollingPolicy</B></A><LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/TimeBasedRollingPolicy.html" title="class in org.apache.log4j.rolling"><B>TimeBasedRollingPolicy</B></A> (implements org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/TriggeringPolicy.html" title="interface in org.apache.log4j.rolling">TriggeringPolicy</A>)
@@ -143,7 +149,7 @@
Interface Hierarchy
</H2>
<UL>
-<LI TYPE="circle">org.apache.log4j.helpers.<A HREF="org/apache/log4j/helpers/Constants.html" title="interface in org.apache.log4j.helpers"><B>Constants</B></A><LI TYPE="circle">org.apache.log4j.spi.OptionHandler<UL>
+<LI TYPE="circle">org.apache.log4j.spi.OptionHandler<UL>
<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/RollingPolicy.html" title="interface in org.apache.log4j.rolling"><B>RollingPolicy</B></A><LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/TriggeringPolicy.html" title="interface in org.apache.log4j.rolling"><B>TriggeringPolicy</B></A></UL>
<LI TYPE="circle">org.apache.log4j.rolling.<A HREF="org/apache/log4j/rolling/RolloverDescription.html" title="interface in org.apache.log4j.rolling"><B>RolloverDescription</B></A><LI TYPE="circle">org.apache.log4j.rule.<A HREF="org/apache/log4j/rule/Rule.html" title="interface in org.apache.log4j.rule"><B>Rule</B></A><LI TYPE="circle">java.lang.Runnable<UL>
<LI TYPE="circle">org.apache.log4j.rolling.helper.<A HREF="org/apache/log4j/rolling/helper/Action.html" title="interface in org.apache.log4j.rolling.helper"><B>Action</B></A></UL>
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/package-list
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/package-list?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/package-list (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/package-list Thu Aug 23 22:43:39 2007
@@ -1,4 +1,5 @@
org.apache.log4j
+org.apache.log4j.extras
org.apache.log4j.filter
org.apache.log4j.helpers
org.apache.log4j.pattern
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/packages
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/packages?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/packages (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/packages Thu Aug 23 22:43:39 2007
@@ -2,6 +2,7 @@
org.apache.log4j.helpers
org.apache.log4j.varia
org.apache.log4j.filter
+org.apache.log4j.extras
org.apache.log4j.rolling.helper
org.apache.log4j.rolling
org.apache.log4j.rule
Modified: logging/site/trunk/docs/log4j/companions/extras/apidocs/serialized-form.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/apidocs/serialized-form.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/apidocs/serialized-form.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/apidocs/serialized-form.html Thu Aug 23 22:43:39 2007
@@ -5,10 +5,10 @@
<!-- Generated by javadoc (build 1.6.0) -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
-Serialized Form (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)
+Serialized Form (Apache Extras Companion for log4j 1.2. 1.0 API)
</TITLE>
-<META NAME="date" CONTENT="2007-07-21">
+<META NAME="date" CONTENT="2007-08-24">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
@@ -16,7 +16,7 @@
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Serialized Form (Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT API)";
+ parent.document.title="Serialized Form (Apache Extras Companion for log4j 1.2. 1.0 API)";
}
}
</SCRIPT>
@@ -176,6 +176,104 @@
<B>Package</B> <B>org.apache.log4j.pattern</B></FONT></TH>
</TR>
</TABLE>
+
+<P>
+<A NAME="org.apache.log4j.pattern.CachedDateFormat"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Class <A HREF="org/apache/log4j/pattern/CachedDateFormat.html" title="class in org.apache.log4j.pattern">org.apache.log4j.pattern.CachedDateFormat</A> extends java.text.DateFormat implements Serializable</B></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="serializedForm"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Serialized Fields</B></FONT></TH>
+</TR>
+</TABLE>
+
+<H3>
+formatter</H3>
+<PRE>
+java.text.DateFormat <B>formatter</B></PRE>
+<DL>
+<DD>Wrapped formatter.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+<H3>
+millisecondStart</H3>
+<PRE>
+int <B>millisecondStart</B></PRE>
+<DL>
+<DD>Index of initial digit of millisecond pattern or
+ UNRECOGNIZED_MILLISECONDS or NO_MILLISECONDS.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+<H3>
+slotBegin</H3>
+<PRE>
+long <B>slotBegin</B></PRE>
+<DL>
+<DD>Integral second preceding the previous convered Date.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+<H3>
+cache</H3>
+<PRE>
+java.lang.StringBuffer <B>cache</B></PRE>
+<DL>
+<DD>Cache of previous conversion.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+<H3>
+expiration</H3>
+<PRE>
+int <B>expiration</B></PRE>
+<DL>
+<DD>Maximum validity period for the cache.
+ Typically 1, use cache for duplicate requests only, or
+ 1000, use cache for requests within the same integral second.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+<H3>
+previousTime</H3>
+<PRE>
+long <B>previousTime</B></PRE>
+<DL>
+<DD>Date requested in previous conversion.
+<P>
+<DL>
+</DL>
+</DL>
+<HR>
+<H3>
+tmpDate</H3>
+<PRE>
+java.util.Date <B>tmpDate</B></PRE>
+<DL>
+<DD>Scratch date object used to minimize date object creation.
+<P>
+<DL>
+</DL>
+</DL>
<P>
<A NAME="org.apache.log4j.pattern.LogEvent"><!-- --></A>
Modified: logging/site/trunk/docs/log4j/companions/extras/css/site.css
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/css/site.css?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/css/site.css (original)
+++ logging/site/trunk/docs/log4j/companions/extras/css/site.css Thu Aug 23 22:43:39 2007
@@ -1 +1,18 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+*/
Modified: logging/site/trunk/docs/log4j/companions/extras/project-info.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/project-info.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/project-info.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/project-info.html Thu Aug 23 22:43:39 2007
@@ -45,7 +45,7 @@
<div class="xleft">
- Last Published: 07/21/2007
+ Last Published: 08/24/2007
|
<a href="http://www.apache.org/">Apache</a>
>
Modified: logging/site/trunk/docs/log4j/companions/extras/project-reports.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/project-reports.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/project-reports.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/project-reports.html Thu Aug 23 22:43:39 2007
@@ -45,7 +45,7 @@
<div class="xleft">
- Last Published: 07/21/2007
+ Last Published: 08/24/2007
|
<a href="http://www.apache.org/">Apache</a>
>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/allclasses-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/allclasses-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/allclasses-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/allclasses-frame.html Thu Aug 23 22:43:39 2007
@@ -102,6 +102,9 @@
<a href="org/apache/log4j/rolling/TimeBasedRollingTest.html" target="classFrame">TimeBasedRollingTest</a>
</li>
<li>
+ <a href="org/apache/log4j/filter/TimeFilterTest.html" target="classFrame">TimeFilterTest</a>
+ </li>
+ <li>
<a href="org/apache/log4j/util/Transformer.html" target="classFrame">Transformer</a>
</li>
<li>
@@ -109,6 +112,21 @@
</li>
<li>
<a href="org/apache/log4j/VectorAppender.html" target="classFrame">VectorAppender</a>
+ </li>
+ <li>
+ <a href="org/apache/log4j/util/XMLDateFilter.html" target="classFrame">XMLDateFilter</a>
+ </li>
+ <li>
+ <a href="org/apache/log4j/util/XMLLineAttributeFilter.html" target="classFrame">XMLLineAttributeFilter</a>
+ </li>
+ <li>
+ <a href="org/apache/log4j/util/XMLTimestampFilter.html" target="classFrame">XMLTimestampFilter</a>
+ </li>
+ <li>
+ <a href="org/apache/log4j/xml/XSLTLayoutTest.html" target="classFrame">XSLTLayoutTest</a>
+ </li>
+ <li>
+ <a href="org/apache/log4j/xml/XSLTLayoutTestCase.html" target="classFrame">XSLTLayoutTestCase</a>
</li>
</ul>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/index.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/index.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/index.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/index.html Thu Aug 23 22:43:39 2007
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT Reference</title>
+ <title>Apache Extras Companion for log4j 1.2. 1.0 Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/SimpleFilterTest.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/SimpleFilterTest.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/SimpleFilterTest.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/SimpleFilterTest.html Thu Aug 23 22:43:39 2007
@@ -35,7 +35,7 @@
<a name="26" href="#26">26</a> <strong>import</strong> org.apache.log4j.util.LineNumberFilter;
<a name="27" href="#27">27</a> <strong>import</strong> org.apache.log4j.util.SunReflectFilter;
<a name="28" href="#28">28</a> <strong>import</strong> org.apache.log4j.util.Transformer;
-<a name="29" href="#29">29</a> <strong>import</strong> org.apache.log4j.rolling.RollingConfigurator;
+<a name="29" href="#29">29</a> <strong>import</strong> org.apache.log4j.extras.DOMConfigurator;
<a name="30" href="#30">30</a> <strong>import</strong> org.apache.log4j.xml.Log4jEntityResolver;
<a name="31" href="#31">31</a> <strong>import</strong> org.w3c.dom.Document;
<a name="32" href="#32">32</a>
@@ -88,7 +88,7 @@
<a name="79" href="#79">79</a> DocumentBuilder builder = factory.newDocumentBuilder();
<a name="80" href="#80">80</a> builder.setEntityResolver(<strong>new</strong> Log4jEntityResolver());
<a name="81" href="#81">81</a> Document doc = builder.parse(is);
-<a name="82" href="#82">82</a> RollingConfigurator.configure(doc.getDocumentElement());
+<a name="82" href="#82">82</a> DOMConfigurator.configure(doc.getDocumentElement());
<a name="83" href="#83">83</a> }
<a name="84" href="#84">84</a>
<a name="85" href="#85">85</a> <strong>public</strong> <strong>void</strong> test1() throws Exception {
Added: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/TimeFilterTest.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/TimeFilterTest.html?rev=569257&view=auto
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/TimeFilterTest.html (added)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/TimeFilterTest.html Thu Aug 23 22:43:39 2007
@@ -0,0 +1,279 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>TimeFilterTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../../../apidocs/org/apache/log4j/filter/TimeFilterTest.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <em class="comment">/*</em>
+<a name="2" href="#2">2</a> <em class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="3" href="#3">3</a> <em class="comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a name="4" href="#4">4</a> <em class="comment"> * this work for additional information regarding copyright ownership.</em>
+<a name="5" href="#5">5</a> <em class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="6" href="#6">6</a> <em class="comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="7" href="#7">7</a> <em class="comment"> * the License. You may obtain a copy of the License at</em>
+<a name="8" href="#8">8</a> <em class="comment"> *</em>
+<a name="9" href="#9">9</a> <em class="comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="10" href="#10">10</a> <em class="comment"> *</em>
+<a name="11" href="#11">11</a> <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="12" href="#12">12</a> <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="13" href="#13">13</a> <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="14" href="#14">14</a> <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="15" href="#15">15</a> <em class="comment"> * limitations under the License.</em>
+<a name="16" href="#16">16</a> <em class="comment"> */</em>
+<a name="17" href="#17">17</a> <strong>package</strong> org.apache.log4j.filter;
+<a name="18" href="#18">18</a>
+<a name="19" href="#19">19</a> <strong>import</strong> junit.framework.TestCase;
+<a name="20" href="#20">20</a> <strong>import</strong> org.apache.log4j.Level;
+<a name="21" href="#21">21</a> <strong>import</strong> org.apache.log4j.Logger;
+<a name="22" href="#22">22</a> <strong>import</strong> org.apache.log4j.extras.DOMConfigurator;
+<a name="23" href="#23">23</a> <strong>import</strong> org.apache.log4j.spi.Filter;
+<a name="24" href="#24">24</a> <strong>import</strong> org.apache.log4j.spi.LoggingEvent;
+<a name="25" href="#25">25</a> <strong>import</strong> org.apache.log4j.util.Compare;
+<a name="26" href="#26">26</a> <strong>import</strong> org.apache.log4j.xml.Log4jEntityResolver;
+<a name="27" href="#27">27</a> <strong>import</strong> org.w3c.dom.Document;
+<a name="28" href="#28">28</a>
+<a name="29" href="#29">29</a> <strong>import</strong> javax.xml.parsers.DocumentBuilder;
+<a name="30" href="#30">30</a> <strong>import</strong> javax.xml.parsers.DocumentBuilderFactory;
+<a name="31" href="#31">31</a> <strong>import</strong> java.io.FileNotFoundException;
+<a name="32" href="#32">32</a> <strong>import</strong> java.io.InputStream;
+<a name="33" href="#33">33</a> <strong>import</strong> java.util.Calendar;
+<a name="34" href="#34">34</a> <strong>import</strong> java.util.TimeZone;
+<a name="35" href="#35">35</a>
+<a name="36" href="#36">36</a> <em>/**<em>*</em></em>
+<a name="37" href="#37">37</a> <em> * Tests for TimeFilter.</em>
+<a name="38" href="#38">38</a> <em> *</em>
+<a name="39" href="#39">39</a> <em> */</em>
+<a name="40" href="#40">40</a> <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/log4j/filter/TimeFilterTest.html">TimeFilterTest</a> <strong>extends</strong> TestCase {
+<a name="41" href="#41">41</a> <em>/**<em>*</em></em>
+<a name="42" href="#42">42</a> <em> * Construct new instance.</em>
+<a name="43" href="#43">43</a> <em> * @param testName test name.</em>
+<a name="44" href="#44">44</a> <em> */</em>
+<a name="45" href="#45">45</a> <strong>public</strong> <a href="../../../../org/apache/log4j/filter/TimeFilterTest.html">TimeFilterTest</a>(<strong>final</strong> String testName) {
+<a name="46" href="#46">46</a> <strong>super</strong>(testName);
+<a name="47" href="#47">47</a> }
+<a name="48" href="#48">48</a>
+<a name="49" href="#49">49</a> <em>/**<em>*</em></em>
+<a name="50" href="#50">50</a> <em> * Configure log4j from resource.</em>
+<a name="51" href="#51">51</a> <em> * @param resourceName resource name.</em>
+<a name="52" href="#52">52</a> <em> * @throws Exception if IO or other error.</em>
+<a name="53" href="#53">53</a> <em> */</em>
+<a name="54" href="#54">54</a> <strong>private</strong> <strong>final</strong> <strong>void</strong> configure(<strong>final</strong> String resourceName) throws Exception {
+<a name="55" href="#55">55</a> Logger.getRootLogger().getLoggerRepository().resetConfiguration();
+<a name="56" href="#56">56</a> InputStream is = getClass().getResourceAsStream(resourceName);
+<a name="57" href="#57">57</a> <strong>if</strong> (is == <strong>null</strong>) {
+<a name="58" href="#58">58</a> <strong>throw</strong> <strong>new</strong> FileNotFoundException(
+<a name="59" href="#59">59</a> <span class="string">"Could not find resource "</span> + resourceName);
+<a name="60" href="#60">60</a> }
+<a name="61" href="#61">61</a> DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+<a name="62" href="#62">62</a> DocumentBuilder builder = factory.newDocumentBuilder();
+<a name="63" href="#63">63</a> builder.setEntityResolver(<strong>new</strong> Log4jEntityResolver());
+<a name="64" href="#64">64</a> Document doc = builder.parse(is);
+<a name="65" href="#65">65</a> DOMConfigurator.configure(doc.getDocumentElement());
+<a name="66" href="#66">66</a> }
+<a name="67" href="#67">67</a>
+<a name="68" href="#68">68</a>
+<a name="69" href="#69">69</a> <em>/**<em>*</em></em>
+<a name="70" href="#70">70</a> <em> * Test 2 AM events against a 2 AM - 3 AM filter.</em>
+<a name="71" href="#71">71</a> <em> * @param tz time zone, may be null.</em>
+<a name="72" href="#72">72</a> <em> * @param dayIncrement days in advance of current date.</em>
+<a name="73" href="#73">73</a> <em> */</em>
+<a name="74" href="#74">74</a> <strong>private</strong> <strong>void</strong> common2AM(String tz, <strong>int</strong> dayIncrement) {
+<a name="75" href="#75">75</a> TimeFilter timeFilter = <strong>new</strong> TimeFilter();
+<a name="76" href="#76">76</a> timeFilter.setStart(<span class="string">"02:00:00"</span>);
+<a name="77" href="#77">77</a> timeFilter.setEnd(<span class="string">"03:00:00"</span>);
+<a name="78" href="#78">78</a> <strong>if</strong> (tz != <strong>null</strong>) {
+<a name="79" href="#79">79</a> timeFilter.setTimeZone(tz);
+<a name="80" href="#80">80</a> }
+<a name="81" href="#81">81</a> timeFilter.activateOptions();
+<a name="82" href="#82">82</a>
+<a name="83" href="#83">83</a> Calendar cal;
+<a name="84" href="#84">84</a> <strong>if</strong> (tz == <strong>null</strong>) {
+<a name="85" href="#85">85</a> cal = Calendar.getInstance();
+<a name="86" href="#86">86</a> } <strong>else</strong> {
+<a name="87" href="#87">87</a> cal = Calendar.getInstance(TimeZone.getTimeZone(tz));
+<a name="88" href="#88">88</a> }
+<a name="89" href="#89">89</a> cal.set(Calendar.HOUR_OF_DAY, 2);
+<a name="90" href="#90">90</a> <strong>if</strong> (dayIncrement != 0) {
+<a name="91" href="#91">91</a> cal.set(Calendar.DAY_OF_YEAR, cal.get(Calendar.DAY_OF_YEAR) + dayIncrement);
+<a name="92" href="#92">92</a> }
+<a name="93" href="#93">93</a> LoggingEvent event = <strong>new</strong> LoggingEvent(<span class="string">"org.apache.log4j.Logger"</span>,
+<a name="94" href="#94">94</a> Logger.getLogger(TimeFilterTest.<strong>class</strong>),
+<a name="95" href="#95">95</a> cal.getTimeInMillis(), Level.INFO, <span class="string">"Hello, world."</span>, <strong>null</strong>);
+<a name="96" href="#96">96</a> assertEquals(Filter.ACCEPT, timeFilter.decide(event));
+<a name="97" href="#97">97</a> timeFilter.setAcceptOnMatch(false);
+<a name="98" href="#98">98</a> assertEquals(Filter.DENY, timeFilter.decide(event));
+<a name="99" href="#99">99</a> }
+<a name="100" href="#100">100</a>
+<a name="101" href="#101">101</a> <em>/**<em>*</em></em>
+<a name="102" href="#102">102</a> <em> * Test 3 AM events against a 2 AM - 3 AM filter.</em>
+<a name="103" href="#103">103</a> <em> * @param tz time zone, may be null.</em>
+<a name="104" href="#104">104</a> <em> * @param dayIncrement days in advance of current date.</em>
+<a name="105" href="#105">105</a> <em> */</em>
+<a name="106" href="#106">106</a> <strong>private</strong> <strong>void</strong> common3AM(String tz, <strong>int</strong> dayIncrement) {
+<a name="107" href="#107">107</a> TimeFilter timeFilter = <strong>new</strong> TimeFilter();
+<a name="108" href="#108">108</a> timeFilter.setStart(<span class="string">"02:00:00"</span>);
+<a name="109" href="#109">109</a> timeFilter.setEnd(<span class="string">"03:00:00"</span>);
+<a name="110" href="#110">110</a> <strong>if</strong> (tz != <strong>null</strong>) {
+<a name="111" href="#111">111</a> timeFilter.setTimeZone(tz);
+<a name="112" href="#112">112</a> }
+<a name="113" href="#113">113</a> timeFilter.activateOptions();
+<a name="114" href="#114">114</a>
+<a name="115" href="#115">115</a> Calendar cal;
+<a name="116" href="#116">116</a> <strong>if</strong> (tz == <strong>null</strong>) {
+<a name="117" href="#117">117</a> cal = Calendar.getInstance();
+<a name="118" href="#118">118</a> } <strong>else</strong> {
+<a name="119" href="#119">119</a> cal = Calendar.getInstance(TimeZone.getTimeZone(tz));
+<a name="120" href="#120">120</a> }
+<a name="121" href="#121">121</a> cal.set(Calendar.HOUR_OF_DAY, 3);
+<a name="122" href="#122">122</a> <strong>if</strong> (dayIncrement != 0) {
+<a name="123" href="#123">123</a> cal.set(Calendar.DAY_OF_YEAR, cal.get(Calendar.DAY_OF_YEAR) + dayIncrement);
+<a name="124" href="#124">124</a> }
+<a name="125" href="#125">125</a> LoggingEvent event = <strong>new</strong> LoggingEvent(<span class="string">"org.apache.log4j.Logger"</span>,
+<a name="126" href="#126">126</a> Logger.getLogger(TimeFilterTest.<strong>class</strong>),
+<a name="127" href="#127">127</a> cal.getTimeInMillis(), Level.INFO, <span class="string">"Hello, world."</span>, <strong>null</strong>);
+<a name="128" href="#128">128</a> assertEquals(Filter.NEUTRAL, timeFilter.decide(event));
+<a name="129" href="#129">129</a> timeFilter.setAcceptOnMatch(false);
+<a name="130" href="#130">130</a> assertEquals(Filter.NEUTRAL, timeFilter.decide(event));
+<a name="131" href="#131">131</a> timeFilter.setAcceptOnMatch(<strong>true</strong>);
+<a name="132" href="#132">132</a> }
+<a name="133" href="#133">133</a>
+<a name="134" href="#134">134</a> <em>/**<em>*</em></em>
+<a name="135" href="#135">135</a> <em> * Test 2 AM local today event against 2 AM - 3 AM local time filter.</em>
+<a name="136" href="#136">136</a> <em> */</em>
+<a name="137" href="#137">137</a> <strong>public</strong> <strong>void</strong> test2AMLocal() {
+<a name="138" href="#138">138</a> common2AM(<strong>null</strong>, 0);
+<a name="139" href="#139">139</a> }
+<a name="140" href="#140">140</a>
+<a name="141" href="#141">141</a> <em>/**<em>*</em></em>
+<a name="142" href="#142">142</a> <em> * Test 2 AM local yesterday event against 2 AM - 3 AM local time filter.</em>
+<a name="143" href="#143">143</a> <em> */</em>
+<a name="144" href="#144">144</a> <strong>public</strong> <strong>void</strong> test2AMLocalYesterday() {
+<a name="145" href="#145">145</a> common2AM(<strong>null</strong>, -1);
+<a name="146" href="#146">146</a> }
+<a name="147" href="#147">147</a>
+<a name="148" href="#148">148</a> <em>/**<em>*</em></em>
+<a name="149" href="#149">149</a> <em> * Test 2 AM local tomorrow event against 2 AM - 3 AM local time filter.</em>
+<a name="150" href="#150">150</a> <em> */</em>
+<a name="151" href="#151">151</a> <strong>public</strong> <strong>void</strong> test2AMLocalTomorrow() {
+<a name="152" href="#152">152</a> common2AM(<strong>null</strong>, 1);
+<a name="153" href="#153">153</a> }
+<a name="154" href="#154">154</a>
+<a name="155" href="#155">155</a> <em>/**<em>*</em></em>
+<a name="156" href="#156">156</a> <em> * Test 2 AM local last week event against 2 AM - 3 AM local time filter.</em>
+<a name="157" href="#157">157</a> <em> */</em>
+<a name="158" href="#158">158</a> <strong>public</strong> <strong>void</strong> test2AMLocalLastWeek() {
+<a name="159" href="#159">159</a> common2AM(<strong>null</strong>, -7);
+<a name="160" href="#160">160</a> }
+<a name="161" href="#161">161</a>
+<a name="162" href="#162">162</a> <em>/**<em>*</em></em>
+<a name="163" href="#163">163</a> <em> * Test 2 AM local next week event against 2 AM - 3 AM local time filter.</em>
+<a name="164" href="#164">164</a> <em> */</em>
+<a name="165" href="#165">165</a> <strong>public</strong> <strong>void</strong> test2AMLocalNextWeek() {
+<a name="166" href="#166">166</a> common2AM(<strong>null</strong>, 7);
+<a name="167" href="#167">167</a> }
+<a name="168" href="#168">168</a>
+<a name="169" href="#169">169</a> <em>/**<em>*</em></em>
+<a name="170" href="#170">170</a> <em> * Test 3 AM local today event against 2 AM - 3 AM local time filter.</em>
+<a name="171" href="#171">171</a> <em> */</em>
+<a name="172" href="#172">172</a> <strong>public</strong> <strong>void</strong> test3AMLocal() {
+<a name="173" href="#173">173</a> common3AM(<strong>null</strong>, 0);
+<a name="174" href="#174">174</a> }
+<a name="175" href="#175">175</a>
+<a name="176" href="#176">176</a> <em>/**<em>*</em></em>
+<a name="177" href="#177">177</a> <em> * Test 3 AM local yesterday event against 2 AM - 3 AM local time filter.</em>
+<a name="178" href="#178">178</a> <em> */</em>
+<a name="179" href="#179">179</a> <strong>public</strong> <strong>void</strong> test3AMLocalYesterday() {
+<a name="180" href="#180">180</a> common3AM(<strong>null</strong>, -1);
+<a name="181" href="#181">181</a> }
+<a name="182" href="#182">182</a>
+<a name="183" href="#183">183</a> <em>/**<em>*</em></em>
+<a name="184" href="#184">184</a> <em> * Test 3 AM local tomorrow event against 2 AM - 3 AM local time filter.</em>
+<a name="185" href="#185">185</a> <em> */</em>
+<a name="186" href="#186">186</a> <strong>public</strong> <strong>void</strong> test3AMLocalTomorrow() {
+<a name="187" href="#187">187</a> common3AM(<strong>null</strong>, 1);
+<a name="188" href="#188">188</a> }
+<a name="189" href="#189">189</a>
+<a name="190" href="#190">190</a> <em>/**<em>*</em></em>
+<a name="191" href="#191">191</a> <em> * Test 3 AM local last week event against 2 AM - 3 AM local time filter.</em>
+<a name="192" href="#192">192</a> <em> */</em>
+<a name="193" href="#193">193</a> <strong>public</strong> <strong>void</strong> test3AMLocalLastWeek() {
+<a name="194" href="#194">194</a> common3AM(<strong>null</strong>, -7);
+<a name="195" href="#195">195</a> }
+<a name="196" href="#196">196</a>
+<a name="197" href="#197">197</a> <em>/**<em>*</em></em>
+<a name="198" href="#198">198</a> <em> * Test 3 AM local next week event against 2 AM - 3 AM local time filter.</em>
+<a name="199" href="#199">199</a> <em> */</em>
+<a name="200" href="#200">200</a> <strong>public</strong> <strong>void</strong> test3AMLocalNextWeek() {
+<a name="201" href="#201">201</a> common3AM(<strong>null</strong>, 7);
+<a name="202" href="#202">202</a> }
+<a name="203" href="#203">203</a>
+<a name="204" href="#204">204</a> <em>/**<em>*</em></em>
+<a name="205" href="#205">205</a> <em> * Test 2 AM UTC today event against 2 AM - 3 AM GMT filter.</em>
+<a name="206" href="#206">206</a> <em> */</em>
+<a name="207" href="#207">207</a> <strong>public</strong> <strong>void</strong> test2AMGMT() {
+<a name="208" href="#208">208</a> common2AM(<span class="string">"GMT"</span>, 0);
+<a name="209" href="#209">209</a> }
+<a name="210" href="#210">210</a>
+<a name="211" href="#211">211</a> <em>/**<em>*</em></em>
+<a name="212" href="#212">212</a> <em> * Test 3 AM UTC today event against 2 AM - 3 AM GMT filter.</em>
+<a name="213" href="#213">213</a> <em> */</em>
+<a name="214" href="#214">214</a> <strong>public</strong> <strong>void</strong> test3AMGMT() {
+<a name="215" href="#215">215</a> common3AM(<span class="string">"GMT"</span>, 0);
+<a name="216" href="#216">216</a> }
+<a name="217" href="#217">217</a>
+<a name="218" href="#218">218</a> <em>/**<em>*</em></em>
+<a name="219" href="#219">219</a> <em> * Log events every 15 minutes from midnight to midnight in</em>
+<a name="220" href="#220">220</a> <em> * using specified calendar.</em>
+<a name="221" href="#221">221</a> <em> * @param cal calendar.</em>
+<a name="222" href="#222">222</a> <em> */</em>
+<a name="223" href="#223">223</a> <strong>private</strong> <strong>void</strong> common(Calendar cal) {
+<a name="224" href="#224">224</a> Logger logger = Logger.getLogger(TimeFilterTest.<strong>class</strong>);
+<a name="225" href="#225">225</a> cal.set(Calendar.HOUR_OF_DAY, 0);
+<a name="226" href="#226">226</a> cal.set(Calendar.MINUTE, 0);
+<a name="227" href="#227">227</a> cal.set(Calendar.SECOND, 0);
+<a name="228" href="#228">228</a> cal.set(Calendar.MILLISECOND, 0);
+<a name="229" href="#229">229</a> <strong>for</strong> (<strong>int</strong> hour = 0; hour < 24; hour++) {
+<a name="230" href="#230">230</a> <strong>for</strong> (<strong>int</strong> minute = 0; minute < 60; minute += 15) {
+<a name="231" href="#231">231</a> cal.set(Calendar.HOUR_OF_DAY, hour);
+<a name="232" href="#232">232</a> cal.set(Calendar.MINUTE, minute);
+<a name="233" href="#233">233</a> LoggingEvent event = <strong>new</strong> LoggingEvent(<span class="string">"org.apache.log4j.Logger"</span>,
+<a name="234" href="#234">234</a> logger,
+<a name="235" href="#235">235</a> cal.getTimeInMillis(), Level.INFO, <span class="string">"Hello, world."</span>, <strong>null</strong>);
+<a name="236" href="#236">236</a> logger.callAppenders(event);
+<a name="237" href="#237">237</a> }
+<a name="238" href="#238">238</a> }
+<a name="239" href="#239">239</a> }
+<a name="240" href="#240">240</a>
+<a name="241" href="#241">241</a>
+<a name="242" href="#242">242</a> <em>/**<em>*</em></em>
+<a name="243" href="#243">243</a> <em> * Test 2 AM-3AM local time accept on match filter.</em>
+<a name="244" href="#244">244</a> <em> * @throws Exception if IO exception.</em>
+<a name="245" href="#245">245</a> <em> */</em>
+<a name="246" href="#246">246</a> <strong>public</strong> <strong>void</strong> testConfig1() throws Exception {
+<a name="247" href="#247">247</a> configure(<span class="string">"timeFilter1.xml"</span>);
+<a name="248" href="#248">248</a> common(Calendar.getInstance());
+<a name="249" href="#249">249</a>
+<a name="250" href="#250">250</a> assertTrue(Compare.compare(TimeFilterTest.<strong>class</strong>,
+<a name="251" href="#251">251</a> <span class="string">"timeFilter.1"</span>, <span class="string">"timeFilter1.log"</span>));
+<a name="252" href="#252">252</a> }
+<a name="253" href="#253">253</a>
+<a name="254" href="#254">254</a> <em>/**<em>*</em></em>
+<a name="255" href="#255">255</a> <em> * Test 2 AM-3AM UTC reject on match filter.</em>
+<a name="256" href="#256">256</a> <em> * @throws Exception if IO exception.</em>
+<a name="257" href="#257">257</a> <em> */</em>
+<a name="258" href="#258">258</a> <strong>public</strong> <strong>void</strong> testConfig2() throws Exception {
+<a name="259" href="#259">259</a> configure(<span class="string">"timeFilter2.xml"</span>);
+<a name="260" href="#260">260</a> common(Calendar.getInstance(TimeZone.getTimeZone(<span class="string">"GMT"</span>)));
+<a name="261" href="#261">261</a>
+<a name="262" href="#262">262</a> assertTrue(Compare.compare(TimeFilterTest.<strong>class</strong>,
+<a name="263" href="#263">263</a> <span class="string">"timeFilter.2"</span>, <span class="string">"timeFilter2.log"</span>));
+<a name="264" href="#264">264</a> }
+<a name="265" href="#265">265</a>
+<a name="266" href="#266">266</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Propchange: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/TimeFilterTest.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-frame.html Thu Aug 23 22:43:39 2007
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT Reference Package org.apache.log4j.filter</title>
+ <title>Apache Extras Companion for log4j 1.2. 1.0 Reference Package org.apache.log4j.filter</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -17,6 +17,9 @@
<ul>
<li>
<a href="SimpleFilterTest.html" target="classFrame">SimpleFilterTest</a>
+ </li>
+ <li>
+ <a href="TimeFilterTest.html" target="classFrame">TimeFilterTest</a>
</li>
</ul>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-summary.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-summary.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-summary.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/filter/package-summary.html Thu Aug 23 22:43:39 2007
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT Reference Package $name</title>
+ <title>Apache Extras Companion for log4j 1.2. 1.0 Reference Package $name</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -38,6 +38,11 @@
<tr>
<td>
<a href="SimpleFilterTest.html" target="classFrame">SimpleFilterTest</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="TimeFilterTest.html" target="classFrame">TimeFilterTest</a>
</td>
</tr>
</tbody>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-frame.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-frame.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-frame.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-frame.html Thu Aug 23 22:43:39 2007
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT Reference Package org.apache.log4j</title>
+ <title>Apache Extras Companion for log4j 1.2. 1.0 Reference Package org.apache.log4j</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="style" />
</head>
<body>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-summary.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-summary.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-summary.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/package-summary.html Thu Aug 23 22:43:39 2007
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache Extras Companion for log4j 1.2. 1.0-SNAPSHOT Reference Package $name</title>
+ <title>Apache Extras Companion for log4j 1.2. 1.0 Reference Package $name</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="style" />
</head>
<body>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/CachedDateFormatTest.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/CachedDateFormatTest.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/CachedDateFormatTest.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/CachedDateFormatTest.html Thu Aug 23 22:43:39 2007
@@ -42,7 +42,7 @@
<a name="33" href="#33">33</a> <em>/**<em>*</em></em>
<a name="34" href="#34">34</a> <em> Unit test {@link AbsoluteTimeDateFormat}.</em>
<a name="35" href="#35">35</a> <em> @author Curt Arnold</em>
-<a name="36" href="#36">36</a> <em> @since 1.3.0 */</em>
+<a name="36" href="#36">36</a> <em> */</em>
<a name="37" href="#37">37</a> <strong>public</strong> <strong>final</strong> <strong>class</strong> <a href="../../../../org/apache/log4j/pattern/CachedDateFormatTest.html">CachedDateFormatTest</a>
<a name="38" href="#38">38</a> <strong>extends</strong> TestCase {
<a name="39" href="#39">39</a>
Modified: logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/FormattingInfoTest.html
URL: http://svn.apache.org/viewvc/logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/FormattingInfoTest.html?rev=569257&r1=569256&r2=569257&view=diff
==============================================================================
--- logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/FormattingInfoTest.html (original)
+++ logging/site/trunk/docs/log4j/companions/extras/xref-test/org/apache/log4j/pattern/FormattingInfoTest.html Thu Aug 23 22:43:39 2007
@@ -33,74 +33,73 @@
<a name="24" href="#24">24</a> <em> * Tests for FormattingInfo.</em>
<a name="25" href="#25">25</a> <em> *</em>
<a name="26" href="#26">26</a> <em> * @author Curt Arnold</em>
-<a name="27" href="#27">27</a> <em> * @since 1.3</em>
-<a name="28" href="#28">28</a> <em> *</em>
-<a name="29" href="#29">29</a> <em> */</em>
-<a name="30" href="#30">30</a> <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/log4j/pattern/FormattingInfoTest.html">FormattingInfoTest</a> <strong>extends</strong> TestCase {
-<a name="31" href="#31">31</a> <em>/**<em>*</em></em>
-<a name="32" href="#32">32</a> <em> * Create a new instance.</em>
-<a name="33" href="#33">33</a> <em> *</em>
-<a name="34" href="#34">34</a> <em> * @param name test name</em>
-<a name="35" href="#35">35</a> <em> */</em>
-<a name="36" href="#36">36</a> <strong>public</strong> <a href="../../../../org/apache/log4j/pattern/FormattingInfoTest.html">FormattingInfoTest</a>(<strong>final</strong> String name) {
-<a name="37" href="#37">37</a> <strong>super</strong>(name);
-<a name="38" href="#38">38</a> }
-<a name="39" href="#39">39</a>
-<a name="40" href="#40">40</a> <em>/**<em>*</em></em>
-<a name="41" href="#41">41</a> <em> * Check that getDefault does not return null.</em>
-<a name="42" href="#42">42</a> <em> *</em>
-<a name="43" href="#43">43</a> <em> */</em>
-<a name="44" href="#44">44</a> <strong>public</strong> <strong>void</strong> testGetDefault() {
-<a name="45" href="#45">45</a> FormattingInfo field = FormattingInfo.getDefault();
-<a name="46" href="#46">46</a> assertNotNull(field);
-<a name="47" href="#47">47</a> assertEquals(0, field.getMinLength());
-<a name="48" href="#48">48</a> assertEquals(Integer.MAX_VALUE, field.getMaxLength());
-<a name="49" href="#49">49</a> assertEquals(false, field.isLeftAligned());
-<a name="50" href="#50">50</a> }
-<a name="51" href="#51">51</a>
-<a name="52" href="#52">52</a> <em>/**<em>*</em></em>
-<a name="53" href="#53">53</a> <em> * Check constructor</em>
-<a name="54" href="#54">54</a> <em> *</em>
-<a name="55" href="#55">55</a> <em> */</em>
-<a name="56" href="#56">56</a> <strong>public</strong> <strong>void</strong> testConstructor() {
-<a name="57" href="#57">57</a> FormattingInfo field = <strong>new</strong> FormattingInfo(<strong>true</strong>, 3, 6);
-<a name="58" href="#58">58</a> assertNotNull(field);
-<a name="59" href="#59">59</a> assertEquals(3, field.getMinLength());
-<a name="60" href="#60">60</a> assertEquals(6, field.getMaxLength());
-<a name="61" href="#61">61</a> assertEquals(<strong>true</strong>, field.isLeftAligned());
-<a name="62" href="#62">62</a> }
-<a name="63" href="#63">63</a>
-<a name="64" href="#64">64</a> <em>/**<em>*</em></em>
-<a name="65" href="#65">65</a> <em> * Field exceeds maximum width</em>
-<a name="66" href="#66">66</a> <em> */</em>
-<a name="67" href="#67">67</a> <strong>public</strong> <strong>void</strong> testTruncate() {
-<a name="68" href="#68">68</a> StringBuffer buf = <strong>new</strong> StringBuffer(<span class="string">"foobar"</span>);
-<a name="69" href="#69">69</a> FormattingInfo field = <strong>new</strong> FormattingInfo(<strong>true</strong>, 0, 3);
-<a name="70" href="#70">70</a> field.format(2, buf);
-<a name="71" href="#71">71</a> assertEquals(<span class="string">"fobar"</span>, buf.toString());
-<a name="72" href="#72">72</a> }
-<a name="73" href="#73">73</a>
-<a name="74" href="#74">74</a> <em>/**<em>*</em></em>
-<a name="75" href="#75">75</a> <em> * Add padding to left since field is not minimum width.</em>
-<a name="76" href="#76">76</a> <em> */</em>
-<a name="77" href="#77">77</a> <strong>public</strong> <strong>void</strong> testPadLeft() {
-<a name="78" href="#78">78</a> StringBuffer buf = <strong>new</strong> StringBuffer(<span class="string">"foobar"</span>);
-<a name="79" href="#79">79</a> FormattingInfo field = <strong>new</strong> FormattingInfo(false, 5, 10);
-<a name="80" href="#80">80</a> field.format(2, buf);
-<a name="81" href="#81">81</a> assertEquals(<span class="string">"fo obar"</span>, buf.toString());
-<a name="82" href="#82">82</a> }
-<a name="83" href="#83">83</a>
-<a name="84" href="#84">84</a> <em>/**<em>*</em></em>
-<a name="85" href="#85">85</a> <em> * Add padding to right since field is not minimum width.</em>
-<a name="86" href="#86">86</a> <em> */</em>
-<a name="87" href="#87">87</a> <strong>public</strong> <strong>void</strong> testPadRight() {
-<a name="88" href="#88">88</a> StringBuffer buf = <strong>new</strong> StringBuffer(<span class="string">"foobar"</span>);
-<a name="89" href="#89">89</a> FormattingInfo field = <strong>new</strong> FormattingInfo(<strong>true</strong>, 5, 10);
-<a name="90" href="#90">90</a> field.format(2, buf);
-<a name="91" href="#91">91</a> assertEquals(<span class="string">"foobar "</span>, buf.toString());
-<a name="92" href="#92">92</a> }
-<a name="93" href="#93">93</a>
-<a name="94" href="#94">94</a> }
+<a name="27" href="#27">27</a> <em> *</em>
+<a name="28" href="#28">28</a> <em> */</em>
+<a name="29" href="#29">29</a> <strong>public</strong> <strong>class</strong> <a href="../../../../org/apache/log4j/pattern/FormattingInfoTest.html">FormattingInfoTest</a> <strong>extends</strong> TestCase {
+<a name="30" href="#30">30</a> <em>/**<em>*</em></em>
+<a name="31" href="#31">31</a> <em> * Create a new instance.</em>
+<a name="32" href="#32">32</a> <em> *</em>
+<a name="33" href="#33">33</a> <em> * @param name test name</em>
+<a name="34" href="#34">34</a> <em> */</em>
+<a name="35" href="#35">35</a> <strong>public</strong> <a href="../../../../org/apache/log4j/pattern/FormattingInfoTest.html">FormattingInfoTest</a>(<strong>final</strong> String name) {
+<a name="36" href="#36">36</a> <strong>super</strong>(name);
+<a name="37" href="#37">37</a> }
+<a name="38" href="#38">38</a>
+<a name="39" href="#39">39</a> <em>/**<em>*</em></em>
+<a name="40" href="#40">40</a> <em> * Check that getDefault does not return null.</em>
+<a name="41" href="#41">41</a> <em> *</em>
+<a name="42" href="#42">42</a> <em> */</em>
+<a name="43" href="#43">43</a> <strong>public</strong> <strong>void</strong> testGetDefault() {
+<a name="44" href="#44">44</a> FormattingInfo field = FormattingInfo.getDefault();
+<a name="45" href="#45">45</a> assertNotNull(field);
+<a name="46" href="#46">46</a> assertEquals(0, field.getMinLength());
+<a name="47" href="#47">47</a> assertEquals(Integer.MAX_VALUE, field.getMaxLength());
+<a name="48" href="#48">48</a> assertEquals(false, field.isLeftAligned());
+<a name="49" href="#49">49</a> }
+<a name="50" href="#50">50</a>
+<a name="51" href="#51">51</a> <em>/**<em>*</em></em>
+<a name="52" href="#52">52</a> <em> * Check constructor</em>
+<a name="53" href="#53">53</a> <em> *</em>
+<a name="54" href="#54">54</a> <em> */</em>
+<a name="55" href="#55">55</a> <strong>public</strong> <strong>void</strong> testConstructor() {
+<a name="56" href="#56">56</a> FormattingInfo field = <strong>new</strong> FormattingInfo(<strong>true</strong>, 3, 6);
+<a name="57" href="#57">57</a> assertNotNull(field);
+<a name="58" href="#58">58</a> assertEquals(3, field.getMinLength());
+<a name="59" href="#59">59</a> assertEquals(6, field.getMaxLength());
+<a name="60" href="#60">60</a> assertEquals(<strong>true</strong>, field.isLeftAligned());
+<a name="61" href="#61">61</a> }
+<a name="62" href="#62">62</a>
+<a name="63" href="#63">63</a> <em>/**<em>*</em></em>
+<a name="64" href="#64">64</a> <em> * Field exceeds maximum width</em>
+<a name="65" href="#65">65</a> <em> */</em>
+<a name="66" href="#66">66</a> <strong>public</strong> <strong>void</strong> testTruncate() {
+<a name="67" href="#67">67</a> StringBuffer buf = <strong>new</strong> StringBuffer(<span class="string">"foobar"</span>);
+<a name="68" href="#68">68</a> FormattingInfo field = <strong>new</strong> FormattingInfo(<strong>true</strong>, 0, 3);
+<a name="69" href="#69">69</a> field.format(2, buf);
+<a name="70" href="#70">70</a> assertEquals(<span class="string">"fobar"</span>, buf.toString());
+<a name="71" href="#71">71</a> }
+<a name="72" href="#72">72</a>
+<a name="73" href="#73">73</a> <em>/**<em>*</em></em>
+<a name="74" href="#74">74</a> <em> * Add padding to left since field is not minimum width.</em>
+<a name="75" href="#75">75</a> <em> */</em>
+<a name="76" href="#76">76</a> <strong>public</strong> <strong>void</strong> testPadLeft() {
+<a name="77" href="#77">77</a> StringBuffer buf = <strong>new</strong> StringBuffer(<span class="string">"foobar"</span>);
+<a name="78" href="#78">78</a> FormattingInfo field = <strong>new</strong> FormattingInfo(false, 5, 10);
+<a name="79" href="#79">79</a> field.format(2, buf);
+<a name="80" href="#80">80</a> assertEquals(<span class="string">"fo obar"</span>, buf.toString());
+<a name="81" href="#81">81</a> }
+<a name="82" href="#82">82</a>
+<a name="83" href="#83">83</a> <em>/**<em>*</em></em>
+<a name="84" href="#84">84</a> <em> * Add padding to right since field is not minimum width.</em>
+<a name="85" href="#85">85</a> <em> */</em>
+<a name="86" href="#86">86</a> <strong>public</strong> <strong>void</strong> testPadRight() {
+<a name="87" href="#87">87</a> StringBuffer buf = <strong>new</strong> StringBuffer(<span class="string">"foobar"</span>);
+<a name="88" href="#88">88</a> FormattingInfo field = <strong>new</strong> FormattingInfo(<strong>true</strong>, 5, 10);
+<a name="89" href="#89">89</a> field.format(2, buf);
+<a name="90" href="#90">90</a> assertEquals(<span class="string">"foobar "</span>, buf.toString());
+<a name="91" href="#91">91</a> }
+<a name="92" href="#92">92</a>
+<a name="93" href="#93">93</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>