PageRenderTime 41ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/ConsoleInterface.html

#
HTML | 292 lines | 243 code | 39 blank | 10 comment | 0 complexity | b0c3f934d1399ed27158b5449a8dedcd MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.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.5.0_14) on Tue Jul 22 07:13:49 GMT-08:00 2008 -->
  6. <TITLE>
  7. ConsoleInterface (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.ConsoleInterface interface">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  11. <NOSCRIPT>
  12. </NOSCRIPT>
  13. </HEAD>
  14. <BODY BGCOLOR="white" >
  15. <!-- ========= START OF TOP NAVBAR ======= -->
  16. <A NAME="navbar_top"><!-- --></A>
  17. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  18. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  19. <TR>
  20. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  21. <A NAME="navbar_top_firstrow"><!-- --></A>
  22. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  23. <TR ALIGN="center" VALIGN="top">
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ConsoleInterface.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. </TD>
  35. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  36. </EM>
  37. </TD>
  38. </TR>
  39. <TR>
  40. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  41. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/CollectionManager.BasicBshIterator.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/DelayedEvalBshMethod.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ConsoleInterface.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="ConsoleInterface.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  46. &nbsp;
  47. <NOSCRIPT>
  48. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  49. </NOSCRIPT>
  50. </FONT></TD>
  51. </TR>
  52. <TR>
  53. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  54. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  57. </TR>
  58. </TABLE>
  59. <A NAME="skip-navbar_top"></A>
  60. <!-- ========= END OF TOP NAVBAR ========= -->
  61. <HR>
  62. <!-- ======== START OF CLASS DATA ======== -->
  63. <H2>
  64. <FONT SIZE="-1">
  65. org.gjt.sp.jedit.bsh</FONT>
  66. <BR>
  67. Interface ConsoleInterface</H2>
  68. <DL>
  69. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh">Interpreter</A></DD>
  70. </DL>
  71. <HR>
  72. <DL>
  73. <DT><PRE>public interface <B>ConsoleInterface</B></DL>
  74. </PRE>
  75. <P>
  76. The capabilities of a minimal console for BeanShell.
  77. Stream I/O and optimized print for output.
  78. A simple console may ignore some of these or map them to trivial
  79. implementations. e.g. print() with color can be mapped to plain text.
  80. <P>
  81. <P>
  82. <HR>
  83. <P>
  84. <!-- ========== METHOD SUMMARY =========== -->
  85. <A NAME="method_summary"><!-- --></A>
  86. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  87. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  88. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  89. <B>Method Summary</B></FONT></TH>
  90. </TR>
  91. <TR BGCOLOR="white" CLASS="TableRowColor">
  92. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  93. <CODE>&nbsp;void</CODE></FONT></TD>
  94. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ConsoleInterface.html#error(java.lang.Object)">error</A></B>(java.lang.Object&nbsp;o)</CODE>
  95. <BR>
  96. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  97. </TR>
  98. <TR BGCOLOR="white" CLASS="TableRowColor">
  99. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  100. <CODE>&nbsp;java.io.PrintStream</CODE></FONT></TD>
  101. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ConsoleInterface.html#getErr()">getErr</A></B>()</CODE>
  102. <BR>
  103. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  104. </TR>
  105. <TR BGCOLOR="white" CLASS="TableRowColor">
  106. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  107. <CODE>&nbsp;java.io.Reader</CODE></FONT></TD>
  108. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ConsoleInterface.html#getIn()">getIn</A></B>()</CODE>
  109. <BR>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  111. </TR>
  112. <TR BGCOLOR="white" CLASS="TableRowColor">
  113. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  114. <CODE>&nbsp;java.io.PrintStream</CODE></FONT></TD>
  115. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ConsoleInterface.html#getOut()">getOut</A></B>()</CODE>
  116. <BR>
  117. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  121. <CODE>&nbsp;void</CODE></FONT></TD>
  122. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ConsoleInterface.html#print(java.lang.Object)">print</A></B>(java.lang.Object&nbsp;o)</CODE>
  123. <BR>
  124. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>&nbsp;void</CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ConsoleInterface.html#println(java.lang.Object)">println</A></B>(java.lang.Object&nbsp;o)</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  132. </TR>
  133. </TABLE>
  134. &nbsp;
  135. <P>
  136. <!-- ============ METHOD DETAIL ========== -->
  137. <A NAME="method_detail"><!-- --></A>
  138. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  139. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  140. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  141. <B>Method Detail</B></FONT></TH>
  142. </TR>
  143. </TABLE>
  144. <A NAME="getIn()"><!-- --></A><H3>
  145. getIn</H3>
  146. <PRE>
  147. java.io.Reader <B>getIn</B>()</PRE>
  148. <DL>
  149. <DD><DL>
  150. </DL>
  151. </DD>
  152. </DL>
  153. <HR>
  154. <A NAME="getOut()"><!-- --></A><H3>
  155. getOut</H3>
  156. <PRE>
  157. java.io.PrintStream <B>getOut</B>()</PRE>
  158. <DL>
  159. <DD><DL>
  160. </DL>
  161. </DD>
  162. </DL>
  163. <HR>
  164. <A NAME="getErr()"><!-- --></A><H3>
  165. getErr</H3>
  166. <PRE>
  167. java.io.PrintStream <B>getErr</B>()</PRE>
  168. <DL>
  169. <DD><DL>
  170. </DL>
  171. </DD>
  172. </DL>
  173. <HR>
  174. <A NAME="println(java.lang.Object)"><!-- --></A><H3>
  175. println</H3>
  176. <PRE>
  177. void <B>println</B>(java.lang.Object&nbsp;o)</PRE>
  178. <DL>
  179. <DD><DL>
  180. </DL>
  181. </DD>
  182. </DL>
  183. <HR>
  184. <A NAME="print(java.lang.Object)"><!-- --></A><H3>
  185. print</H3>
  186. <PRE>
  187. void <B>print</B>(java.lang.Object&nbsp;o)</PRE>
  188. <DL>
  189. <DD><DL>
  190. </DL>
  191. </DD>
  192. </DL>
  193. <HR>
  194. <A NAME="error(java.lang.Object)"><!-- --></A><H3>
  195. error</H3>
  196. <PRE>
  197. void <B>error</B>(java.lang.Object&nbsp;o)</PRE>
  198. <DL>
  199. <DD><DL>
  200. </DL>
  201. </DD>
  202. </DL>
  203. <!-- ========= END OF CLASS DATA ========= -->
  204. <HR>
  205. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  206. <A NAME="navbar_bottom"><!-- --></A>
  207. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  208. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  209. <TR>
  210. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  211. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  212. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  213. <TR ALIGN="center" VALIGN="top">
  214. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  215. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  216. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  217. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ConsoleInterface.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  218. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  219. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  220. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  221. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  222. </TR>
  223. </TABLE>
  224. </TD>
  225. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  226. </EM>
  227. </TD>
  228. </TR>
  229. <TR>
  230. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  231. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/CollectionManager.BasicBshIterator.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
  232. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/DelayedEvalBshMethod.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
  233. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  234. <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ConsoleInterface.html" target="_top"><B>FRAMES</B></A> &nbsp;
  235. &nbsp;<A HREF="ConsoleInterface.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  236. &nbsp;
  237. <NOSCRIPT>
  238. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  239. </NOSCRIPT>
  240. </FONT></TD>
  241. </TR>
  242. <TR>
  243. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  244. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  245. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  246. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  247. </TR>
  248. </TABLE>
  249. <A NAME="skip-navbar_bottom"></A>
  250. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  251. <HR>
  252. </BODY>
  253. </HTML>