Statistics
| Revision:

root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / write / ExtensibleFile.html @ 11445

History | View | Annotate | Download (20.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.4.2_04) on Mon Feb 14 08:45:54 CET 2005 -->
6
<TITLE>
7
ExtensibleFile (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.write.ExtensibleFile 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="ExtensibleFile (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>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileEditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write"><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>  &nbsp;
56
&nbsp;<A HREF="ExtensibleFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.write</FONT>
85
<BR>
86
Class ExtensibleFile</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.write.ExtensibleFile</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>ExtensibleFile</B><DT>extends java.lang.Object</DL>
94

    
95
<P>
96
Clase que representa el fichero donde se pueden meter features creadas por el usuario durante la edici?n. Si se elimina una geometr?a se marca como eliminada. La geometria sigue estando pero se devuelve una geometria nula si se accede a tal geometria. Si se a?ade, se a?ade al final del fichero y si se modifica se pone el shapetype a MODIFIED y a continuaci?n del shapetype se pone el n?mero de registro donde se inserta la modificaci?n. Hay que destacar que un ExtensibleFile no deja de crecer. Si hay n features, y se eliminan 2, sigue habiendo n features, aunque algunas de ellas sean null. Esto se hace con la finalidad de que los ?ndices en los que a?aden las features no cambien por eliminaciones de otras features
97
<P>
98

    
99
<P>
100
<HR>
101

    
102
<P>
103
<!-- ======== NESTED CLASS SUMMARY ======== -->
104

    
105

    
106
<!-- =========== FIELD SUMMARY =========== -->
107

    
108

    
109
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
110

    
111
<A NAME="constructor_summary"><!-- --></A>
112
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114
<TD COLSPAN=2><FONT SIZE="+2">
115
<B>Constructor Summary</B></FONT></TD>
116
</TR>
117
<TR BGCOLOR="white" CLASS="TableRowColor">
118
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#ExtensibleFile()">ExtensibleFile</A></B>()</CODE>
119

    
120
<BR>
121
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122
</TR>
123
</TABLE>
124
&nbsp;
125
<!-- ========== METHOD SUMMARY =========== -->
126

    
127
<A NAME="method_summary"><!-- --></A>
128
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130
<TD COLSPAN=2><FONT SIZE="+2">
131
<B>Method Summary</B></FONT></TD>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135
<CODE>&nbsp;int</CODE></FONT></TD>
136
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#addGeometry(com.iver.cit.gvsig.fmap.core.IGeometry)">addGeometry</A></B>(<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>&nbsp;g)</CODE>
137

    
138
<BR>
139
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A?ade una geometr?a al final del fichero y devuelve la posici?n que ocupa. </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="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#close()">close</A></B>()</CODE>
145

    
146
<BR>
147
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cierra el fichero abierto con create</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="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#compact()">compact</A></B>()</CODE>
153

    
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comprime el fichero ya que las features modificadas pueden estar encadenadas en m?s de un registro.</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>&nbsp;int</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#deleteGeometry(int)">deleteGeometry</A></B>(int&nbsp;id)</CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mete el ?ndice en el bitset deleted para saber que dicho registro est? eliminado</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A></CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#getShape(int)">getShape</A></B>(int&nbsp;index)</CODE>
169

    
170
<BR>
171
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accede al registro index-?simo del fichero y se cuenta el n?mero de registros eliminados anteriores a dicho registro (n). </TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>&nbsp;int</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#getShapeCount()">getShapeCount</A></B>()</CODE>
177

    
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el n?mero de registros del fichero contando los que ya han sido eliminados</TD>
180
</TR>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A></CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#modifyGeometry(int, com.iver.cit.gvsig.fmap.core.IGeometry)">modifyGeometry</A></B>(int&nbsp;i,
185
               <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>&nbsp;g)</CODE>
186

    
187
<BR>
188
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marca la feature i-esima del fichero como modificada (MODIFED), y a continuaci?n del shapetype mete un entero con el n?mero de registro de la feature modificada. </TD>
189
</TR>
190
<TR BGCOLOR="white" CLASS="TableRowColor">
191
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192
<CODE>&nbsp;void</CODE></FONT></TD>
193
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#open()">open</A></B>()</CODE>
194

    
195
<BR>
196
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crea un fichero temporal y lo abre para escritura</TD>
197
</TR>
198
<TR BGCOLOR="white" CLASS="TableRowColor">
199
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200
<CODE>&nbsp;void</CODE></FONT></TD>
201
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#restoreGeometry(int, int)">restoreGeometry</A></B>(int&nbsp;i,
202
                int&nbsp;type)</CODE>
203

    
204
<BR>
205
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deshace la eliminaci?n de la geometr?a. </TD>
206
</TR>
207
<TR BGCOLOR="white" CLASS="TableRowColor">
208
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209
<CODE>&nbsp;void</CODE></FONT></TD>
210
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/ExtensibleFile.html#setGeometry(int, com.iver.cit.gvsig.fmap.core.IGeometry)">setGeometry</A></B>(int&nbsp;index,
211
            <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>&nbsp;g)</CODE>
212

    
213
<BR>
214
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A?ade la feature en la posici?n index del fichero. </TD>
215
</TR>
216
</TABLE>
217
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
218
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
219
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
220
<TD><B>Methods inherited from class java.lang.Object</B></TD>
221
</TR>
222
<TR BGCOLOR="white" CLASS="TableRowColor">
223
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
224
</TR>
225
</TABLE>
226
&nbsp;
227
<P>
228

    
229
<!-- ============ FIELD DETAIL =========== -->
230

    
231

    
232
<!-- ========= CONSTRUCTOR DETAIL ======== -->
233

    
234
<A NAME="constructor_detail"><!-- --></A>
235
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
237
<TD COLSPAN=1><FONT SIZE="+2">
238
<B>Constructor Detail</B></FONT></TD>
239
</TR>
240
</TABLE>
241

    
242
<A NAME="ExtensibleFile()"><!-- --></A><H3>
243
ExtensibleFile</H3>
244
<PRE>
245
public <B>ExtensibleFile</B>()</PRE>
246
<DL>
247
</DL>
248

    
249
<!-- ============ METHOD DETAIL ========== -->
250

    
251
<A NAME="method_detail"><!-- --></A>
252
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
253
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
254
<TD COLSPAN=1><FONT SIZE="+2">
255
<B>Method Detail</B></FONT></TD>
256
</TR>
257
</TABLE>
258

    
259
<A NAME="open()"><!-- --></A><H3>
260
open</H3>
261
<PRE>
262
public void <B>open</B>()
263
          throws <A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></PRE>
264
<DL>
265
<DD>Crea un fichero temporal y lo abre para escritura
266
<P>
267
<DD><DL>
268

    
269
<DT><B>Throws:</B>
270
<DD><CODE><A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></CODE></DL>
271
</DD>
272
</DL>
273
<HR>
274

    
275
<A NAME="close()"><!-- --></A><H3>
276
close</H3>
277
<PRE>
278
public void <B>close</B>()
279
           throws <A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></PRE>
280
<DL>
281
<DD>Cierra el fichero abierto con create
282
<P>
283
<DD><DL>
284

    
285
<DT><B>Throws:</B>
286
<DD><CODE><A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></CODE></DL>
287
</DD>
288
</DL>
289
<HR>
290

    
291
<A NAME="deleteGeometry(int)"><!-- --></A><H3>
292
deleteGeometry</H3>
293
<PRE>
294
public int <B>deleteGeometry</B>(int&nbsp;id)</PRE>
295
<DL>
296
<DD>Mete el ?ndice en el bitset deleted para saber que dicho registro est? eliminado
297
<P>
298
<DD><DL>
299
</DL>
300
</DD>
301
</DL>
302
<HR>
303

    
304
<A NAME="setGeometry(int, com.iver.cit.gvsig.fmap.core.IGeometry)"><!-- --></A><H3>
305
setGeometry</H3>
306
<PRE>
307
public void <B>setGeometry</B>(int&nbsp;index,
308
                        <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>&nbsp;g)</PRE>
309
<DL>
310
<DD>A?ade la feature en la posici?n index del fichero. Puede darse que la posici?n no sea la ?ltima del fichero, en cuyo caso se copiar? en dicho registro la geometr?a si cabe y lanzar? una excepci?n en caso de que no pueda. Generalmente se debe de invocar ?ste m?todo con un ?ndice distinto al ?ltimo en un marco de comandos con opci?n de deshacer.
311
<P>
312
<DD><DL>
313
</DL>
314
</DD>
315
</DL>
316
<HR>
317

    
318
<A NAME="addGeometry(com.iver.cit.gvsig.fmap.core.IGeometry)"><!-- --></A><H3>
319
addGeometry</H3>
320
<PRE>
321
public int <B>addGeometry</B>(<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>&nbsp;g)</PRE>
322
<DL>
323
<DD>A?ade una geometr?a al final del fichero y devuelve la posici?n que ocupa. Dicha posici?n no es valida despues de que se haya eliminado alguna geometry del fichero.
324
<P>
325
<DD><DL>
326
</DL>
327
</DD>
328
</DL>
329
<HR>
330

    
331
<A NAME="modifyGeometry(int, com.iver.cit.gvsig.fmap.core.IGeometry)"><!-- --></A><H3>
332
modifyGeometry</H3>
333
<PRE>
334
public <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> <B>modifyGeometry</B>(int&nbsp;i,
335
                                <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>&nbsp;g)</PRE>
336
<DL>
337
<DD>Marca la feature i-esima del fichero como modificada (MODIFED), y a continuaci?n del shapetype mete un entero con el n?mero de registro de la feature modificada. Inserta la feature modificada al final del fichero. Llama al m?todo addGeometry(int) para esto ?ltimo. Retorna la geometry que se va a sustituir
338
<P>
339
<DD><DL>
340
</DL>
341
</DD>
342
</DL>
343
<HR>
344

    
345
<A NAME="restoreGeometry(int, int)"><!-- --></A><H3>
346
restoreGeometry</H3>
347
<PRE>
348
public void <B>restoreGeometry</B>(int&nbsp;i,
349
                            int&nbsp;type)</PRE>
350
<DL>
351
<DD>Deshace la eliminaci?n de la geometr?a. El par?metro que se pasa es el ?ndice del registro eliminado.
352
<P>
353
<DD><DL>
354
</DL>
355
</DD>
356
</DL>
357
<HR>
358

    
359
<A NAME="compact()"><!-- --></A><H3>
360
compact</H3>
361
<PRE>
362
public void <B>compact</B>()</PRE>
363
<DL>
364
<DD>Comprime el fichero ya que las features modificadas pueden estar encadenadas en m?s de un registro.
365
<P>
366
<DD><DL>
367
</DL>
368
</DD>
369
</DL>
370
<HR>
371

    
372
<A NAME="getShape(int)"><!-- --></A><H3>
373
getShape</H3>
374
<PRE>
375
public <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> <B>getShape</B>(int&nbsp;index)
376
                   throws <A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></PRE>
377
<DL>
378
<DD>Accede al registro index-?simo del fichero y se cuenta el n?mero de registros eliminados anteriores a dicho registro (n). Se accede al registro (index+n) y se cuentan nuevamente el n?mero de registros eliminados entre index y index+n (m). Se accede a (index+n+m) y asi sucesivamente, hasta que se estabiliza la operaci?n. Entonces se lee el registro y si el shapetype es MODIFIED se salta a la direcci?n siguiente sucesivamente hasta que se encuentra el registro correcto.
379
<P>
380
<DD><DL>
381

    
382
<DT><B>Throws:</B>
383
<DD><CODE><A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></CODE></DL>
384
</DD>
385
</DL>
386
<HR>
387

    
388
<A NAME="getShapeCount()"><!-- --></A><H3>
389
getShapeCount</H3>
390
<PRE>
391
public int <B>getShapeCount</B>()
392
                  throws <A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></PRE>
393
<DL>
394
<DD>Devuelve el n?mero de registros del fichero contando los que ya han sido eliminados
395
<P>
396
<DD><DL>
397

    
398
<DT><B>Throws:</B>
399
<DD><CODE><A HREF="../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></CODE></DL>
400
</DD>
401
</DL>
402
<!-- ========= END OF CLASS DATA ========= -->
403
<HR>
404

    
405

    
406
<!-- ======= START OF BOTTOM NAVBAR ====== -->
407
<A NAME="navbar_bottom"><!-- --></A>
408
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
409
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
410
<TR>
411
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
412
<A NAME="navbar_bottom_firstrow"><!-- --></A>
413
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
414
  <TR ALIGN="center" VALIGN="top">
415
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
416
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
417
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
418
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
419
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
420
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
421
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
422
  </TR>
423
</TABLE>
424
</TD>
425
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
426
</EM>
427
</TD>
428
</TR>
429

    
430
<TR>
431
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
432
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/EditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write"><B>PREV CLASS</B></A>&nbsp;
433
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/write/FileEditionSourceAdapter.html" title="class in com.iver.cit.gvsig.fmap.write"><B>NEXT CLASS</B></A></FONT></TD>
434
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
435
  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
436
&nbsp;<A HREF="ExtensibleFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
437
&nbsp;<SCRIPT type="text/javascript">
438
  <!--
439
  if(window==top) {
440
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
441
  }
442
  //-->
443
</SCRIPT>
444
<NOSCRIPT>
445
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
446
</NOSCRIPT>
447

    
448
</FONT></TD>
449
</TR>
450
<TR>
451
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
452
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
453
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
454
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
455
</TR>
456
</TABLE>
457
<A NAME="skip-navbar_bottom"></A>
458
<!-- ======== END OF BOTTOM NAVBAR ======= -->
459

    
460
<HR>
461

    
462
</BODY>
463
</HTML>