Statistics
| Revision:

svn-gvsig-desktop / tags / v1_9_Build_1245 / docs / Andami / andami-api / com / iver / andami / Utilities.html @ 40287

History | View | Annotate | Download (11.8 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 Fri May 13 11:46:19 CEST 2005 -->
6
<TITLE>
7
Utilities
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.andami.Utilities 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="Utilities";
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="class-use/Utilities.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43
  </TR>
44
</TABLE>
45
</TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
</EM>
48
</TD>
49
</TR>
50

    
51
<TR>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
&nbsp;<A HREF="../../../com/iver/andami/PluginServices.html" title="class in com.iver.andami"><B>PREV CLASS</B></A>&nbsp;
54
&nbsp;NEXT CLASS</FONT></TD>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
57
&nbsp;<A HREF="Utilities.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
58
&nbsp;<SCRIPT type="text/javascript">
59
  <!--
60
  if(window==top) {
61
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62
  }
63
  //-->
64
</SCRIPT>
65
<NOSCRIPT>
66
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67
</NOSCRIPT>
68

    
69
</FONT></TD>
70
</TR>
71
<TR>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76
</TR>
77
</TABLE>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
80

    
81
<HR>
82
<!-- ======== START OF CLASS DATA ======== -->
83
<H2>
84
<FONT SIZE="-1">
85
com.iver.andami</FONT>
86
<BR>
87
Class Utilities</H2>
88
<PRE>
89
java.lang.Object
90
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>com.iver.andami.Utilities</B>
91
</PRE>
92
<HR>
93
<DL>
94
<DT>public class <B>Utilities</B><DT>extends java.lang.Object</DL>
95

    
96
<P>
97
Clase de utilidad
98
<P>
99

    
100
<P>
101
<DL>
102
<DT><B>Version:</B></DT>
103
  <DD>$Revision: 1935 $</DD>
104
</DL>
105
<HR>
106

    
107
<P>
108
<!-- ======== NESTED CLASS SUMMARY ======== -->
109

    
110

    
111
<!-- =========== FIELD SUMMARY =========== -->
112

    
113

    
114
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
115

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

    
125
<BR>
126
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
127
</TR>
128
</TABLE>
129
&nbsp;
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>static&nbsp;void</CODE></FONT></TD>
141
<TD><CODE><B><A HREF="../../../com/iver/andami/Utilities.html#cleanComponent(java.awt.Component)">cleanComponent</A></B>(java.awt.Component&nbsp;baseComponent)</CODE>
142

    
143
<BR>
144
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M?todo que libera la memoria de los jInternalFrame</TD>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148
<CODE>static&nbsp;javax.swing.ImageIcon</CODE></FONT></TD>
149
<TD><CODE><B><A HREF="../../../com/iver/andami/Utilities.html#createImageIcon(java.lang.String)">createImageIcon</A></B>(java.lang.String&nbsp;path)</CODE>
150

    
151
<BR>
152
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crea un icono a partir del path de una imagen</TD>
153
</TR>
154
<TR BGCOLOR="white" CLASS="TableRowColor">
155
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156
<CODE>static&nbsp;void</CODE></FONT></TD>
157
<TD><CODE><B><A HREF="../../../com/iver/andami/Utilities.html#extractTo(java.io.File, java.io.File, com.iver.andami.ui.SplashWindow)">extractTo</A></B>(java.io.File&nbsp;file,
158
          java.io.File&nbsp;dir,
159
          <A HREF="../../../com/iver/andami/ui/SplashWindow.html" title="class in com.iver.andami.ui">SplashWindow</A>&nbsp;splash)</CODE>
160

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

    
177
<!-- ============ FIELD DETAIL =========== -->
178

    
179

    
180
<!-- ========= CONSTRUCTOR DETAIL ======== -->
181

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

    
190
<A NAME="Utilities()"><!-- --></A><H3>
191
Utilities</H3>
192
<PRE>
193
public <B>Utilities</B>()</PRE>
194
<DL>
195
</DL>
196

    
197
<!-- ============ METHOD DETAIL ========== -->
198

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

    
207
<A NAME="createImageIcon(java.lang.String)"><!-- --></A><H3>
208
createImageIcon</H3>
209
<PRE>
210
public static javax.swing.ImageIcon <B>createImageIcon</B>(java.lang.String&nbsp;path)</PRE>
211
<DL>
212
<DD>Crea un icono a partir del path de una imagen
213
<P>
214
<DD><DL>
215
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path de la imagen dentro del jar de la aplicaci?n
216
<DT><B>Returns:</B><DD>ImageIcon si encuentra la imagen y null si no la encuentra</DL>
217
</DD>
218
</DL>
219
<HR>
220

    
221
<A NAME="cleanComponent(java.awt.Component)"><!-- --></A><H3>
222
cleanComponent</H3>
223
<PRE>
224
public static void <B>cleanComponent</B>(java.awt.Component&nbsp;baseComponent)</PRE>
225
<DL>
226
<DD>M?todo que libera la memoria de los jInternalFrame
227
<P>
228
<DD><DL>
229
<DT><B>Parameters:</B><DD><CODE>baseComponent</CODE> - JInternalFrame cuya memoria se quiere eliminar</DL>
230
</DD>
231
</DL>
232
<HR>
233

    
234
<A NAME="extractTo(java.io.File, java.io.File, com.iver.andami.ui.SplashWindow)"><!-- --></A><H3>
235
extractTo</H3>
236
<PRE>
237
public static void <B>extractTo</B>(java.io.File&nbsp;file,
238
                             java.io.File&nbsp;dir,
239
                             <A HREF="../../../com/iver/andami/ui/SplashWindow.html" title="class in com.iver.andami.ui">SplashWindow</A>&nbsp;splash)
240
                      throws java.util.zip.ZipException,
241
                             java.io.IOException</PRE>
242
<DL>
243
<DD>Extrae un fichero zip en un directorio
244
<P>
245
<DD><DL>
246
<DT><B>Parameters:</B><DD><CODE>file</CODE> - fichero comprimido<DD><CODE>dir</CODE> - Directorio donde se extraera el fichero
247
<DT><B>Throws:</B>
248
<DD><CODE>java.util.zip.ZipException</CODE> - Si hay un error con el formato del fichero
249
<DD><CODE>java.io.IOException</CODE> - Si se produce un error de entrada salida gen?rico</DL>
250
</DD>
251
</DL>
252
<!-- ========= END OF CLASS DATA ========= -->
253
<HR>
254

    
255

    
256
<!-- ======= START OF BOTTOM NAVBAR ====== -->
257
<A NAME="navbar_bottom"><!-- --></A>
258
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
259
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
260
<TR>
261
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
262
<A NAME="navbar_bottom_firstrow"><!-- --></A>
263
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
264
  <TR ALIGN="center" VALIGN="top">
265
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
266
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
267
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
268
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Utilities.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
269
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
270
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
271
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
272
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
273
  </TR>
274
</TABLE>
275
</TD>
276
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
277
</EM>
278
</TD>
279
</TR>
280

    
281
<TR>
282
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
283
&nbsp;<A HREF="../../../com/iver/andami/PluginServices.html" title="class in com.iver.andami"><B>PREV CLASS</B></A>&nbsp;
284
&nbsp;NEXT CLASS</FONT></TD>
285
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
286
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
287
&nbsp;<A HREF="Utilities.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
288
&nbsp;<SCRIPT type="text/javascript">
289
  <!--
290
  if(window==top) {
291
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
292
  }
293
  //-->
294
</SCRIPT>
295
<NOSCRIPT>
296
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
297
</NOSCRIPT>
298

    
299
</FONT></TD>
300
</TR>
301
<TR>
302
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
303
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
304
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
305
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
306
</TR>
307
</TABLE>
308
<A NAME="skip-navbar_bottom"></A>
309
<!-- ======== END OF BOTTOM NAVBAR ======= -->
310

    
311
<HR>
312

    
313
</BODY>
314
</HTML>