PageRenderTime 66ms CodeModel.GetById 45ms app.highlight 15ms RepoModel.GetById 1ms app.codeStats 1ms

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