root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / drivers / shp / DbaseFileReaderNIO.html @ 11445
History | View | Annotate | Download (20.1 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.4.2_04) on Mon Feb 14 08:45:49 CET 2005 -->
|
6 |
<TITLE>
|
7 |
DbaseFileReaderNIO (FMap API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileReaderNIO 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="DbaseFileReaderNIO (FMap API)"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
|
21 |
</HEAD>
|
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR>
|
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
42 |
</TR>
|
43 |
</TABLE>
|
44 |
</TD>
|
45 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
46 |
</EM>
|
47 |
</TD>
|
48 |
</TR>
|
49 |
|
50 |
<TR>
|
51 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
52 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileNIO.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.Row.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp"><B>NEXT CLASS</B></A></FONT></TD> |
54 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
55 |
<A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
56 |
<A HREF="DbaseFileReaderNIO.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
75 |
</TR>
|
76 |
</TABLE>
|
77 |
<A NAME="skip-navbar_top"></A> |
78 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
79 |
|
80 |
<HR>
|
81 |
<!-- ======== START OF CLASS DATA ======== -->
|
82 |
<H2>
|
83 |
<FONT SIZE="-1"> |
84 |
com.iver.cit.gvsig.fmap.drivers.shp</FONT>
|
85 |
<BR>
|
86 |
Class DbaseFileReaderNIO</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileReaderNIO</B> |
90 |
</PRE>
|
91 |
<HR>
|
92 |
<DL>
|
93 |
<DT>public class <B>DbaseFileReaderNIO</B><DT>extends java.lang.Object</DL> |
94 |
|
95 |
<P>
|
96 |
A DbaseFileReader is used to read a dbase III format file. |
97 |
<br>
|
98 |
The general use of this class is: |
99 |
<CODE><PRE> |
100 |
FileChannel in = new FileInputStream("thefile.dbf").getChannel(); |
101 |
DbaseFileReader r = new DbaseFileReader( in ) |
102 |
Object[] fields = new Object[r.getHeader().getNumFields()]; |
103 |
while (r.hasNext()) { |
104 |
r.readEntry(fields); |
105 |
// do stuff |
106 |
} |
107 |
r.close(); |
108 |
</PRE></CODE> |
109 |
For consumers who wish to be a bit more selective with their reading of rows, |
110 |
the Row object has been added. The semantics are the same as using the |
111 |
readEntry method, but remember that the Row object is always the same. The |
112 |
values are parsed as they are read, so it pays to copy them out (as each call |
113 |
to Row.read() will result in an expensive String parse). |
114 |
<br><b>EACH CALL TO readEntry OR readRow ADVANCES THE FILE!</b><br> |
115 |
An example of using the Row method of reading: |
116 |
<CODE><PRE> |
117 |
FileChannel in = new FileInputStream("thefile.dbf").getChannel(); |
118 |
DbaseFileReader r = new DbaseFileReader( in ) |
119 |
int fields = r.getHeader().getNumFields(); |
120 |
while (r.hasNext()) { |
121 |
DbaseFileReader.Row row = r.readRow(); |
122 |
for (int i = 0; i < fields; i++) {
|
123 |
// do stuff |
124 |
Foo.bar( row.read(i) ); |
125 |
} |
126 |
} |
127 |
r.close(); |
128 |
</PRE></CODE> |
129 |
<P>
|
130 |
|
131 |
<P>
|
132 |
<DL>
|
133 |
<DT><B>Author:</B></DT> |
134 |
<DD>Ian Schneider</DD> |
135 |
</DL>
|
136 |
<HR>
|
137 |
|
138 |
<P>
|
139 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
140 |
|
141 |
<A NAME="nested_class_summary"><!-- --></A> |
142 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
143 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
144 |
<TD COLSPAN=2><FONT SIZE="+2"> |
145 |
<B>Nested Class Summary</B></FONT></TD> |
146 |
</TR>
|
147 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
148 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
149 |
<CODE> class</CODE></FONT></TD> |
150 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.Row.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileReaderNIO.Row</A></B></CODE> |
151 |
|
152 |
<BR>
|
153 |
</TD> |
154 |
</TR>
|
155 |
</TABLE>
|
156 |
|
157 |
<!-- =========== FIELD SUMMARY =========== -->
|
158 |
|
159 |
|
160 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
161 |
|
162 |
<A NAME="constructor_summary"><!-- --></A> |
163 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
164 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
165 |
<TD COLSPAN=2><FONT SIZE="+2"> |
166 |
<B>Constructor Summary</B></FONT></TD> |
167 |
</TR>
|
168 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
169 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#DbaseFileReaderNIO(java.nio.channels.ReadableByteChannel)">DbaseFileReaderNIO</A></B>(java.nio.channels.ReadableByteChannel channel)</CODE> |
170 |
|
171 |
<BR>
|
172 |
Creates a new instance of DBaseFileReader</TD> |
173 |
</TR>
|
174 |
</TABLE>
|
175 |
|
176 |
<!-- ========== METHOD SUMMARY =========== -->
|
177 |
|
178 |
<A NAME="method_summary"><!-- --></A> |
179 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
180 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
181 |
<TD COLSPAN=2><FONT SIZE="+2"> |
182 |
<B>Method Summary</B></FONT></TD> |
183 |
</TR>
|
184 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
185 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
186 |
<CODE> void</CODE></FONT></TD> |
187 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#close()">close</A></B>()</CODE> |
188 |
|
189 |
<BR>
|
190 |
Clean up all resources associated with this reader.</TD> |
191 |
</TR>
|
192 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
193 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
194 |
<CODE> <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileHeaderNIO.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileHeaderNIO</A></CODE></FONT></TD> |
195 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#getHeader()">getHeader</A></B>()</CODE> |
196 |
|
197 |
<BR>
|
198 |
Get the header from this file. </TD> |
199 |
</TR>
|
200 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
201 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
202 |
<CODE> boolean</CODE></FONT></TD> |
203 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#hasNext()">hasNext</A></B>()</CODE> |
204 |
|
205 |
<BR>
|
206 |
Query the reader as to whether there is another record.</TD> |
207 |
</TR>
|
208 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
209 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
210 |
<CODE>static void</CODE></FONT></TD> |
211 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE> |
212 |
|
213 |
<BR>
|
214 |
</TD> |
215 |
</TR>
|
216 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
217 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
218 |
<CODE> java.lang.Object[]</CODE></FONT></TD> |
219 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#readEntry()">readEntry</A></B>()</CODE> |
220 |
|
221 |
<BR>
|
222 |
Get the next record (entry). </TD> |
223 |
</TR>
|
224 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
225 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
226 |
<CODE> java.lang.Object[]</CODE></FONT></TD> |
227 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#readEntry(java.lang.Object[])">readEntry</A></B>(java.lang.Object[] entry)</CODE> |
228 |
|
229 |
<BR>
|
230 |
Copy the next entry into the array.</TD> |
231 |
</TR>
|
232 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
233 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
234 |
<CODE> java.lang.Object[]</CODE></FONT></TD> |
235 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#readEntry(java.lang.Object[], int)">readEntry</A></B>(java.lang.Object[] entry, |
236 |
int offset)</CODE> |
237 |
|
238 |
<BR>
|
239 |
Copy the next record into the array starting at offset.</TD> |
240 |
</TR>
|
241 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
242 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
243 |
<CODE> <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.Row.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileReaderNIO.Row</A></CODE></FONT></TD> |
244 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#readRow()">readRow</A></B>()</CODE> |
245 |
|
246 |
<BR>
|
247 |
</TD> |
248 |
</TR>
|
249 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
250 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
251 |
<CODE> void</CODE></FONT></TD> |
252 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#skip()">skip</A></B>()</CODE> |
253 |
|
254 |
<BR>
|
255 |
Skip the next record.</TD> |
256 |
</TR>
|
257 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
258 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
259 |
<CODE> void</CODE></FONT></TD> |
260 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.html#transferTo(com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileWriterNIO)">transferTo</A></B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileWriterNIO.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileWriterNIO</A> writer)</CODE> |
261 |
|
262 |
<BR>
|
263 |
Transfer, by bytes, the next record to the writer.</TD> |
264 |
</TR>
|
265 |
</TABLE>
|
266 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
267 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
268 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
269 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
270 |
</TR>
|
271 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
272 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
273 |
</TR>
|
274 |
</TABLE>
|
275 |
|
276 |
<P>
|
277 |
|
278 |
<!-- ============ FIELD DETAIL =========== -->
|
279 |
|
280 |
|
281 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
282 |
|
283 |
<A NAME="constructor_detail"><!-- --></A> |
284 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
285 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
286 |
<TD COLSPAN=1><FONT SIZE="+2"> |
287 |
<B>Constructor Detail</B></FONT></TD> |
288 |
</TR>
|
289 |
</TABLE>
|
290 |
|
291 |
<A NAME="DbaseFileReaderNIO(java.nio.channels.ReadableByteChannel)"><!-- --></A><H3> |
292 |
DbaseFileReaderNIO</H3>
|
293 |
<PRE>
|
294 |
public <B>DbaseFileReaderNIO</B>(java.nio.channels.ReadableByteChannel channel) |
295 |
throws java.io.IOException</PRE>
|
296 |
<DL>
|
297 |
<DD>Creates a new instance of DBaseFileReader
|
298 |
<P>
|
299 |
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - The readable channel to use. |
300 |
<DT><B>Throws:</B> |
301 |
<DD><CODE>java.io.IOException</CODE> - If an error occurs while initializing.</DL> |
302 |
|
303 |
<!-- ============ METHOD DETAIL ========== -->
|
304 |
|
305 |
<A NAME="method_detail"><!-- --></A> |
306 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
307 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
308 |
<TD COLSPAN=1><FONT SIZE="+2"> |
309 |
<B>Method Detail</B></FONT></TD> |
310 |
</TR>
|
311 |
</TABLE>
|
312 |
|
313 |
<A NAME="getHeader()"><!-- --></A><H3> |
314 |
getHeader</H3>
|
315 |
<PRE>
|
316 |
public <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileHeaderNIO.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileHeaderNIO</A> <B>getHeader</B>()</PRE> |
317 |
<DL>
|
318 |
<DD>Get the header from this file. The header is read upon instantiation.
|
319 |
<P>
|
320 |
<DD><DL> |
321 |
|
322 |
<DT><B>Returns:</B><DD>The header associated with this file or null if an error occurred.</DL> |
323 |
</DD>
|
324 |
</DL>
|
325 |
<HR>
|
326 |
|
327 |
<A NAME="close()"><!-- --></A><H3> |
328 |
close</H3>
|
329 |
<PRE>
|
330 |
public void <B>close</B>() |
331 |
throws java.io.IOException</PRE>
|
332 |
<DL>
|
333 |
<DD>Clean up all resources associated with this reader.<B>Highly recomended.</B> |
334 |
<P>
|
335 |
<DD><DL> |
336 |
|
337 |
<DT><B>Throws:</B> |
338 |
<DD><CODE>java.io.IOException</CODE> - If an error occurs.</DL> |
339 |
</DD>
|
340 |
</DL>
|
341 |
<HR>
|
342 |
|
343 |
<A NAME="hasNext()"><!-- --></A><H3> |
344 |
hasNext</H3>
|
345 |
<PRE>
|
346 |
public boolean <B>hasNext</B>()</PRE> |
347 |
<DL>
|
348 |
<DD>Query the reader as to whether there is another record.
|
349 |
<P>
|
350 |
<DD><DL> |
351 |
|
352 |
<DT><B>Returns:</B><DD>True if more records exist, false otherwise.</DL> |
353 |
</DD>
|
354 |
</DL>
|
355 |
<HR>
|
356 |
|
357 |
<A NAME="readEntry()"><!-- --></A><H3> |
358 |
readEntry</H3>
|
359 |
<PRE>
|
360 |
public java.lang.Object[] <B>readEntry</B>() |
361 |
throws java.io.IOException</PRE>
|
362 |
<DL>
|
363 |
<DD>Get the next record (entry). Will return a new array of values.
|
364 |
<P>
|
365 |
<DD><DL> |
366 |
|
367 |
<DT><B>Returns:</B><DD>A new array of values. |
368 |
<DT><B>Throws:</B> |
369 |
<DD><CODE>java.io.IOException</CODE> - If an error occurs.</DL> |
370 |
</DD>
|
371 |
</DL>
|
372 |
<HR>
|
373 |
|
374 |
<A NAME="readRow()"><!-- --></A><H3> |
375 |
readRow</H3>
|
376 |
<PRE>
|
377 |
public <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.Row.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileReaderNIO.Row</A> <B>readRow</B>() |
378 |
throws java.io.IOException</PRE>
|
379 |
<DL>
|
380 |
<DD><DL> |
381 |
|
382 |
<DT><B>Throws:</B> |
383 |
<DD><CODE>java.io.IOException</CODE></DL> |
384 |
</DD>
|
385 |
</DL>
|
386 |
<HR>
|
387 |
|
388 |
<A NAME="skip()"><!-- --></A><H3> |
389 |
skip</H3>
|
390 |
<PRE>
|
391 |
public void <B>skip</B>() |
392 |
throws java.io.IOException</PRE>
|
393 |
<DL>
|
394 |
<DD>Skip the next record.
|
395 |
<P>
|
396 |
<DD><DL> |
397 |
|
398 |
<DT><B>Throws:</B> |
399 |
<DD><CODE>java.io.IOException</CODE> - If an error occurs.</DL> |
400 |
</DD>
|
401 |
</DL>
|
402 |
<HR>
|
403 |
|
404 |
<A NAME="readEntry(java.lang.Object[], int)"><!-- --></A><H3> |
405 |
readEntry</H3>
|
406 |
<PRE>
|
407 |
public java.lang.Object[] <B>readEntry</B>(java.lang.Object[] entry, |
408 |
int offset)
|
409 |
throws java.io.IOException</PRE>
|
410 |
<DL>
|
411 |
<DD>Copy the next record into the array starting at offset.
|
412 |
<P>
|
413 |
<DD><DL> |
414 |
<DT><B>Parameters:</B><DD><CODE>entry</CODE> - Th array to copy into.<DD><CODE>offset</CODE> - The offset to start at |
415 |
<DT><B>Returns:</B><DD>The same array passed in. |
416 |
<DT><B>Throws:</B> |
417 |
<DD><CODE>java.io.IOException</CODE> - If an error occurs.</DL> |
418 |
</DD>
|
419 |
</DL>
|
420 |
<HR>
|
421 |
|
422 |
<A NAME="transferTo(com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileWriterNIO)"><!-- --></A><H3> |
423 |
transferTo</H3>
|
424 |
<PRE>
|
425 |
public void <B>transferTo</B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileWriterNIO.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp">DbaseFileWriterNIO</A> writer) |
426 |
throws java.io.IOException</PRE>
|
427 |
<DL>
|
428 |
<DD>Transfer, by bytes, the next record to the writer.
|
429 |
<P>
|
430 |
<DD><DL> |
431 |
|
432 |
<DT><B>Throws:</B> |
433 |
<DD><CODE>java.io.IOException</CODE></DL> |
434 |
</DD>
|
435 |
</DL>
|
436 |
<HR>
|
437 |
|
438 |
<A NAME="readEntry(java.lang.Object[])"><!-- --></A><H3> |
439 |
readEntry</H3>
|
440 |
<PRE>
|
441 |
public java.lang.Object[] <B>readEntry</B>(java.lang.Object[] entry) |
442 |
throws java.io.IOException</PRE>
|
443 |
<DL>
|
444 |
<DD>Copy the next entry into the array.
|
445 |
<P>
|
446 |
<DD><DL> |
447 |
<DT><B>Parameters:</B><DD><CODE>entry</CODE> - The array to copy into. |
448 |
<DT><B>Returns:</B><DD>The same array passed in. |
449 |
<DT><B>Throws:</B> |
450 |
<DD><CODE>java.io.IOException</CODE> - If an error occurs.</DL> |
451 |
</DD>
|
452 |
</DL>
|
453 |
<HR>
|
454 |
|
455 |
<A NAME="main(java.lang.String[])"><!-- --></A><H3> |
456 |
main</H3>
|
457 |
<PRE>
|
458 |
public static void <B>main</B>(java.lang.String[] args) |
459 |
throws java.lang.Exception</PRE>
|
460 |
<DL>
|
461 |
<DD><DL> |
462 |
|
463 |
<DT><B>Throws:</B> |
464 |
<DD><CODE>java.lang.Exception</CODE></DL> |
465 |
</DD>
|
466 |
</DL>
|
467 |
<!-- ========= END OF CLASS DATA ========= -->
|
468 |
<HR>
|
469 |
|
470 |
|
471 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
472 |
<A NAME="navbar_bottom"><!-- --></A> |
473 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
474 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
475 |
<TR>
|
476 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
477 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
478 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
479 |
<TR ALIGN="center" VALIGN="top"> |
480 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
481 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
482 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
483 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
484 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
485 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
486 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
487 |
</TR>
|
488 |
</TABLE>
|
489 |
</TD>
|
490 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
491 |
</EM>
|
492 |
</TD>
|
493 |
</TR>
|
494 |
|
495 |
<TR>
|
496 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
497 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileNIO.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp"><B>PREV CLASS</B></A> |
498 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/DbaseFileReaderNIO.Row.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp"><B>NEXT CLASS</B></A></FONT></TD> |
499 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
500 |
<A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
501 |
<A HREF="DbaseFileReaderNIO.html" target="_top"><B>NO FRAMES</B></A> |
502 |
<SCRIPT type="text/javascript"> |
503 |
<!--
|
504 |
if(window==top) {
|
505 |
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
506 |
}
|
507 |
//-->
|
508 |
</SCRIPT>
|
509 |
<NOSCRIPT>
|
510 |
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
511 |
</NOSCRIPT>
|
512 |
|
513 |
</FONT></TD> |
514 |
</TR>
|
515 |
<TR>
|
516 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
517 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
518 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
519 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
520 |
</TR>
|
521 |
</TABLE>
|
522 |
<A NAME="skip-navbar_bottom"></A> |
523 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
524 |
|
525 |
<HR>
|
526 |
|
527 |
</BODY>
|
528 |
</HTML>
|