Statistics
| Revision:

root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / rendering / indexes / FMemoryIndex.html @ 11445

History | View | Annotate | Download (15.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:53 CET 2005 -->
6
<TITLE>
7
FMemoryIndex (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.rendering.indexes.FMemoryIndex 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="FMemoryIndex (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/rendering/indexes/FDiskIndex.html" title="class in com.iver.cit.gvsig.fmap.rendering.indexes"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/IndexCreationVisitor.html" title="class in com.iver.cit.gvsig.fmap.rendering.indexes"><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="FMemoryIndex.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.rendering.indexes</FONT>
85
<BR>
86
Class FMemoryIndex</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.rendering.indexes.FMemoryIndex</B>
90
</PRE>
91
<DL>
92
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></DD>
93
</DL>
94
<HR>
95
<DL>
96
<DT>public class <B>FMemoryIndex</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></DL>
97

    
98
<P>
99
Lee la estructura de directorios del ?ndice y la pone en memoria
100
<P>
101

    
102
<P>
103
<HR>
104

    
105
<P>
106
<!-- ======== NESTED CLASS SUMMARY ======== -->
107

    
108

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

    
111

    
112
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
113

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

    
123
<BR>
124
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125
</TR>
126
</TABLE>
127
&nbsp;
128
<!-- ========== METHOD SUMMARY =========== -->
129

    
130
<A NAME="method_summary"><!-- --></A>
131
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133
<TD COLSPAN=2><FONT SIZE="+2">
134
<B>Method Summary</B></FONT></TD>
135
</TR>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138
<CODE>&nbsp;void</CODE></FONT></TD>
139
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/FMemoryIndex.html#closeIndexFile()">closeIndexFile</A></B>()</CODE>
140

    
141
<BR>
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cierra el fichero de ?ndices</TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146
<CODE>&nbsp;int[]</CODE></FONT></TD>
147
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/FMemoryIndex.html#getRecordIndexes(java.awt.geom.Rectangle2D)">getRecordIndexes</A></B>(java.awt.geom.Rectangle2D&nbsp;rect)</CODE>
148

    
149
<BR>
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dado un rect?ngulo en coordenadas del mapa se devuelve un array de
151
 indices de los registros cuyas features est?n contenidas o intersecten
152
 en dicho rect?ngulo. </TD>
153
</TR>
154
<TR BGCOLOR="white" CLASS="TableRowColor">
155
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156
<CODE>&nbsp;void</CODE></FONT></TD>
157
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/FMemoryIndex.html#openIndexFile(java.lang.String)">openIndexFile</A></B>(java.lang.String&nbsp;file)</CODE>
158

    
159
<BR>
160
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Abre el fichero de ?ndices</TD>
161
</TR>
162
</TABLE>
163
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
164
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
165
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
166
<TD><B>Methods inherited from class java.lang.Object</B></TD>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
170
</TR>
171
</TABLE>
172
&nbsp;
173
<P>
174

    
175
<!-- ============ FIELD DETAIL =========== -->
176

    
177

    
178
<!-- ========= CONSTRUCTOR DETAIL ======== -->
179

    
180
<A NAME="constructor_detail"><!-- --></A>
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183
<TD COLSPAN=1><FONT SIZE="+2">
184
<B>Constructor Detail</B></FONT></TD>
185
</TR>
186
</TABLE>
187

    
188
<A NAME="FMemoryIndex()"><!-- --></A><H3>
189
FMemoryIndex</H3>
190
<PRE>
191
public <B>FMemoryIndex</B>()</PRE>
192
<DL>
193
</DL>
194

    
195
<!-- ============ METHOD DETAIL ========== -->
196

    
197
<A NAME="method_detail"><!-- --></A>
198
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
199
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
200
<TD COLSPAN=1><FONT SIZE="+2">
201
<B>Method Detail</B></FONT></TD>
202
</TR>
203
</TABLE>
204

    
205
<A NAME="openIndexFile(java.lang.String)"><!-- --></A><H3>
206
openIndexFile</H3>
207
<PRE>
208
public void <B>openIndexFile</B>(java.lang.String&nbsp;file)</PRE>
209
<DL>
210
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></CODE></B></DD>
211
<DD>Abre el fichero de ?ndices
212
<P>
213
<DD><DL>
214
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html#openIndexFile(java.lang.String)">openIndexFile</A></CODE> in interface <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></CODE></DL>
215
</DD>
216
<DD><DL>
217
<DT><B>Parameters:</B><DD><CODE>file</CODE> - Fichero.<DT><B>See Also:</B><DD><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html#openIndexFile(java.lang.String)"><CODE>Index.openIndexFile(java.lang.String)</CODE></A></DL>
218
</DD>
219
</DL>
220
<HR>
221

    
222
<A NAME="closeIndexFile()"><!-- --></A><H3>
223
closeIndexFile</H3>
224
<PRE>
225
public void <B>closeIndexFile</B>()</PRE>
226
<DL>
227
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></CODE></B></DD>
228
<DD>Cierra el fichero de ?ndices
229
<P>
230
<DD><DL>
231
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html#closeIndexFile()">closeIndexFile</A></CODE> in interface <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></CODE></DL>
232
</DD>
233
<DD><DL>
234
<DT><B>See Also:</B><DD><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html#closeIndexFile()"><CODE>Index.closeIndexFile()</CODE></A></DL>
235
</DD>
236
</DL>
237
<HR>
238

    
239
<A NAME="getRecordIndexes(java.awt.geom.Rectangle2D)"><!-- --></A><H3>
240
getRecordIndexes</H3>
241
<PRE>
242
public int[] <B>getRecordIndexes</B>(java.awt.geom.Rectangle2D&nbsp;rect)
243
                       throws <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A>,
244
                              <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/IndexNotExistsException.html" title="class in com.iver.cit.gvsig.fmap.rendering.indexes">IndexNotExistsException</A></PRE>
245
<DL>
246
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></CODE></B></DD>
247
<DD>Dado un rect?ngulo en coordenadas del mapa se devuelve un array de
248
 indices de los registros cuyas features est?n contenidas o intersecten
249
 en dicho rect?ngulo. En caso de que ninguna est? contenida se devuelve
250
 un array vac?o. Si se invoca esta funci?n pero no hay ning?n ?ndice
251
 definido se lanzar? una IndexNotExistsException
252
<P>
253
<DD><DL>
254
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html#getRecordIndexes(java.awt.geom.Rectangle2D)">getRecordIndexes</A></CODE> in interface <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html" title="interface in com.iver.cit.gvsig.fmap.rendering.indexes">Index</A></CODE></DL>
255
</DD>
256
<DD><DL>
257
<DT><B>Parameters:</B><DD><CODE>rect</CODE> - Rect?ngulo.
258
<DT><B>Returns:</B><DD>?ndices.
259
<DT><B>Throws:</B>
260
<DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/IndexNotExistsException.html" title="class in com.iver.cit.gvsig.fmap.rendering.indexes">IndexNotExistsException</A></CODE>
261
<DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/DriverIOException.html" title="class in com.iver.cit.gvsig.fmap.drivers">DriverIOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/Index.html#getRecordIndexes(java.awt.geom.Rectangle2D)"><CODE>Index.getRecordIndexes(java.awt.geom.Rectangle2D)</CODE></A></DL>
262
</DD>
263
</DL>
264
<!-- ========= END OF CLASS DATA ========= -->
265
<HR>
266

    
267

    
268
<!-- ======= START OF BOTTOM NAVBAR ====== -->
269
<A NAME="navbar_bottom"><!-- --></A>
270
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
271
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
272
<TR>
273
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
274
<A NAME="navbar_bottom_firstrow"><!-- --></A>
275
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
276
  <TR ALIGN="center" VALIGN="top">
277
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
278
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
279
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
280
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
281
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
282
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
283
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
284
  </TR>
285
</TABLE>
286
</TD>
287
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
288
</EM>
289
</TD>
290
</TR>
291

    
292
<TR>
293
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
294
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/FDiskIndex.html" title="class in com.iver.cit.gvsig.fmap.rendering.indexes"><B>PREV CLASS</B></A>&nbsp;
295
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/rendering/indexes/IndexCreationVisitor.html" title="class in com.iver.cit.gvsig.fmap.rendering.indexes"><B>NEXT CLASS</B></A></FONT></TD>
296
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
297
  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
298
&nbsp;<A HREF="FMemoryIndex.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
299
&nbsp;<SCRIPT type="text/javascript">
300
  <!--
301
  if(window==top) {
302
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
303
  }
304
  //-->
305
</SCRIPT>
306
<NOSCRIPT>
307
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
308
</NOSCRIPT>
309

    
310
</FONT></TD>
311
</TR>
312
<TR>
313
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
314
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
315
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
316
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
317
</TR>
318
</TABLE>
319
<A NAME="skip-navbar_bottom"></A>
320
<!-- ======== END OF BOTTOM NAVBAR ======= -->
321

    
322
<HR>
323

    
324
</BODY>
325
</HTML>