PageRenderTime 52ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 1ms

/apache-log4j-1.2.17/site/apidocs/org/apache/log4j/config/PropertyPrinter.html

#
HTML | 595 lines | 509 code | 62 blank | 24 comment | 0 complexity | 1854442aec045bba372443ba72618c56 MD5 | raw file
Possible License(s): Apache-2.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_23) -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. PropertyPrinter (Apache Log4j 1.2.17 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2012-05-06">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="PropertyPrinter (Apache Log4j 1.2.17 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyPrinter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/log4j/config/PropertyGetter.PropertyCallback.html" title="interface in org.apache.log4j.config"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/log4j/config/PropertySetter.html" title="class in org.apache.log4j.config"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/log4j/config/PropertyPrinter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="PropertyPrinter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.log4j.config</FONT>
  82. <BR>
  83. Class PropertyPrinter</H2>
  84. <PRE>
  85. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.log4j.config.PropertyPrinter</B>
  87. </PRE>
  88. <DL>
  89. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/log4j/config/PropertyGetter.PropertyCallback.html" title="interface in org.apache.log4j.config">PropertyGetter.PropertyCallback</A></DD>
  90. </DL>
  91. <HR>
  92. <DL>
  93. <DT><PRE>public class <B>PropertyPrinter</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/log4j/config/PropertyGetter.PropertyCallback.html" title="interface in org.apache.log4j.config">PropertyGetter.PropertyCallback</A></DL>
  94. </PRE>
  95. <P>
  96. Prints the configuration of the log4j default hierarchy
  97. (which needs to be auto-initialized) as a propoperties file
  98. on a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io"><CODE>PrintWriter</CODE></A>.
  99. <P>
  100. <P>
  101. <DL>
  102. <DT><B>Author:</B></DT>
  103. <DD>Anders Kristensen</DD>
  104. </DL>
  105. <HR>
  106. <P>
  107. <!-- =========== FIELD SUMMARY =========== -->
  108. <A NAME="field_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Field Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</A></CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#appenderNames">appenderNames</A></B></CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#doCapitalize">doCapitalize</A></B></CODE>
  125. <BR>
  126. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</A></CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#layoutNames">layoutNames</A></B></CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  137. <CODE>protected &nbsp;int</CODE></FONT></TD>
  138. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#numAppenders">numAppenders</A></B></CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A></CODE></FONT></TD>
  145. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#out">out</A></B></CODE>
  146. <BR>
  147. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  148. </TR>
  149. </TABLE>
  150. &nbsp;
  151. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  152. <A NAME="constructor_summary"><!-- --></A>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  155. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  156. <B>Constructor Summary</B></FONT></TH>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#PropertyPrinter(java.io.PrintWriter)">PropertyPrinter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out)</CODE>
  160. <BR>
  161. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  162. </TR>
  163. <TR BGCOLOR="white" CLASS="TableRowColor">
  164. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#PropertyPrinter(java.io.PrintWriter, boolean)">PropertyPrinter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  165. boolean&nbsp;doCapitalize)</CODE>
  166. <BR>
  167. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  168. </TR>
  169. </TABLE>
  170. &nbsp;
  171. <!-- ========== METHOD SUMMARY =========== -->
  172. <A NAME="method_summary"><!-- --></A>
  173. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  174. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  175. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  176. <B>Method Summary</B></FONT></TH>
  177. </TR>
  178. <TR BGCOLOR="white" CLASS="TableRowColor">
  179. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  180. <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  181. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#capitalize(java.lang.String)">capitalize</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
  182. <BR>
  183. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  184. </TR>
  185. <TR BGCOLOR="white" CLASS="TableRowColor">
  186. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  187. <CODE>&nbsp;void</CODE></FONT></TD>
  188. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#foundProperty(java.lang.Object, java.lang.String, java.lang.String, java.lang.Object)">foundProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj,
  189. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
  190. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  191. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;value)</CODE>
  192. <BR>
  193. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  197. <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  198. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#genAppName()">genAppName</A></B>()</CODE>
  199. <BR>
  200. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  201. </TR>
  202. <TR BGCOLOR="white" CLASS="TableRowColor">
  203. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  204. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  205. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#isGenAppName(java.lang.String)">isGenAppName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
  206. <BR>
  207. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the specified appender name is considered to have
  208. been generated, that is, if it is of the form A[0-9]+.</TD>
  209. </TR>
  210. <TR BGCOLOR="white" CLASS="TableRowColor">
  211. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  212. <CODE>static&nbsp;void</CODE></FONT></TD>
  213. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#main(java.lang.String[])">main</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;args)</CODE>
  214. <BR>
  215. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  216. </TR>
  217. <TR BGCOLOR="white" CLASS="TableRowColor">
  218. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  219. <CODE>&nbsp;void</CODE></FONT></TD>
  220. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#print(java.io.PrintWriter)">print</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out)</CODE>
  221. <BR>
  222. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the configuration of the default log4j hierarchy as a Java
  223. properties file on the specified Writer.</TD>
  224. </TR>
  225. <TR BGCOLOR="white" CLASS="TableRowColor">
  226. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  227. <CODE>protected &nbsp;void</CODE></FONT></TD>
  228. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#printOptions(java.io.PrintWriter, org.apache.log4j.Category)">printOptions</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  229. <A HREF="../../../../org/apache/log4j/Category.html" title="class in org.apache.log4j">Category</A>&nbsp;cat)</CODE>
  230. <BR>
  231. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  232. </TR>
  233. <TR BGCOLOR="white" CLASS="TableRowColor">
  234. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  235. <CODE>protected &nbsp;void</CODE></FONT></TD>
  236. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#printOptions(java.io.PrintWriter, org.apache.log4j.Logger)">printOptions</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  237. <A HREF="../../../../org/apache/log4j/Logger.html" title="class in org.apache.log4j">Logger</A>&nbsp;cat)</CODE>
  238. <BR>
  239. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  240. </TR>
  241. <TR BGCOLOR="white" CLASS="TableRowColor">
  242. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  243. <CODE>protected &nbsp;void</CODE></FONT></TD>
  244. <TD><CODE><B><A HREF="../../../../org/apache/log4j/config/PropertyPrinter.html#printOptions(java.io.PrintWriter, java.lang.Object, java.lang.String)">printOptions</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  245. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj,
  246. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fullname)</CODE>
  247. <BR>
  248. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  249. </TR>
  250. </TABLE>
  251. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  252. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  253. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  254. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  255. </TR>
  256. <TR BGCOLOR="white" CLASS="TableRowColor">
  257. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  258. </TR>
  259. </TABLE>
  260. &nbsp;
  261. <P>
  262. <!-- ============ FIELD DETAIL =========== -->
  263. <A NAME="field_detail"><!-- --></A>
  264. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  265. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  266. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  267. <B>Field Detail</B></FONT></TH>
  268. </TR>
  269. </TABLE>
  270. <A NAME="numAppenders"><!-- --></A><H3>
  271. numAppenders</H3>
  272. <PRE>
  273. protected int <B>numAppenders</B></PRE>
  274. <DL>
  275. <DL>
  276. </DL>
  277. </DL>
  278. <HR>
  279. <A NAME="appenderNames"><!-- --></A><H3>
  280. appenderNames</H3>
  281. <PRE>
  282. protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</A> <B>appenderNames</B></PRE>
  283. <DL>
  284. <DL>
  285. </DL>
  286. </DL>
  287. <HR>
  288. <A NAME="layoutNames"><!-- --></A><H3>
  289. layoutNames</H3>
  290. <PRE>
  291. protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</A> <B>layoutNames</B></PRE>
  292. <DL>
  293. <DL>
  294. </DL>
  295. </DL>
  296. <HR>
  297. <A NAME="out"><!-- --></A><H3>
  298. out</H3>
  299. <PRE>
  300. protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A> <B>out</B></PRE>
  301. <DL>
  302. <DL>
  303. </DL>
  304. </DL>
  305. <HR>
  306. <A NAME="doCapitalize"><!-- --></A><H3>
  307. doCapitalize</H3>
  308. <PRE>
  309. protected boolean <B>doCapitalize</B></PRE>
  310. <DL>
  311. <DL>
  312. </DL>
  313. </DL>
  314. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  315. <A NAME="constructor_detail"><!-- --></A>
  316. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  317. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  318. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  319. <B>Constructor Detail</B></FONT></TH>
  320. </TR>
  321. </TABLE>
  322. <A NAME="PropertyPrinter(java.io.PrintWriter)"><!-- --></A><H3>
  323. PropertyPrinter</H3>
  324. <PRE>
  325. public <B>PropertyPrinter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out)</PRE>
  326. <DL>
  327. </DL>
  328. <HR>
  329. <A NAME="PropertyPrinter(java.io.PrintWriter, boolean)"><!-- --></A><H3>
  330. PropertyPrinter</H3>
  331. <PRE>
  332. public <B>PropertyPrinter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  333. boolean&nbsp;doCapitalize)</PRE>
  334. <DL>
  335. </DL>
  336. <!-- ============ METHOD DETAIL ========== -->
  337. <A NAME="method_detail"><!-- --></A>
  338. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  339. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  340. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  341. <B>Method Detail</B></FONT></TH>
  342. </TR>
  343. </TABLE>
  344. <A NAME="genAppName()"><!-- --></A><H3>
  345. genAppName</H3>
  346. <PRE>
  347. protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>genAppName</B>()</PRE>
  348. <DL>
  349. <DD><DL>
  350. </DL>
  351. </DD>
  352. <DD><DL>
  353. </DL>
  354. </DD>
  355. </DL>
  356. <HR>
  357. <A NAME="isGenAppName(java.lang.String)"><!-- --></A><H3>
  358. isGenAppName</H3>
  359. <PRE>
  360. protected boolean <B>isGenAppName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
  361. <DL>
  362. <DD>Returns true if the specified appender name is considered to have
  363. been generated, that is, if it is of the form A[0-9]+.
  364. <P>
  365. <DD><DL>
  366. </DL>
  367. </DD>
  368. <DD><DL>
  369. </DL>
  370. </DD>
  371. </DL>
  372. <HR>
  373. <A NAME="print(java.io.PrintWriter)"><!-- --></A><H3>
  374. print</H3>
  375. <PRE>
  376. public void <B>print</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out)</PRE>
  377. <DL>
  378. <DD>Prints the configuration of the default log4j hierarchy as a Java
  379. properties file on the specified Writer.
  380. <p>N.B. print() can be invoked only once!
  381. <P>
  382. <DD><DL>
  383. </DL>
  384. </DD>
  385. <DD><DL>
  386. </DL>
  387. </DD>
  388. </DL>
  389. <HR>
  390. <A NAME="printOptions(java.io.PrintWriter, org.apache.log4j.Category)"><!-- --></A><H3>
  391. printOptions</H3>
  392. <PRE>
  393. protected void <B>printOptions</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  394. <A HREF="../../../../org/apache/log4j/Category.html" title="class in org.apache.log4j">Category</A>&nbsp;cat)</PRE>
  395. <DL>
  396. <DD><DL>
  397. </DL>
  398. </DD>
  399. <DD><DL>
  400. <DT><B>Since:</B></DT>
  401. <DD>1.2.15</DD>
  402. </DL>
  403. </DD>
  404. </DL>
  405. <HR>
  406. <A NAME="printOptions(java.io.PrintWriter, org.apache.log4j.Logger)"><!-- --></A><H3>
  407. printOptions</H3>
  408. <PRE>
  409. protected void <B>printOptions</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  410. <A HREF="../../../../org/apache/log4j/Logger.html" title="class in org.apache.log4j">Logger</A>&nbsp;cat)</PRE>
  411. <DL>
  412. <DD><DL>
  413. </DL>
  414. </DD>
  415. <DD><DL>
  416. </DL>
  417. </DD>
  418. </DL>
  419. <HR>
  420. <A NAME="printOptions(java.io.PrintWriter, java.lang.Object, java.lang.String)"><!-- --></A><H3>
  421. printOptions</H3>
  422. <PRE>
  423. protected void <B>printOptions</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out,
  424. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj,
  425. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fullname)</PRE>
  426. <DL>
  427. <DD><DL>
  428. </DL>
  429. </DD>
  430. <DD><DL>
  431. </DL>
  432. </DD>
  433. </DL>
  434. <HR>
  435. <A NAME="foundProperty(java.lang.Object, java.lang.String, java.lang.String, java.lang.Object)"><!-- --></A><H3>
  436. foundProperty</H3>
  437. <PRE>
  438. public void <B>foundProperty</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj,
  439. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
  440. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  441. <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;value)</PRE>
  442. <DL>
  443. <DD><DL>
  444. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/log4j/config/PropertyGetter.PropertyCallback.html#foundProperty(java.lang.Object, java.lang.String, java.lang.String, java.lang.Object)">foundProperty</A></CODE> in interface <CODE><A HREF="../../../../org/apache/log4j/config/PropertyGetter.PropertyCallback.html" title="interface in org.apache.log4j.config">PropertyGetter.PropertyCallback</A></CODE></DL>
  445. </DD>
  446. <DD><DL>
  447. </DL>
  448. </DD>
  449. </DL>
  450. <HR>
  451. <A NAME="capitalize(java.lang.String)"><!-- --></A><H3>
  452. capitalize</H3>
  453. <PRE>
  454. public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>capitalize</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
  455. <DL>
  456. <DD><DL>
  457. </DL>
  458. </DD>
  459. <DD><DL>
  460. </DL>
  461. </DD>
  462. </DL>
  463. <HR>
  464. <A NAME="main(java.lang.String[])"><!-- --></A><H3>
  465. main</H3>
  466. <PRE>
  467. public static void <B>main</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;args)</PRE>
  468. <DL>
  469. <DD><DL>
  470. </DL>
  471. </DD>
  472. <DD><DL>
  473. </DL>
  474. </DD>
  475. </DL>
  476. <!-- ========= END OF CLASS DATA ========= -->
  477. <HR>
  478. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  479. <A NAME="navbar_bottom"><!-- --></A>
  480. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  481. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  482. <TR>
  483. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  484. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  485. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  486. <TR ALIGN="center" VALIGN="top">
  487. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  488. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  489. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  490. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyPrinter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  491. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  492. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  493. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  494. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  495. </TR>
  496. </TABLE>
  497. </TD>
  498. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  499. </EM>
  500. </TD>
  501. </TR>
  502. <TR>
  503. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  504. &nbsp;<A HREF="../../../../org/apache/log4j/config/PropertyGetter.PropertyCallback.html" title="interface in org.apache.log4j.config"><B>PREV CLASS</B></A>&nbsp;
  505. &nbsp;<A HREF="../../../../org/apache/log4j/config/PropertySetter.html" title="class in org.apache.log4j.config"><B>NEXT CLASS</B></A></FONT></TD>
  506. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  507. <A HREF="../../../../index.html?org/apache/log4j/config/PropertyPrinter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  508. &nbsp;<A HREF="PropertyPrinter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  509. &nbsp;<SCRIPT type="text/javascript">
  510. <!--
  511. if(window==top) {
  512. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  513. }
  514. //-->
  515. </SCRIPT>
  516. <NOSCRIPT>
  517. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  518. </NOSCRIPT>
  519. </FONT></TD>
  520. </TR>
  521. <TR>
  522. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  523. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  524. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  525. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  526. </TR>
  527. </TABLE>
  528. <A NAME="skip-navbar_bottom"></A>
  529. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  530. <HR>
  531. Copyright &#169; 1999-2012 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
  532. </BODY>
  533. </HTML>