PageRenderTime 58ms CodeModel.GetById 27ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/org.mwc.asset.comms/docs/docs/engine/org/restlet/engine/io/TraceInputStream.html

https://bitbucket.org/ianmayo/debrief
HTML | 355 lines | 292 code | 40 blank | 23 comment | 0 complexity | a5ee20baaec68df2dde5362bc6274311 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.5.0_14) on Wed Nov 03 17:45:47 GMT+01:00 2010 -->
  6. <TITLE>
  7. TraceInputStream (Restlet Engine 2.0.2 - JSE)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.restlet.engine.io.TraceInputStream class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. parent.document.title="TraceInputStream (Restlet Engine 2.0.2 - JSE)";
  15. }
  16. </SCRIPT>
  17. <NOSCRIPT>
  18. </NOSCRIPT>
  19. </HEAD>
  20. <BODY BGCOLOR="white" onload="windowTitle();">
  21. <!-- ========= START OF TOP NAVBAR ======= -->
  22. <A NAME="navbar_top"><!-- --></A>
  23. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  24. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  25. <TR>
  26. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  27. <A NAME="navbar_top_firstrow"><!-- --></A>
  28. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  29. <TR ALIGN="center" VALIGN="top">
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TraceInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  38. </TR>
  39. </TABLE>
  40. </TD>
  41. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  42. </EM>
  43. </TD>
  44. </TR>
  45. <TR>
  46. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  47. &nbsp;<A HREF="../../../../org/restlet/engine/io/SelectorFactory.html" title="class in org.restlet.engine.io"><B>PREV CLASS</B></A>&nbsp;
  48. &nbsp;<A HREF="../../../../org/restlet/engine/io/TraceOutputStream.html" title="class in org.restlet.engine.io"><B>NEXT CLASS</B></A></FONT></TD>
  49. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50. <A HREF="../../../../index.html?org/restlet/engine/io/TraceInputStream.html" target="_top"><B>FRAMES</B></A> &nbsp;
  51. &nbsp;<A HREF="TraceInputStream.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  52. &nbsp;<SCRIPT type="text/javascript">
  53. <!--
  54. if(window==top) {
  55. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  56. }
  57. //-->
  58. </SCRIPT>
  59. <NOSCRIPT>
  60. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  61. </NOSCRIPT>
  62. </FONT></TD>
  63. </TR>
  64. <TR>
  65. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  66. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.io.FilterInputStream">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  69. </TR>
  70. </TABLE>
  71. <A NAME="skip-navbar_top"></A>
  72. <!-- ========= END OF TOP NAVBAR ========= -->
  73. <HR>
  74. <!-- ======== START OF CLASS DATA ======== -->
  75. <H2>
  76. <FONT SIZE="-1">
  77. org.restlet.engine.io</FONT>
  78. <BR>
  79. Class TraceInputStream</H2>
  80. <PRE>
  81. java.lang.Object
  82. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.InputStream
  83. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.FilterInputStream
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.restlet.engine.io.TraceInputStream</B>
  85. </PRE>
  86. <DL>
  87. <DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable</DD>
  88. </DL>
  89. <HR>
  90. <DL>
  91. <DT><PRE>public class <B>TraceInputStream</B><DT>extends java.io.FilterInputStream</DL>
  92. </PRE>
  93. <P>
  94. Filter input stream that sends a copy of all data on the standard console.
  95. <P>
  96. <P>
  97. <DL>
  98. <DT><B>Author:</B></DT>
  99. <DD>Jerome Louvel</DD>
  100. </DL>
  101. <HR>
  102. <P>
  103. <!-- =========== FIELD SUMMARY =========== -->
  104. <A NAME="field_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  108. <B>Field Summary</B></FONT></TH>
  109. </TR>
  110. </TABLE>
  111. &nbsp;<A NAME="fields_inherited_from_class_java.io.FilterInputStream"><!-- --></A>
  112. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  113. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  114. <TH ALIGN="left"><B>Fields inherited from class java.io.FilterInputStream</B></TH>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD><CODE>in</CODE></TD>
  118. </TR>
  119. </TABLE>
  120. &nbsp;
  121. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  122. <A NAME="constructor_summary"><!-- --></A>
  123. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  124. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  125. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  126. <B>Constructor Summary</B></FONT></TH>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD><CODE><B><A HREF="../../../../org/restlet/engine/io/TraceInputStream.html#TraceInputStream(java.io.InputStream)">TraceInputStream</A></B>(java.io.InputStream&nbsp;in)</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
  132. </TR>
  133. </TABLE>
  134. &nbsp;
  135. <!-- ========== METHOD SUMMARY =========== -->
  136. <A NAME="method_summary"><!-- --></A>
  137. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  138. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  139. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  140. <B>Method Summary</B></FONT></TH>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <CODE>&nbsp;int</CODE></FONT></TD>
  145. <TD><CODE><B><A HREF="../../../../org/restlet/engine/io/TraceInputStream.html#read()">read</A></B>()</CODE>
  146. <BR>
  147. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  151. <CODE>&nbsp;int</CODE></FONT></TD>
  152. <TD><CODE><B><A HREF="../../../../org/restlet/engine/io/TraceInputStream.html#read(byte[])">read</A></B>(byte[]&nbsp;b)</CODE>
  153. <BR>
  154. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  158. <CODE>&nbsp;int</CODE></FONT></TD>
  159. <TD><CODE><B><A HREF="../../../../org/restlet/engine/io/TraceInputStream.html#read(byte[], int, int)">read</A></B>(byte[]&nbsp;b,
  160. int&nbsp;off,
  161. int&nbsp;len)</CODE>
  162. <BR>
  163. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  164. </TR>
  165. </TABLE>
  166. &nbsp;<A NAME="methods_inherited_from_class_java.io.FilterInputStream"><!-- --></A>
  167. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  168. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  169. <TH ALIGN="left"><B>Methods inherited from class java.io.FilterInputStream</B></TH>
  170. </TR>
  171. <TR BGCOLOR="white" CLASS="TableRowColor">
  172. <TD><CODE>available, close, mark, markSupported, reset, skip</CODE></TD>
  173. </TR>
  174. </TABLE>
  175. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  176. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  177. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  178. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  179. </TR>
  180. <TR BGCOLOR="white" CLASS="TableRowColor">
  181. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  182. </TR>
  183. </TABLE>
  184. &nbsp;
  185. <P>
  186. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  187. <A NAME="constructor_detail"><!-- --></A>
  188. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  189. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  190. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  191. <B>Constructor Detail</B></FONT></TH>
  192. </TR>
  193. </TABLE>
  194. <A NAME="TraceInputStream(java.io.InputStream)"><!-- --></A><H3>
  195. TraceInputStream</H3>
  196. <PRE>
  197. public <B>TraceInputStream</B>(java.io.InputStream&nbsp;in)</PRE>
  198. <DL>
  199. <DD>Constructor.
  200. <P>
  201. <DL>
  202. <DT><B>Parameters:</B><DD><CODE>in</CODE> - The input stream to wrap.</DL>
  203. </DL>
  204. <!-- ============ METHOD DETAIL ========== -->
  205. <A NAME="method_detail"><!-- --></A>
  206. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  207. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  208. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  209. <B>Method Detail</B></FONT></TH>
  210. </TR>
  211. </TABLE>
  212. <A NAME="read()"><!-- --></A><H3>
  213. read</H3>
  214. <PRE>
  215. public int <B>read</B>()
  216. throws java.io.IOException</PRE>
  217. <DL>
  218. <DD><DL>
  219. <DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.FilterInputStream</CODE></DL>
  220. </DD>
  221. <DD><DL>
  222. <DT><B>Throws:</B>
  223. <DD><CODE>java.io.IOException</CODE></DL>
  224. </DD>
  225. </DL>
  226. <HR>
  227. <A NAME="read(byte[])"><!-- --></A><H3>
  228. read</H3>
  229. <PRE>
  230. public int <B>read</B>(byte[]&nbsp;b)
  231. throws java.io.IOException</PRE>
  232. <DL>
  233. <DD><DL>
  234. <DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.FilterInputStream</CODE></DL>
  235. </DD>
  236. <DD><DL>
  237. <DT><B>Throws:</B>
  238. <DD><CODE>java.io.IOException</CODE></DL>
  239. </DD>
  240. </DL>
  241. <HR>
  242. <A NAME="read(byte[], int, int)"><!-- --></A><H3>
  243. read</H3>
  244. <PRE>
  245. public int <B>read</B>(byte[]&nbsp;b,
  246. int&nbsp;off,
  247. int&nbsp;len)
  248. throws java.io.IOException</PRE>
  249. <DL>
  250. <DD><DL>
  251. <DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.FilterInputStream</CODE></DL>
  252. </DD>
  253. <DD><DL>
  254. <DT><B>Throws:</B>
  255. <DD><CODE>java.io.IOException</CODE></DL>
  256. </DD>
  257. </DL>
  258. <!-- ========= END OF CLASS DATA ========= -->
  259. <HR>
  260. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  261. <A NAME="navbar_bottom"><!-- --></A>
  262. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  263. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  264. <TR>
  265. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  266. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  267. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  268. <TR ALIGN="center" VALIGN="top">
  269. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  270. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  271. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  272. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TraceInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  273. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  274. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  275. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  276. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  277. </TR>
  278. </TABLE>
  279. </TD>
  280. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  281. </EM>
  282. </TD>
  283. </TR>
  284. <TR>
  285. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  286. &nbsp;<A HREF="../../../../org/restlet/engine/io/SelectorFactory.html" title="class in org.restlet.engine.io"><B>PREV CLASS</B></A>&nbsp;
  287. &nbsp;<A HREF="../../../../org/restlet/engine/io/TraceOutputStream.html" title="class in org.restlet.engine.io"><B>NEXT CLASS</B></A></FONT></TD>
  288. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  289. <A HREF="../../../../index.html?org/restlet/engine/io/TraceInputStream.html" target="_top"><B>FRAMES</B></A> &nbsp;
  290. &nbsp;<A HREF="TraceInputStream.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  291. &nbsp;<SCRIPT type="text/javascript">
  292. <!--
  293. if(window==top) {
  294. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  295. }
  296. //-->
  297. </SCRIPT>
  298. <NOSCRIPT>
  299. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  300. </NOSCRIPT>
  301. </FONT></TD>
  302. </TR>
  303. <TR>
  304. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  305. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.io.FilterInputStream">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  306. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  307. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  308. </TR>
  309. </TABLE>
  310. <A NAME="skip-navbar_bottom"></A>
  311. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  312. <HR>
  313. <i>Copyright &#169; 2005-2010 <a target="_top" href="http://www.noelios.com">Noelios Technologies</a>.</i>
  314. </BODY>
  315. </HTML>