Original 2.4. With additional eclipse .project/classpath and git ignore
[marc4j.git] / apidoc / org / marc4j / MarcDirStreamReader.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.5.0_06) on Fri Oct 17 16:04:52 EDT 2008 -->\r
6 <TITLE>\r
7 MarcDirStreamReader (MARC4J API)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="org.marc4j.MarcDirStreamReader class">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     parent.document.title="MarcDirStreamReader (MARC4J API)";\r
18 }\r
19 </SCRIPT>\r
20 <NOSCRIPT>\r
21 </NOSCRIPT>\r
22 \r
23 </HEAD>\r
24 \r
25 <BODY BGCOLOR="white" onload="windowTitle();">\r
26 \r
27 \r
28 <!-- ========= START OF TOP NAVBAR ======= -->\r
29 <A NAME="navbar_top"><!-- --></A>\r
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>\r
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
32 <TR>\r
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
34 <A NAME="navbar_top_firstrow"><!-- --></A>\r
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
36   <TR ALIGN="center" VALIGN="top">\r
37   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
39   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MarcDirStreamReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
45   </TR>\r
46 </TABLE>\r
47 </TD>\r
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
49 </EM>\r
50 </TD>\r
51 </TR>\r
52 \r
53 <TR>\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
55 &nbsp;<A HREF="../../org/marc4j/ErrorHandler.Error.html" title="class in org.marc4j"><B>PREV CLASS</B></A>&nbsp;\r
56 &nbsp;<A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
58   <A HREF="../../index.html?org/marc4j/MarcDirStreamReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
59 &nbsp;<A HREF="MarcDirStreamReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
60 &nbsp;<SCRIPT type="text/javascript">\r
61   <!--\r
62   if(window==top) {\r
63     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');\r
64   }\r
65   //-->\r
66 </SCRIPT>\r
67 <NOSCRIPT>\r
68   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>\r
69 </NOSCRIPT>\r
70 \r
71 \r
72 </FONT></TD>\r
73 </TR>\r
74 <TR>\r
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
76   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
78 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
79 </TR>\r
80 </TABLE>\r
81 <A NAME="skip-navbar_top"></A>\r
82 <!-- ========= END OF TOP NAVBAR ========= -->\r
83 \r
84 <HR>\r
85 <!-- ======== START OF CLASS DATA ======== -->\r
86 <H2>\r
87 <FONT SIZE="-1">\r
88 org.marc4j</FONT>\r
89 <BR>\r
90 Class MarcDirStreamReader</H2>\r
91 <PRE>\r
92 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>\r
93   <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>org.marc4j.MarcDirStreamReader</B>\r
94 </PRE>\r
95 <DL>\r
96 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></DD>\r
97 </DL>\r
98 <HR>\r
99 <DL>\r
100 <DT><PRE>public class <B>MarcDirStreamReader</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></DL>\r
101 </PRE>\r
102 \r
103 <P>\r
104 <p>
105  A Marc reader which instead of handling a single file of MARC records
106  it handles a directory, which it will scan for all .mrc files, and 
107  iterate through all of them in turn.
108  </p>\r
109 <P>\r
110 \r
111 <P>\r
112 <DL>\r
113 <DT><B>Version:</B></DT>\r
114   <DD>$Revision: 1.2 $</DD>\r
115 <DT><B>Author:</B></DT>\r
116   <DD>Robert Haschart</DD>\r
117 </DL>\r
118 <HR>\r
119 \r
120 <P>\r
121 \r
122 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
123 \r
124 <A NAME="constructor_summary"><!-- --></A>\r
125 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
126 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
127 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
128 <B>Constructor Summary</B></FONT></TH>\r
129 </TR>\r
130 <TR BGCOLOR="white" CLASS="TableRowColor">\r
131 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#MarcDirStreamReader(java.io.File)">MarcDirStreamReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;dir)</CODE>\r
132 \r
133 <BR>\r
134 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that traverses the directory specified in the parameter.</TD>\r
135 </TR>\r
136 <TR BGCOLOR="white" CLASS="TableRowColor">\r
137 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#MarcDirStreamReader(java.io.File, boolean, boolean)">MarcDirStreamReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;dir,\r
138                     boolean&nbsp;permissive,\r
139                     boolean&nbsp;convertToUTF8)</CODE>\r
140 \r
141 <BR>\r
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that traverses the directory specified in the parameter.</TD>\r
143 </TR>\r
144 <TR BGCOLOR="white" CLASS="TableRowColor">\r
145 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#MarcDirStreamReader(java.io.File, boolean, boolean, java.lang.String)">MarcDirStreamReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;dir,\r
146                     boolean&nbsp;permissive,\r
147                     boolean&nbsp;convertToUTF8,\r
148                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultEncoding)</CODE>\r
149 \r
150 <BR>\r
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that traverses the directory specified in the parameter.</TD>\r
152 </TR>\r
153 <TR BGCOLOR="white" CLASS="TableRowColor">\r
154 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#MarcDirStreamReader(java.lang.String)">MarcDirStreamReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dirName)</CODE>\r
155 \r
156 <BR>\r
157 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that traverses the directory specified in the parameter.</TD>\r
158 </TR>\r
159 <TR BGCOLOR="white" CLASS="TableRowColor">\r
160 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#MarcDirStreamReader(java.lang.String, boolean, boolean)">MarcDirStreamReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dirName,\r
161                     boolean&nbsp;permissive,\r
162                     boolean&nbsp;convertToUTF8)</CODE>\r
163 \r
164 <BR>\r
165 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that traverses the directory specified in the parameter.</TD>\r
166 </TR>\r
167 <TR BGCOLOR="white" CLASS="TableRowColor">\r
168 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#MarcDirStreamReader(java.lang.String, boolean, boolean, java.lang.String)">MarcDirStreamReader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dirName,\r
169                     boolean&nbsp;permissive,\r
170                     boolean&nbsp;convertToUTF8,\r
171                     <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultEncoding)</CODE>\r
172 \r
173 <BR>\r
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance that traverses the directory specified in the parameter.</TD>\r
175 </TR>\r
176 </TABLE>\r
177 &nbsp;\r
178 <!-- ========== METHOD SUMMARY =========== -->\r
179 \r
180 <A NAME="method_summary"><!-- --></A>\r
181 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
182 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
183 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
184 <B>Method Summary</B></FONT></TH>\r
185 </TR>\r
186 <TR BGCOLOR="white" CLASS="TableRowColor">\r
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
188 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
189 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#hasNext()">hasNext</A></B>()</CODE>\r
190 \r
191 <BR>\r
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the iteration has more records, false otherwise.</TD>\r
193 </TR>\r
194 <TR BGCOLOR="white" CLASS="TableRowColor">\r
195 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
196 <CODE>&nbsp;<A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A></CODE></FONT></TD>\r
197 <TD><CODE><B><A HREF="../../org/marc4j/MarcDirStreamReader.html#next()">next</A></B>()</CODE>\r
198 \r
199 <BR>\r
200 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next record in the iteration.</TD>\r
201 </TR>\r
202 </TABLE>\r
203 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>\r
204 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
205 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
206 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>\r
207 </TR>\r
208 <TR BGCOLOR="white" CLASS="TableRowColor">\r
209 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>\r
210 </TR>\r
211 </TABLE>\r
212 &nbsp;\r
213 <P>\r
214 \r
215 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
216 \r
217 <A NAME="constructor_detail"><!-- --></A>\r
218 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
219 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
220 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
221 <B>Constructor Detail</B></FONT></TH>\r
222 </TR>\r
223 </TABLE>\r
224 \r
225 <A NAME="MarcDirStreamReader(java.lang.String)"><!-- --></A><H3>\r
226 MarcDirStreamReader</H3>\r
227 <PRE>\r
228 public <B>MarcDirStreamReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dirName)</PRE>\r
229 <DL>\r
230 <DD>Constructs an instance that traverses the directory specified in the parameter.\r
231 <P>\r
232 <DL>\r
233 <DT><B>Parameters:</B><DD><CODE>dirName</CODE> - - The path of the directory from which to read all of the .mrc files</DL>\r
234 </DL>\r
235 <HR>\r
236 \r
237 <A NAME="MarcDirStreamReader(java.io.File)"><!-- --></A><H3>\r
238 MarcDirStreamReader</H3>\r
239 <PRE>\r
240 public <B>MarcDirStreamReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;dir)</PRE>\r
241 <DL>\r
242 <DD>Constructs an instance that traverses the directory specified in the parameter.\r
243 <P>\r
244 <DL>\r
245 <DT><B>Parameters:</B><DD><CODE>dir</CODE> - - The path of the directory from which to read all of the .mrc files</DL>\r
246 </DL>\r
247 <HR>\r
248 \r
249 <A NAME="MarcDirStreamReader(java.lang.String, boolean, boolean)"><!-- --></A><H3>\r
250 MarcDirStreamReader</H3>\r
251 <PRE>\r
252 public <B>MarcDirStreamReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dirName,\r
253                            boolean&nbsp;permissive,\r
254                            boolean&nbsp;convertToUTF8)</PRE>\r
255 <DL>\r
256 <DD>Constructs an instance that traverses the directory specified in the parameter.
257  Takes the values passed in for permissive and convertToUTF8 and passes them on 
258  to each of the MarcPermissiveStreamReader that it creates.\r
259 <P>\r
260 <DL>\r
261 <DT><B>Parameters:</B><DD><CODE>dirName</CODE> - - The path of the directory from which to read all of the .mrc files<DD><CODE>permissive</CODE> - - Set to true to specify that reader should try to handle and recover 
262                      from errors in the input.<DD><CODE>convertToUTF8</CODE> - - Set to true to specify that reader should convert the records
263                                                   being read to UTF-8 encoding as they are being read.</DL>\r
264 </DL>\r
265 <HR>\r
266 \r
267 <A NAME="MarcDirStreamReader(java.io.File, boolean, boolean)"><!-- --></A><H3>\r
268 MarcDirStreamReader</H3>\r
269 <PRE>\r
270 public <B>MarcDirStreamReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;dir,\r
271                            boolean&nbsp;permissive,\r
272                            boolean&nbsp;convertToUTF8)</PRE>\r
273 <DL>\r
274 <DD>Constructs an instance that traverses the directory specified in the parameter.
275  Takes the values passed in for permissive and convertToUTF8 and passes them on 
276  to each of the MarcPermissiveStreamReader that it creates.\r
277 <P>\r
278 <DL>\r
279 <DT><B>Parameters:</B><DD><CODE>dir</CODE> - - The path of the directory from which to read all of the .mrc files<DD><CODE>permissive</CODE> - - Set to true to specify that reader should try to handle and recover 
280                      from errors in the input.<DD><CODE>convertToUTF8</CODE> - - Set to true to specify that reader should convert the records
281                                                   being read to UTF-8 encoding as they are being read.</DL>\r
282 </DL>\r
283 <HR>\r
284 \r
285 <A NAME="MarcDirStreamReader(java.lang.String, boolean, boolean, java.lang.String)"><!-- --></A><H3>\r
286 MarcDirStreamReader</H3>\r
287 <PRE>\r
288 public <B>MarcDirStreamReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;dirName,\r
289                            boolean&nbsp;permissive,\r
290                            boolean&nbsp;convertToUTF8,\r
291                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultEncoding)</PRE>\r
292 <DL>\r
293 <DD>Constructs an instance that traverses the directory specified in the parameter.
294  Takes the values passed in for permissive and convertToUTF8 and passes them on 
295  to each of the MarcPermissiveStreamReader that it creates.\r
296 <P>\r
297 <DL>\r
298 <DT><B>Parameters:</B><DD><CODE>dirName</CODE> - - The path of the directory from which to read all of the .mrc files<DD><CODE>permissive</CODE> - - Set to true to specify that reader should try to handle and recover 
299                      from errors in the input.<DD><CODE>convertToUTF8</CODE> - - Set to true to specify that reader should convert the records
300                                                   being read to UTF-8 encoding as they are being read.<DD><CODE>defaultEncoding</CODE> - - Specifies the character encoding that the records being read
301                                                         are presumed to be in..</DL>\r
302 </DL>\r
303 <HR>\r
304 \r
305 <A NAME="MarcDirStreamReader(java.io.File, boolean, boolean, java.lang.String)"><!-- --></A><H3>\r
306 MarcDirStreamReader</H3>\r
307 <PRE>\r
308 public <B>MarcDirStreamReader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;dir,\r
309                            boolean&nbsp;permissive,\r
310                            boolean&nbsp;convertToUTF8,\r
311                            <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultEncoding)</PRE>\r
312 <DL>\r
313 <DD>Constructs an instance that traverses the directory specified in the parameter.
314  Takes the values passed in for permissive and convertToUTF8 and passes them on 
315  to each of the MarcPermissiveStreamReader that it creates.\r
316 <P>\r
317 <DL>\r
318 <DT><B>Parameters:</B><DD><CODE>dir</CODE> - - The path of the directory from which to read all of the .mrc files<DD><CODE>permissive</CODE> - - Set to true to specify that reader should try to handle and recover 
319                      from errors in the input.<DD><CODE>convertToUTF8</CODE> - - Set to true to specify that reader should convert the records
320                                                   being read to UTF-8 encoding as they are being read.<DD><CODE>defaultEncoding</CODE> - - Specifies the character encoding that the records being read
321                                                         are presumed to be in..</DL>\r
322 </DL>\r
323 \r
324 <!-- ============ METHOD DETAIL ========== -->\r
325 \r
326 <A NAME="method_detail"><!-- --></A>\r
327 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
328 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
329 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
330 <B>Method Detail</B></FONT></TH>\r
331 </TR>\r
332 </TABLE>\r
333 \r
334 <A NAME="hasNext()"><!-- --></A><H3>\r
335 hasNext</H3>\r
336 <PRE>\r
337 public boolean <B>hasNext</B>()</PRE>\r
338 <DL>\r
339 <DD>Returns true if the iteration has more records, false otherwise.\r
340 <P>\r
341 <DD><DL>\r
342 <DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcReader.html#hasNext()">hasNext</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></CODE></DL>\r
343 </DD>\r
344 <DD><DL>\r
345 </DL>\r
346 </DD>\r
347 </DL>\r
348 <HR>\r
349 \r
350 <A NAME="next()"><!-- --></A><H3>\r
351 next</H3>\r
352 <PRE>\r
353 public <A HREF="../../org/marc4j/marc/Record.html" title="interface in org.marc4j.marc">Record</A> <B>next</B>()</PRE>\r
354 <DL>\r
355 <DD>Returns the next record in the iteration.\r
356 <P>\r
357 <DD><DL>\r
358 <DT><B>Specified by:</B><DD><CODE><A HREF="../../org/marc4j/MarcReader.html#next()">next</A></CODE> in interface <CODE><A HREF="../../org/marc4j/MarcReader.html" title="interface in org.marc4j">MarcReader</A></CODE></DL>\r
359 </DD>\r
360 <DD><DL>\r
361 \r
362 <DT><B>Returns:</B><DD>Record - the record object</DL>\r
363 </DD>\r
364 </DL>\r
365 <!-- ========= END OF CLASS DATA ========= -->\r
366 <HR>\r
367 \r
368 \r
369 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
370 <A NAME="navbar_bottom"><!-- --></A>\r
371 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>\r
372 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
373 <TR>\r
374 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
375 <A NAME="navbar_bottom_firstrow"><!-- --></A>\r
376 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
377   <TR ALIGN="center" VALIGN="top">\r
378   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
379   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
380   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
381   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MarcDirStreamReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
382   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
383   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
384   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
385   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
386   </TR>\r
387 </TABLE>\r
388 </TD>\r
389 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
390 </EM>\r
391 </TD>\r
392 </TR>\r
393 \r
394 <TR>\r
395 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
396 &nbsp;<A HREF="../../org/marc4j/ErrorHandler.Error.html" title="class in org.marc4j"><B>PREV CLASS</B></A>&nbsp;\r
397 &nbsp;<A HREF="../../org/marc4j/MarcException.html" title="class in org.marc4j"><B>NEXT CLASS</B></A></FONT></TD>\r
398 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
399   <A HREF="../../index.html?org/marc4j/MarcDirStreamReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
400 &nbsp;<A HREF="MarcDirStreamReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
401 &nbsp;<SCRIPT type="text/javascript">\r
402   <!--\r
403   if(window==top) {\r
404     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');\r
405   }\r
406   //-->\r
407 </SCRIPT>\r
408 <NOSCRIPT>\r
409   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>\r
410 </NOSCRIPT>\r
411 \r
412 \r
413 </FONT></TD>\r
414 </TR>\r
415 <TR>\r
416 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
417   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
418 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
419 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
420 </TR>\r
421 </TABLE>\r
422 <A NAME="skip-navbar_bottom"></A>\r
423 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
424 \r
425 <HR>\r
426 Copyright © 2002-2006 Bas Peters. All Rights Reserved.\r
427 </BODY>\r
428 </HTML>\r