PageRenderTime 87ms CodeModel.GetById 13ms app.highlight 57ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/javadoc/mdfs/utils/Verbose.html

https://bitbucket.org/crholm/mdfs
HTML | 270 lines | 216 code | 32 blank | 22 comment | 0 complexity | 4754730406670fbfe3a4ce9936b21f7d MD5 | raw file
  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) on Thu Apr 26 19:46:16 CEST 2012 -->
  6<TITLE>
  7Verbose
  8</TITLE>
  9
 10<META NAME="date" CONTENT="2012-04-26">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
 13
 14<SCRIPT type="text/javascript">
 15function windowTitle()
 16{
 17    if (location.href.indexOf('is-external=true') == -1) {
 18        parent.document.title="Verbose";
 19    }
 20}
 21</SCRIPT>
 22<NOSCRIPT>
 23</NOSCRIPT>
 24
 25</HEAD>
 26
 27<BODY BGCOLOR="white" onload="windowTitle();">
 28<HR>
 29
 30
 31<!-- ========= START OF TOP NAVBAR ======= -->
 32<A NAME="navbar_top"><!-- --></A>
 33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 35<TR>
 36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 37<A NAME="navbar_top_firstrow"><!-- --></A>
 38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 39  <TR ALIGN="center" VALIGN="top">
 40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Verbose.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 48  </TR>
 49</TABLE>
 50</TD>
 51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 52</EM>
 53</TD>
 54</TR>
 55
 56<TR>
 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 58&nbsp;<A HREF="../../mdfs/utils/Time.html" title="class in mdfs.utils"><B>PREV CLASS</B></A>&nbsp;
 59&nbsp;NEXT CLASS</FONT></TD>
 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 61  <A HREF="../../index.html?mdfs/utils/Verbose.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 62&nbsp;<A HREF="Verbose.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 63&nbsp;<SCRIPT type="text/javascript">
 64  <!--
 65  if(window==top) {
 66    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
 67  }
 68  //-->
 69</SCRIPT>
 70<NOSCRIPT>
 71  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
 72</NOSCRIPT>
 73
 74
 75</FONT></TD>
 76</TR>
 77<TR>
 78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 82</TR>
 83</TABLE>
 84<A NAME="skip-navbar_top"></A>
 85<!-- ========= END OF TOP NAVBAR ========= -->
 86
 87<HR>
 88<!-- ======== START OF CLASS DATA ======== -->
 89<H2>
 90<FONT SIZE="-1">
 91mdfs.utils</FONT>
 92<BR>
 93Class Verbose</H2>
 94<PRE>
 95java.lang.Object
 96  <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>mdfs.utils.Verbose</B>
 97</PRE>
 98<HR>
 99<DL>
100<DT><PRE>public class <B>Verbose</B><DT>extends java.lang.Object</DL>
101</PRE>
102
103<P>
104Simple class that in a Structured way of printing text
105<P>
106
107<P>
108<DL>
109<DT><B>Author:</B></DT>
110  <DD>Rasmus Holm</DD>
111</DL>
112<HR>
113
114<P>
115
116<!-- ======== CONSTRUCTOR SUMMARY ======== -->
117
118<A NAME="constructor_summary"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122<B>Constructor Summary</B></FONT></TH>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD><CODE><B><A HREF="../../mdfs/utils/Verbose.html#Verbose()">Verbose</A></B>()</CODE>
126
127<BR>
128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
129</TR>
130</TABLE>
131&nbsp;
132<!-- ========== METHOD SUMMARY =========== -->
133
134<A NAME="method_summary"><!-- --></A>
135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
138<B>Method Summary</B></FONT></TH>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>static&nbsp;void</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../mdfs/utils/Verbose.html#print(java.lang.String, java.lang.Object, int)">print</A></B>(java.lang.String&nbsp;msg,
144      java.lang.Object&nbsp;location,
145      int&nbsp;logLevel)</CODE>
146
147<BR>
148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loglevel:       1 - only message
149                                2 - message and the object the message comes from
150                                3 - message, the object the message comes from and what thread is holding the object</TD>
151</TR>
152</TABLE>
153&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
154<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
156<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
160</TR>
161</TABLE>
162&nbsp;
163<P>
164
165<!-- ========= CONSTRUCTOR DETAIL ======== -->
166
167<A NAME="constructor_detail"><!-- --></A>
168<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
171<B>Constructor Detail</B></FONT></TH>
172</TR>
173</TABLE>
174
175<A NAME="Verbose()"><!-- --></A><H3>
176Verbose</H3>
177<PRE>
178public <B>Verbose</B>()</PRE>
179<DL>
180</DL>
181
182<!-- ============ METHOD DETAIL ========== -->
183
184<A NAME="method_detail"><!-- --></A>
185<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
186<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
187<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
188<B>Method Detail</B></FONT></TH>
189</TR>
190</TABLE>
191
192<A NAME="print(java.lang.String, java.lang.Object, int)"><!-- --></A><H3>
193print</H3>
194<PRE>
195public static void <B>print</B>(java.lang.String&nbsp;msg,
196                         java.lang.Object&nbsp;location,
197                         int&nbsp;logLevel)</PRE>
198<DL>
199<DD>Loglevel:       1 - only message
200                                2 - message and the object the message comes from
201                                3 - message, the object the message comes from and what thread is holding the object
202<P>
203<DD><DL>
204<DT><B>Parameters:</B><DD><CODE>msg</CODE> - that is to be printed<DD><CODE>location</CODE> - the object from where the printing occers<DD><CODE>logLevel</CODE> - the amount of information thar is printed</DL>
205</DD>
206</DL>
207<!-- ========= END OF CLASS DATA ========= -->
208<HR>
209
210
211<!-- ======= START OF BOTTOM NAVBAR ====== -->
212<A NAME="navbar_bottom"><!-- --></A>
213<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
214<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
215<TR>
216<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
217<A NAME="navbar_bottom_firstrow"><!-- --></A>
218<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
219  <TR ALIGN="center" VALIGN="top">
220  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
221  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
222  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
223  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Verbose.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
224  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
225  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
226  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
227  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
228  </TR>
229</TABLE>
230</TD>
231<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
232</EM>
233</TD>
234</TR>
235
236<TR>
237<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
238&nbsp;<A HREF="../../mdfs/utils/Time.html" title="class in mdfs.utils"><B>PREV CLASS</B></A>&nbsp;
239&nbsp;NEXT CLASS</FONT></TD>
240<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
241  <A HREF="../../index.html?mdfs/utils/Verbose.html" target="_top"><B>FRAMES</B></A>  &nbsp;
242&nbsp;<A HREF="Verbose.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
243&nbsp;<SCRIPT type="text/javascript">
244  <!--
245  if(window==top) {
246    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
247  }
248  //-->
249</SCRIPT>
250<NOSCRIPT>
251  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
252</NOSCRIPT>
253
254
255</FONT></TD>
256</TR>
257<TR>
258<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
259  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
260<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
261DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
262</TR>
263</TABLE>
264<A NAME="skip-navbar_bottom"></A>
265<!-- ======== END OF BOTTOM NAVBAR ======= -->
266
267<HR>
268
269</BODY>
270</HTML>