root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / drivers / shp / write / SHPFileWrite.html @ 11445
History | View | Annotate | Download (14.2 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 |
SHPFileWrite (FMap API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.drivers.shp.write.SHPFileWrite 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="SHPFileWrite (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/write/DBFFromSelected.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPMultiLine.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.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> |
56 |
<A HREF="SHPFileWrite.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: NESTED | 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.write</FONT>
|
85 |
<BR>
|
86 |
Class SHPFileWrite</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.drivers.shp.write.SHPFileWrite</B> |
90 |
</PRE>
|
91 |
<HR>
|
92 |
<DL>
|
93 |
<DT>public class <B>SHPFileWrite</B><DT>extends java.lang.Object</DL> |
94 |
|
95 |
<P>
|
96 |
DOCUMENT ME! |
97 |
<P>
|
98 |
|
99 |
<P>
|
100 |
<DL>
|
101 |
<DT><B>Author:</B></DT> |
102 |
<DD>Vicente Caballero Navarro</DD> |
103 |
</DL>
|
104 |
<HR>
|
105 |
|
106 |
<P>
|
107 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
108 |
|
109 |
|
110 |
<!-- =========== FIELD SUMMARY =========== -->
|
111 |
|
112 |
|
113 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
114 |
|
115 |
<A NAME="constructor_summary"><!-- --></A> |
116 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
117 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
118 |
<TD COLSPAN=2><FONT SIZE="+2"> |
119 |
<B>Constructor Summary</B></FONT></TD> |
120 |
</TR>
|
121 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
122 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPFileWrite.html#SHPFileWrite(java.nio.channels.FileChannel, java.nio.channels.FileChannel)">SHPFileWrite</A></B>(java.nio.channels.FileChannel shpChannel, |
123 |
java.nio.channels.FileChannel shxChannel)</CODE> |
124 |
|
125 |
<BR>
|
126 |
Crea un nuevo SHPFileWrite.</TD> |
127 |
</TR>
|
128 |
</TABLE>
|
129 |
|
130 |
<!-- ========== METHOD SUMMARY =========== -->
|
131 |
|
132 |
<A NAME="method_summary"><!-- --></A> |
133 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
134 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
135 |
<TD COLSPAN=2><FONT SIZE="+2"> |
136 |
<B>Method Summary</B></FONT></TD> |
137 |
</TR>
|
138 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
139 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
140 |
<CODE> void</CODE></FONT></TD> |
141 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPFileWrite.html#close()">close</A></B>()</CODE> |
142 |
|
143 |
<BR>
|
144 |
Close the underlying Channels.</TD> |
145 |
</TR>
|
146 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
147 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
148 |
<CODE> void</CODE></FONT></TD> |
149 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPFileWrite.html#write(com.iver.cit.gvsig.fmap.core.IGeometry[], int)">write</A></B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>[] geometries, |
150 |
int type)</CODE> |
151 |
|
152 |
<BR>
|
153 |
DOCUMENT ME!</TD> |
154 |
</TR>
|
155 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
156 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
157 |
<CODE> void</CODE></FONT></TD> |
158 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPFileWrite.html#writeGeometry(com.iver.cit.gvsig.fmap.core.IGeometry)">writeGeometry</A></B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> g)</CODE> |
159 |
|
160 |
<BR>
|
161 |
DOCUMENT ME!</TD> |
162 |
</TR>
|
163 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
164 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
165 |
<CODE> void</CODE></FONT></TD> |
166 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPFileWrite.html#writeHeaders(java.awt.geom.Rectangle2D, int, int, int)">writeHeaders</A></B>(java.awt.geom.Rectangle2D bounds, |
167 |
int type,
|
168 |
int numberOfGeometries,
|
169 |
int fileLength)</CODE> |
170 |
|
171 |
<BR>
|
172 |
DOCUMENT ME!</TD> |
173 |
</TR>
|
174 |
</TABLE>
|
175 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
176 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
177 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
178 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
179 |
</TR>
|
180 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
181 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
182 |
</TR>
|
183 |
</TABLE>
|
184 |
|
185 |
<P>
|
186 |
|
187 |
<!-- ============ FIELD DETAIL =========== -->
|
188 |
|
189 |
|
190 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
191 |
|
192 |
<A NAME="constructor_detail"><!-- --></A> |
193 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
194 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
195 |
<TD COLSPAN=1><FONT SIZE="+2"> |
196 |
<B>Constructor Detail</B></FONT></TD> |
197 |
</TR>
|
198 |
</TABLE>
|
199 |
|
200 |
<A NAME="SHPFileWrite(java.nio.channels.FileChannel, java.nio.channels.FileChannel)"><!-- --></A><H3> |
201 |
SHPFileWrite</H3>
|
202 |
<PRE>
|
203 |
public <B>SHPFileWrite</B>(java.nio.channels.FileChannel shpChannel, |
204 |
java.nio.channels.FileChannel shxChannel)</PRE> |
205 |
<DL>
|
206 |
<DD>Crea un nuevo SHPFileWrite.
|
207 |
<P>
|
208 |
<DT><B>Parameters:</B><DD><CODE>shpChannel</CODE> - DOCUMENT ME!<DD><CODE>shxChannel</CODE> - DOCUMENT ME!</DL> |
209 |
|
210 |
<!-- ============ METHOD DETAIL ========== -->
|
211 |
|
212 |
<A NAME="method_detail"><!-- --></A> |
213 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
214 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
215 |
<TD COLSPAN=1><FONT SIZE="+2"> |
216 |
<B>Method Detail</B></FONT></TD> |
217 |
</TR>
|
218 |
</TABLE>
|
219 |
|
220 |
<A NAME="close()"><!-- --></A><H3> |
221 |
close</H3>
|
222 |
<PRE>
|
223 |
public void <B>close</B>() |
224 |
throws java.io.IOException</PRE>
|
225 |
<DL>
|
226 |
<DD>Close the underlying Channels.
|
227 |
<P>
|
228 |
<DD><DL> |
229 |
|
230 |
<DT><B>Throws:</B> |
231 |
<DD><CODE>java.io.IOException</CODE> - DOCUMENT ME!</DL> |
232 |
</DD>
|
233 |
</DL>
|
234 |
<HR>
|
235 |
|
236 |
<A NAME="write(com.iver.cit.gvsig.fmap.core.IGeometry[], int)"><!-- --></A><H3> |
237 |
write</H3>
|
238 |
<PRE>
|
239 |
public void <B>write</B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A>[] geometries, |
240 |
int type)
|
241 |
throws java.io.IOException, |
242 |
<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/ShapefileException.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write">ShapefileException</A></PRE> |
243 |
<DL>
|
244 |
<DD>DOCUMENT ME!
|
245 |
<P>
|
246 |
<DD><DL> |
247 |
<DT><B>Parameters:</B><DD><CODE>geometries</CODE> - DOCUMENT ME!<DD><CODE>type</CODE> - DOCUMENT ME! |
248 |
<DT><B>Throws:</B> |
249 |
<DD><CODE>java.io.IOException</CODE> - DOCUMENT ME! |
250 |
<DD><CODE><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/ShapefileException.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write">ShapefileException</A></CODE> - DOCUMENT ME!</DL> |
251 |
</DD>
|
252 |
</DL>
|
253 |
<HR>
|
254 |
|
255 |
<A NAME="writeHeaders(java.awt.geom.Rectangle2D, int, int, int)"><!-- --></A><H3> |
256 |
writeHeaders</H3>
|
257 |
<PRE>
|
258 |
public void <B>writeHeaders</B>(java.awt.geom.Rectangle2D bounds, |
259 |
int type,
|
260 |
int numberOfGeometries,
|
261 |
int fileLength)
|
262 |
throws java.io.IOException</PRE>
|
263 |
<DL>
|
264 |
<DD>DOCUMENT ME!
|
265 |
<P>
|
266 |
<DD><DL> |
267 |
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - DOCUMENT ME!<DD><CODE>type</CODE> - DOCUMENT ME!<DD><CODE>numberOfGeometries</CODE> - DOCUMENT ME!<DD><CODE>fileLength</CODE> - DOCUMENT ME! |
268 |
<DT><B>Throws:</B> |
269 |
<DD><CODE>java.io.IOException</CODE> - DOCUMENT ME!</DL> |
270 |
</DD>
|
271 |
</DL>
|
272 |
<HR>
|
273 |
|
274 |
<A NAME="writeGeometry(com.iver.cit.gvsig.fmap.core.IGeometry)"><!-- --></A><H3> |
275 |
writeGeometry</H3>
|
276 |
<PRE>
|
277 |
public void <B>writeGeometry</B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> g) |
278 |
throws java.io.IOException</PRE>
|
279 |
<DL>
|
280 |
<DD>DOCUMENT ME!
|
281 |
<P>
|
282 |
<DD><DL> |
283 |
<DT><B>Parameters:</B><DD><CODE>g</CODE> - DOCUMENT ME! |
284 |
<DT><B>Throws:</B> |
285 |
<DD><CODE>java.io.IOException</CODE> - DOCUMENT ME!</DL> |
286 |
</DD>
|
287 |
</DL>
|
288 |
<!-- ========= END OF CLASS DATA ========= -->
|
289 |
<HR>
|
290 |
|
291 |
|
292 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
293 |
<A NAME="navbar_bottom"><!-- --></A> |
294 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
295 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
296 |
<TR>
|
297 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
298 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
299 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
300 |
<TR ALIGN="center" VALIGN="top"> |
301 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
302 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
303 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
304 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
305 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
306 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
307 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
308 |
</TR>
|
309 |
</TABLE>
|
310 |
</TD>
|
311 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
312 |
</EM>
|
313 |
</TD>
|
314 |
</TR>
|
315 |
|
316 |
<TR>
|
317 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
318 |
<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/DBFFromSelected.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write"><B>PREV CLASS</B></A> |
319 |
<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPMultiLine.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write"><B>NEXT CLASS</B></A></FONT></TD> |
320 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
321 |
<A HREF="../../../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
322 |
<A HREF="SHPFileWrite.html" target="_top"><B>NO FRAMES</B></A> |
323 |
<SCRIPT type="text/javascript"> |
324 |
<!--
|
325 |
if(window==top) {
|
326 |
document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
327 |
}
|
328 |
//-->
|
329 |
</SCRIPT>
|
330 |
<NOSCRIPT>
|
331 |
<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
332 |
</NOSCRIPT>
|
333 |
|
334 |
</FONT></TD> |
335 |
</TR>
|
336 |
<TR>
|
337 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
338 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
339 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
340 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
341 |
</TR>
|
342 |
</TABLE>
|
343 |
<A NAME="skip-navbar_bottom"></A> |
344 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
345 |
|
346 |
<HR>
|
347 |
|
348 |
</BODY>
|
349 |
</HTML>
|