PageRenderTime 24ms CodeModel.GetById 11ms app.highlight 8ms RepoModel.GetById 2ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/io/CharsetEncoding.html

#
HTML | 314 lines | 262 code | 40 blank | 12 comment | 0 complexity | 4fadb4b1bfa05bbd8e00a87e9f296101 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:14:02 GMT-08:00 2008 -->
  6<TITLE>
  7CharsetEncoding (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.io.CharsetEncoding class">
 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/CharsetEncoding.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/io/BufferLocalEncodingDetector.html" title="class in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/CopyFileWorker.html" title="class in org.gjt.sp.jedit.io"><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/io/CharsetEncoding.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="CharsetEncoding.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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.io</FONT>
 78<BR>
 79Class CharsetEncoding</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.io.CharsetEncoding</B>
 83</PRE>
 84<DL>
 85<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html" title="interface in org.gjt.sp.jedit.io">Encoding</A></DD>
 86</DL>
 87<HR>
 88<DL>
 89<DT><PRE>public class <B>CharsetEncoding</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html" title="interface in org.gjt.sp.jedit.io">Encoding</A></DL>
 90</PRE>
 91
 92<P>
 93Encodings which are provided by java.nio.charset.Charset.
 94<P>
 95
 96<P>
 97<DL>
 98<DT><B>Since:</B></DT>
 99  <DD>4.3pre10</DD>
100</DL>
101<HR>
102
103<P>
104
105<!-- ======== CONSTRUCTOR SUMMARY ======== -->
106
107<A NAME="constructor_summary"><!-- --></A>
108<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
109<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
111<B>Constructor Summary</B></FONT></TH>
112</TR>
113<TR BGCOLOR="white" CLASS="TableRowColor">
114<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/CharsetEncoding.html#CharsetEncoding(java.lang.String)">CharsetEncoding</A></B>(java.lang.String&nbsp;name)</CODE>
115
116<BR>
117&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
118</TR>
119</TABLE>
120&nbsp;
121<!-- ========== METHOD SUMMARY =========== -->
122
123<A NAME="method_summary"><!-- --></A>
124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127<B>Method Summary</B></FONT></TH>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>&nbsp;java.io.Reader</CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/CharsetEncoding.html#getPermissiveTextReader(java.io.InputStream)">getPermissiveTextReader</A></B>(java.io.InputStream&nbsp;in)</CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Map an InputStream to a Reader.</TD>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139<CODE>&nbsp;java.io.Reader</CODE></FONT></TD>
140<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/CharsetEncoding.html#getTextReader(java.io.InputStream)">getTextReader</A></B>(java.io.InputStream&nbsp;in)</CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Map an InputStream to a Reader.</TD>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147<CODE>&nbsp;java.io.Writer</CODE></FONT></TD>
148<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/CharsetEncoding.html#getTextWriter(java.io.OutputStream)">getTextWriter</A></B>(java.io.OutputStream&nbsp;out)</CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Map an OutputStream to a Writer.</TD>
152</TR>
153</TABLE>
154&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
155<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
157<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
161</TR>
162</TABLE>
163&nbsp;
164<P>
165
166<!-- ========= CONSTRUCTOR DETAIL ======== -->
167
168<A NAME="constructor_detail"><!-- --></A>
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
172<B>Constructor Detail</B></FONT></TH>
173</TR>
174</TABLE>
175
176<A NAME="CharsetEncoding(java.lang.String)"><!-- --></A><H3>
177CharsetEncoding</H3>
178<PRE>
179public <B>CharsetEncoding</B>(java.lang.String&nbsp;name)</PRE>
180<DL>
181</DL>
182
183<!-- ============ METHOD DETAIL ========== -->
184
185<A NAME="method_detail"><!-- --></A>
186<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
189<B>Method Detail</B></FONT></TH>
190</TR>
191</TABLE>
192
193<A NAME="getTextReader(java.io.InputStream)"><!-- --></A><H3>
194getTextReader</H3>
195<PRE>
196public java.io.Reader <B>getTextReader</B>(java.io.InputStream&nbsp;in)
197                             throws java.io.IOException</PRE>
198<DL>
199<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html#getTextReader(java.io.InputStream)">Encoding</A></CODE></B></DD>
200<DD>Map an InputStream to a Reader.
201 Decode-error while reading from this Reader should be reported
202 by throwing an IOException.
203<P>
204<DD><DL>
205<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html#getTextReader(java.io.InputStream)">getTextReader</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html" title="interface in org.gjt.sp.jedit.io">Encoding</A></CODE></DL>
206</DD>
207<DD><DL>
208
209<DT><B>Throws:</B>
210<DD><CODE>java.io.IOException</CODE></DL>
211</DD>
212</DL>
213<HR>
214
215<A NAME="getTextWriter(java.io.OutputStream)"><!-- --></A><H3>
216getTextWriter</H3>
217<PRE>
218public java.io.Writer <B>getTextWriter</B>(java.io.OutputStream&nbsp;out)
219                             throws java.io.IOException</PRE>
220<DL>
221<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html#getTextWriter(java.io.OutputStream)">Encoding</A></CODE></B></DD>
222<DD>Map an OutputStream to a Writer.
223 Encode-error while writing to this Writer should be reported
224 by throwing an IOException.
225<P>
226<DD><DL>
227<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html#getTextWriter(java.io.OutputStream)">getTextWriter</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html" title="interface in org.gjt.sp.jedit.io">Encoding</A></CODE></DL>
228</DD>
229<DD><DL>
230
231<DT><B>Throws:</B>
232<DD><CODE>java.io.IOException</CODE></DL>
233</DD>
234</DL>
235<HR>
236
237<A NAME="getPermissiveTextReader(java.io.InputStream)"><!-- --></A><H3>
238getPermissiveTextReader</H3>
239<PRE>
240public java.io.Reader <B>getPermissiveTextReader</B>(java.io.InputStream&nbsp;in)
241                                       throws java.io.IOException</PRE>
242<DL>
243<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html#getPermissiveTextReader(java.io.InputStream)">Encoding</A></CODE></B></DD>
244<DD>Map an InputStream to a Reader.
245 Decode-error while reading from this Reader should be ignored
246 or replaced.
247<P>
248<DD><DL>
249<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html#getPermissiveTextReader(java.io.InputStream)">getPermissiveTextReader</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/io/Encoding.html" title="interface in org.gjt.sp.jedit.io">Encoding</A></CODE></DL>
250</DD>
251<DD><DL>
252
253<DT><B>Throws:</B>
254<DD><CODE>java.io.IOException</CODE></DL>
255</DD>
256</DL>
257<!-- ========= END OF CLASS DATA ========= -->
258<HR>
259
260
261<!-- ======= START OF BOTTOM NAVBAR ====== -->
262<A NAME="navbar_bottom"><!-- --></A>
263<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
264<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
265<TR>
266<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
267<A NAME="navbar_bottom_firstrow"><!-- --></A>
268<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
269  <TR ALIGN="center" VALIGN="top">
270  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
271  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
272  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
273  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CharsetEncoding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
274  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
275  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
276  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
277  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
278  </TR>
279</TABLE>
280</TD>
281<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
282</EM>
283</TD>
284</TR>
285
286<TR>
287<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
288&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/BufferLocalEncodingDetector.html" title="class in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>&nbsp;
289&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/CopyFileWorker.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
290<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
291  <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/CharsetEncoding.html" target="_top"><B>FRAMES</B></A>  &nbsp;
292&nbsp;<A HREF="CharsetEncoding.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
293&nbsp;
294<NOSCRIPT>
295  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
296</NOSCRIPT>
297
298
299</FONT></TD>
300</TR>
301<TR>
302<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
303  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
304<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
305DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
306</TR>
307</TABLE>
308<A NAME="skip-navbar_bottom"></A>
309<!-- ======== END OF BOTTOM NAVBAR ======= -->
310
311<HR>
312
313</BODY>
314</HTML>