Statistics
| Revision:

svn-gvsig-desktop / tags / tmp_build / build / distribution / izpack_4.2.0 / doc / izpack / javadoc / net / n3 / nanoxml / ContentReader.html @ 26384

History | View | Annotate | Download (19.3 KB)

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_16) on Wed Dec 17 09:24:18 CET 2008 -->
6
<TITLE>
7
ContentReader
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="net.n3.nanoxml.ContentReader class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="ContentReader";
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22

    
23
</HEAD>
24

    
25
<BODY BGCOLOR="white" onload="windowTitle();">
26

    
27

    
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32
<TR>
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
  <TR ALIGN="center" VALIGN="top">
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44
  </TR>
45
</TABLE>
46
</TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48
</EM>
49
</TD>
50
</TR>
51

    
52
<TR>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
&nbsp;PREV CLASS&nbsp;
55
&nbsp;<A HREF="../../../net/n3/nanoxml/IXMLBuilder.html" title="interface in net.n3.nanoxml"><B>NEXT CLASS</B></A></FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
  <A HREF="../../../index.html?net/n3/nanoxml/ContentReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58
&nbsp;<A HREF="ContentReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59
&nbsp;<SCRIPT type="text/javascript">
60
  <!--
61
  if(window==top) {
62
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
63
  }
64
  //-->
65
</SCRIPT>
66
<NOSCRIPT>
67
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
68
</NOSCRIPT>
69

    
70

    
71
</FONT></TD>
72
</TR>
73
<TR>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78
</TR>
79
</TABLE>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
82

    
83
<HR>
84
<!-- ======== START OF CLASS DATA ======== -->
85
<H2>
86
<FONT SIZE="-1">
87
net.n3.nanoxml</FONT>
88
<BR>
89
Class ContentReader</H2>
90
<PRE>
91
java.lang.Object
92
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.io.Reader
93
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>net.n3.nanoxml.ContentReader</B>
94
</PRE>
95
<DL>
96
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable, java.lang.Readable</DD>
97
</DL>
98
<HR>
99
<DL>
100
<DT><PRE> class <B>ContentReader</B><DT>extends java.io.Reader</DL>
101
</PRE>
102

    
103
<P>
104
This reader reads data from another reader until a certain string is encountered.
105
<P>
106

    
107
<P>
108
<DL>
109
<DT><B>Version:</B></DT>
110
  <DD>$Name$, $Version$</DD>
111
<DT><B>Author:</B></DT>
112
  <DD>Marc De Scheemaecker</DD>
113
</DL>
114
<HR>
115

    
116
<P>
117
<!-- =========== FIELD SUMMARY =========== -->
118

    
119
<A NAME="field_summary"><!-- --></A>
120
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123
<B>Field Summary</B></FONT></TH>
124
</TR>
125
<TR BGCOLOR="white" CLASS="TableRowColor">
126
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
128
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#charsReadTooMuch">charsReadTooMuch</A></B></CODE>
129

    
130
<BR>
131
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The characters that have been read too much.</TD>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135
<CODE>private &nbsp;int</CODE></FONT></TD>
136
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#charsToGo">charsToGo</A></B></CODE>
137

    
138
<BR>
139
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of characters in the delimiter that stil need to be scanned.</TD>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143
<CODE>private &nbsp;char[]</CODE></FONT></TD>
144
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#delimiter">delimiter</A></B></CODE>
145

    
146
<BR>
147
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The delimiter that will indicate the end of the stream.</TD>
148
</TR>
149
<TR BGCOLOR="white" CLASS="TableRowColor">
150
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151
<CODE>private &nbsp;<A HREF="../../../net/n3/nanoxml/IXMLEntityResolver.html" title="interface in net.n3.nanoxml">IXMLEntityResolver</A></CODE></FONT></TD>
152
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#entityResolver">entityResolver</A></B></CODE>
153

    
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The encapsulated entityResolver.</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>private &nbsp;char</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#escapeChar">escapeChar</A></B></CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The escape char (&amp; or %).</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>private &nbsp;boolean</CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#pastInitialPrefix">pastInitialPrefix</A></B></CODE>
169

    
170
<BR>
171
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if we are passed the initial prefix.</TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>private &nbsp;<A HREF="../../../net/n3/nanoxml/IXMLReader.html" title="interface in net.n3.nanoxml">IXMLReader</A></CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#reader">reader</A></B></CODE>
177

    
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The encapsulated reader.</TD>
180
</TR>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>private &nbsp;boolean</CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#useLowLevelReader">useLowLevelReader</A></B></CODE>
185

    
186
<BR>
187
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True if the escape char (&amp; or %) needs to be left untouched.</TD>
188
</TR>
189
</TABLE>
190
&nbsp;<A NAME="fields_inherited_from_class_java.io.Reader"><!-- --></A>
191
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
193
<TH ALIGN="left"><B>Fields inherited from class java.io.Reader</B></TH>
194
</TR>
195
<TR BGCOLOR="white" CLASS="TableRowColor">
196
<TD><CODE>lock</CODE></TD>
197
</TR>
198
</TABLE>
199
&nbsp;
200
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
201

    
202
<A NAME="constructor_summary"><!-- --></A>
203
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
204
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
205
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
206
<B>Constructor Summary</B></FONT></TH>
207
</TR>
208
<TR BGCOLOR="white" CLASS="TableRowColor">
209
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#ContentReader(net.n3.nanoxml.IXMLReader, net.n3.nanoxml.IXMLEntityResolver, char, char[], boolean, java.lang.String)">ContentReader</A></B>(<A HREF="../../../net/n3/nanoxml/IXMLReader.html" title="interface in net.n3.nanoxml">IXMLReader</A>&nbsp;reader,
210
              <A HREF="../../../net/n3/nanoxml/IXMLEntityResolver.html" title="interface in net.n3.nanoxml">IXMLEntityResolver</A>&nbsp;entityResolver,
211
              char&nbsp;escapeChar,
212
              char[]&nbsp;delimiter,
213
              boolean&nbsp;useLowLevelReader,
214
              java.lang.String&nbsp;prefix)</CODE>
215

    
216
<BR>
217
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the reader.</TD>
218
</TR>
219
</TABLE>
220
&nbsp;
221
<!-- ========== METHOD SUMMARY =========== -->
222

    
223
<A NAME="method_summary"><!-- --></A>
224
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
225
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
226
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
227
<B>Method Summary</B></FONT></TH>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
<CODE>&nbsp;void</CODE></FONT></TD>
232
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#close()">close</A></B>()</CODE>
233

    
234
<BR>
235
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skips remaining data and closes the stream.</TD>
236
</TR>
237
<TR BGCOLOR="white" CLASS="TableRowColor">
238
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239
<CODE>protected &nbsp;void</CODE></FONT></TD>
240
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#finalize()">finalize</A></B>()</CODE>
241

    
242
<BR>
243
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cleans up the object when it's destroyed.</TD>
244
</TR>
245
<TR BGCOLOR="white" CLASS="TableRowColor">
246
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247
<CODE>&nbsp;int</CODE></FONT></TD>
248
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/ContentReader.html#read(char[], int, int)">read</A></B>(char[]&nbsp;buffer,
249
     int&nbsp;offset,
250
     int&nbsp;size)</CODE>
251

    
252
<BR>
253
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a block of data.</TD>
254
</TR>
255
</TABLE>
256
&nbsp;<A NAME="methods_inherited_from_class_java.io.Reader"><!-- --></A>
257
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
258
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
259
<TH ALIGN="left"><B>Methods inherited from class java.io.Reader</B></TH>
260
</TR>
261
<TR BGCOLOR="white" CLASS="TableRowColor">
262
<TD><CODE>mark, markSupported, read, read, read, ready, reset, skip</CODE></TD>
263
</TR>
264
</TABLE>
265
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
266
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
267
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
268
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
269
</TR>
270
<TR BGCOLOR="white" CLASS="TableRowColor">
271
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
272
</TR>
273
</TABLE>
274
&nbsp;
275
<P>
276

    
277
<!-- ============ FIELD DETAIL =========== -->
278

    
279
<A NAME="field_detail"><!-- --></A>
280
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
283
<B>Field Detail</B></FONT></TH>
284
</TR>
285
</TABLE>
286

    
287
<A NAME="reader"><!-- --></A><H3>
288
reader</H3>
289
<PRE>
290
private <A HREF="../../../net/n3/nanoxml/IXMLReader.html" title="interface in net.n3.nanoxml">IXMLReader</A> <B>reader</B></PRE>
291
<DL>
292
<DD>The encapsulated reader.
293
<P>
294
<DL>
295
</DL>
296
</DL>
297
<HR>
298

    
299
<A NAME="entityResolver"><!-- --></A><H3>
300
entityResolver</H3>
301
<PRE>
302
private <A HREF="../../../net/n3/nanoxml/IXMLEntityResolver.html" title="interface in net.n3.nanoxml">IXMLEntityResolver</A> <B>entityResolver</B></PRE>
303
<DL>
304
<DD>The encapsulated entityResolver.
305
<P>
306
<DL>
307
</DL>
308
</DL>
309
<HR>
310

    
311
<A NAME="escapeChar"><!-- --></A><H3>
312
escapeChar</H3>
313
<PRE>
314
private char <B>escapeChar</B></PRE>
315
<DL>
316
<DD>The escape char (&amp; or %).
317
<P>
318
<DL>
319
</DL>
320
</DL>
321
<HR>
322

    
323
<A NAME="delimiter"><!-- --></A><H3>
324
delimiter</H3>
325
<PRE>
326
private char[] <B>delimiter</B></PRE>
327
<DL>
328
<DD>The delimiter that will indicate the end of the stream.
329
<P>
330
<DL>
331
</DL>
332
</DL>
333
<HR>
334

    
335
<A NAME="charsReadTooMuch"><!-- --></A><H3>
336
charsReadTooMuch</H3>
337
<PRE>
338
private java.lang.String <B>charsReadTooMuch</B></PRE>
339
<DL>
340
<DD>The characters that have been read too much.
341
<P>
342
<DL>
343
</DL>
344
</DL>
345
<HR>
346

    
347
<A NAME="charsToGo"><!-- --></A><H3>
348
charsToGo</H3>
349
<PRE>
350
private int <B>charsToGo</B></PRE>
351
<DL>
352
<DD>The number of characters in the delimiter that stil need to be scanned.
353
<P>
354
<DL>
355
</DL>
356
</DL>
357
<HR>
358

    
359
<A NAME="useLowLevelReader"><!-- --></A><H3>
360
useLowLevelReader</H3>
361
<PRE>
362
private boolean <B>useLowLevelReader</B></PRE>
363
<DL>
364
<DD>True if the escape char (&amp; or %) needs to be left untouched.
365
<P>
366
<DL>
367
</DL>
368
</DL>
369
<HR>
370

    
371
<A NAME="pastInitialPrefix"><!-- --></A><H3>
372
pastInitialPrefix</H3>
373
<PRE>
374
private boolean <B>pastInitialPrefix</B></PRE>
375
<DL>
376
<DD>True if we are passed the initial prefix.
377
<P>
378
<DL>
379
</DL>
380
</DL>
381

    
382
<!-- ========= CONSTRUCTOR DETAIL ======== -->
383

    
384
<A NAME="constructor_detail"><!-- --></A>
385
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
386
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
387
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
388
<B>Constructor Detail</B></FONT></TH>
389
</TR>
390
</TABLE>
391

    
392
<A NAME="ContentReader(net.n3.nanoxml.IXMLReader, net.n3.nanoxml.IXMLEntityResolver, char, char[], boolean, java.lang.String)"><!-- --></A><H3>
393
ContentReader</H3>
394
<PRE>
395
<B>ContentReader</B>(<A HREF="../../../net/n3/nanoxml/IXMLReader.html" title="interface in net.n3.nanoxml">IXMLReader</A>&nbsp;reader,
396
              <A HREF="../../../net/n3/nanoxml/IXMLEntityResolver.html" title="interface in net.n3.nanoxml">IXMLEntityResolver</A>&nbsp;entityResolver,
397
              char&nbsp;escapeChar,
398
              char[]&nbsp;delimiter,
399
              boolean&nbsp;useLowLevelReader,
400
              java.lang.String&nbsp;prefix)</PRE>
401
<DL>
402
<DD>Creates the reader.
403
<P>
404
<DL>
405
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - the encapsulated reader<DD><CODE>entityResolver</CODE> - resolves entities<DD><CODE>escapeChar</CODE> - escape character (&amp; or %)<DD><CODE>delimiter</CODE> - the delimiter, as a backwards string, that will indicate the end of the
406
                          stream<DD><CODE>useLowLevelReader</CODE> - true if &amp; needs to be left untouched; false if entities need to
407
                          be processed<DD><CODE>prefix</CODE> - chars that are already read</DL>
408
</DL>
409

    
410
<!-- ============ METHOD DETAIL ========== -->
411

    
412
<A NAME="method_detail"><!-- --></A>
413
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
414
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
415
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
416
<B>Method Detail</B></FONT></TH>
417
</TR>
418
</TABLE>
419

    
420
<A NAME="finalize()"><!-- --></A><H3>
421
finalize</H3>
422
<PRE>
423
protected void <B>finalize</B>()
424
                 throws java.lang.Throwable</PRE>
425
<DL>
426
<DD>Cleans up the object when it's destroyed.
427
<P>
428
<DD><DL>
429
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
430
</DD>
431
<DD><DL>
432

    
433
<DT><B>Throws:</B>
434
<DD><CODE>java.lang.Throwable</CODE></DL>
435
</DD>
436
</DL>
437
<HR>
438

    
439
<A NAME="read(char[], int, int)"><!-- --></A><H3>
440
read</H3>
441
<PRE>
442
public int <B>read</B>(char[]&nbsp;buffer,
443
                int&nbsp;offset,
444
                int&nbsp;size)
445
         throws java.io.IOException</PRE>
446
<DL>
447
<DD>Reads a block of data.
448
<P>
449
<DD><DL>
450
<DT><B>Specified by:</B><DD><CODE>read</CODE> in class <CODE>java.io.Reader</CODE></DL>
451
</DD>
452
<DD><DL>
453
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - where to put the read data<DD><CODE>offset</CODE> - first position in buffer to put the data<DD><CODE>size</CODE> - maximum number of chars to read
454
<DT><B>Returns:</B><DD>the number of chars read, or -1 if at EOF
455
<DT><B>Throws:</B>
456
<DD><CODE>java.io.IOException</CODE> - if an error occurred reading the data</DL>
457
</DD>
458
</DL>
459
<HR>
460

    
461
<A NAME="close()"><!-- --></A><H3>
462
close</H3>
463
<PRE>
464
public void <B>close</B>()
465
           throws java.io.IOException</PRE>
466
<DL>
467
<DD>Skips remaining data and closes the stream.
468
<P>
469
<DD><DL>
470
<DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>java.io.Closeable</CODE><DT><B>Specified by:</B><DD><CODE>close</CODE> in class <CODE>java.io.Reader</CODE></DL>
471
</DD>
472
<DD><DL>
473

    
474
<DT><B>Throws:</B>
475
<DD><CODE>java.io.IOException</CODE> - if an error occurred reading the data</DL>
476
</DD>
477
</DL>
478
<!-- ========= END OF CLASS DATA ========= -->
479
<HR>
480

    
481

    
482
<!-- ======= START OF BOTTOM NAVBAR ====== -->
483
<A NAME="navbar_bottom"><!-- --></A>
484
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
485
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
486
<TR>
487
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
488
<A NAME="navbar_bottom_firstrow"><!-- --></A>
489
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
490
  <TR ALIGN="center" VALIGN="top">
491
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
492
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
493
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
494
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
495
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
496
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
497
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
498
  </TR>
499
</TABLE>
500
</TD>
501
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
502
</EM>
503
</TD>
504
</TR>
505

    
506
<TR>
507
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
508
&nbsp;PREV CLASS&nbsp;
509
&nbsp;<A HREF="../../../net/n3/nanoxml/IXMLBuilder.html" title="interface in net.n3.nanoxml"><B>NEXT CLASS</B></A></FONT></TD>
510
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
511
  <A HREF="../../../index.html?net/n3/nanoxml/ContentReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
512
&nbsp;<A HREF="ContentReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
513
&nbsp;<SCRIPT type="text/javascript">
514
  <!--
515
  if(window==top) {
516
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
517
  }
518
  //-->
519
</SCRIPT>
520
<NOSCRIPT>
521
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
522
</NOSCRIPT>
523

    
524

    
525
</FONT></TD>
526
</TR>
527
<TR>
528
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
529
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
530
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
531
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
532
</TR>
533
</TABLE>
534
<A NAME="skip-navbar_bottom"></A>
535
<!-- ======== END OF BOTTOM NAVBAR ======= -->
536

    
537
<HR>
538

    
539
</BODY>
540
</HTML>