svn-gvsig-desktop / tags / tmp_build / build / distribution / izpack_4.2.0 / doc / izpack / javadoc / com / izforge / izpack / installer / UninstallData.html @ 26384
History | View | Annotate | Download (26.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.5.0_16) on Wed Dec 17 09:23:56 CET 2008 -->
|
6 |
<TITLE>
|
7 |
UninstallData |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.izforge.izpack.installer.UninstallData 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="UninstallData"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
<NOSCRIPT>
|
21 |
</NOSCRIPT>
|
22 |
|
23 |
</HEAD>
|
24 |
|
25 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
26 |
|
27 |
|
28 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
29 |
<A NAME="navbar_top"><!-- --></A> |
30 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
31 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
32 |
<TR>
|
33 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
34 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
35 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
36 |
<TR ALIGN="center" VALIGN="top"> |
37 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
44 |
</TR>
|
45 |
</TABLE>
|
46 |
</TD>
|
47 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
48 |
</EM>
|
49 |
</TD>
|
50 |
</TR>
|
51 |
|
52 |
<TR>
|
53 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
54 |
<A HREF="../../../../com/izforge/izpack/installer/ScriptParser.html" title="class in com.izforge.izpack.installer"><B>PREV CLASS</B></A> |
55 |
<A HREF="../../../../com/izforge/izpack/installer/Unpacker.html" title="class in com.izforge.izpack.installer"><B>NEXT CLASS</B></A></FONT></TD> |
56 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
57 |
<A HREF="../../../../index.html?com/izforge/izpack/installer/UninstallData.html" target="_top"><B>FRAMES</B></A> |
58 |
<A HREF="UninstallData.html" target="_top"><B>NO FRAMES</B></A> |
59 |
<SCRIPT type="text/javascript"> |
60 |
<!--
|
61 |
if(window==top) {
|
62 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
63 |
}
|
64 |
//-->
|
65 |
</SCRIPT>
|
66 |
<NOSCRIPT>
|
67 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
68 |
</NOSCRIPT>
|
69 |
|
70 |
|
71 |
</FONT></TD> |
72 |
</TR>
|
73 |
<TR>
|
74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
75 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
76 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
77 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
78 |
</TR>
|
79 |
</TABLE>
|
80 |
<A NAME="skip-navbar_top"></A> |
81 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
82 |
|
83 |
<HR>
|
84 |
<!-- ======== START OF CLASS DATA ======== -->
|
85 |
<H2>
|
86 |
<FONT SIZE="-1"> |
87 |
com.izforge.izpack.installer</FONT>
|
88 |
<BR>
|
89 |
Class UninstallData</H2>
|
90 |
<PRE>
|
91 |
java.lang.Object |
92 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.izforge.izpack.installer.UninstallData</B> |
93 |
</PRE>
|
94 |
<HR>
|
95 |
<DL>
|
96 |
<DT><PRE>public class <B>UninstallData</B><DT>extends java.lang.Object</DL> |
97 |
</PRE>
|
98 |
|
99 |
<P>
|
100 |
Holds uninstallation data. Implemented as a singleton. |
101 |
<P>
|
102 |
|
103 |
<P>
|
104 |
<DL>
|
105 |
<DT><B>Author:</B></DT> |
106 |
<DD>Julien Ponge created October 27, 2002</DD> |
107 |
</DL>
|
108 |
<HR>
|
109 |
|
110 |
<P>
|
111 |
<!-- =========== FIELD SUMMARY =========== -->
|
112 |
|
113 |
<A NAME="field_summary"><!-- --></A> |
114 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
115 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
116 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
117 |
<B>Field Summary</B></FONT></TH> |
118 |
</TR>
|
119 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
120 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
121 |
<CODE>private java.util.Map<java.lang.String,java.lang.Object></CODE></FONT></TD> |
122 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#additionalData">additionalData</A></B></CODE> |
123 |
|
124 |
<BR>
|
125 |
Additional uninstall data like uninstaller listener list.</TD> |
126 |
</TR>
|
127 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
128 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
129 |
<CODE>private java.util.List</CODE></FONT></TD> |
130 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#executablesList">executablesList</A></B></CODE> |
131 |
|
132 |
<BR>
|
133 |
The executables list.</TD> |
134 |
</TR>
|
135 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
136 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
137 |
<CODE>private java.util.List<java.lang.String></CODE></FONT></TD> |
138 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#installedFilesList">installedFilesList</A></B></CODE> |
139 |
|
140 |
<BR>
|
141 |
The installed files list.</TD> |
142 |
</TR>
|
143 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
144 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
145 |
<CODE>private static <A HREF="../../../../com/izforge/izpack/installer/UninstallData.html" title="class in com.izforge.izpack.installer">UninstallData</A></CODE></FONT></TD> |
146 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#instance">instance</A></B></CODE> |
147 |
|
148 |
<BR>
|
149 |
The uninstall data object.</TD> |
150 |
</TR>
|
151 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
152 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
153 |
<CODE>static java.lang.String</CODE></FONT></TD> |
154 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#ROOTSCRIPT">ROOTSCRIPT</A></B></CODE> |
155 |
|
156 |
<BR>
|
157 |
Constant RootFiles = "rootfiles"</TD> |
158 |
</TR>
|
159 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
160 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
161 |
<CODE>private java.util.List</CODE></FONT></TD> |
162 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#uninstallableFilesList">uninstallableFilesList</A></B></CODE> |
163 |
|
164 |
<BR>
|
165 |
The uninstallable files list.</TD> |
166 |
</TR>
|
167 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
168 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
169 |
<CODE>private java.lang.String</CODE></FONT></TD> |
170 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#uninstallerJarFilename">uninstallerJarFilename</A></B></CODE> |
171 |
|
172 |
<BR>
|
173 |
The uninstaller jar filename.</TD> |
174 |
</TR>
|
175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
177 |
<CODE>private java.lang.String</CODE></FONT></TD> |
178 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#uninstallerPath">uninstallerPath</A></B></CODE> |
179 |
|
180 |
<BR>
|
181 |
The uninstaller path.</TD> |
182 |
</TR>
|
183 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
184 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
185 |
<CODE>private java.util.ArrayList<java.lang.String></CODE></FONT></TD> |
186 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#unInstallScripts">unInstallScripts</A></B></CODE> |
187 |
|
188 |
<BR>
|
189 |
Filesmap which should removed by the root user for another user</TD> |
190 |
</TR>
|
191 |
</TABLE>
|
192 |
|
193 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
194 |
|
195 |
<A NAME="constructor_summary"><!-- --></A> |
196 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
197 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
198 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
199 |
<B>Constructor Summary</B></FONT></TH> |
200 |
</TR>
|
201 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
202 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
203 |
<CODE>private </CODE></FONT></TD> |
204 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#UninstallData()">UninstallData</A></B>()</CODE> |
205 |
|
206 |
<BR>
|
207 |
The constructor.</TD> |
208 |
</TR>
|
209 |
</TABLE>
|
210 |
|
211 |
<!-- ========== METHOD SUMMARY =========== -->
|
212 |
|
213 |
<A NAME="method_summary"><!-- --></A> |
214 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
215 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
216 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
217 |
<B>Method Summary</B></FONT></TH> |
218 |
</TR>
|
219 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
220 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
221 |
<CODE> void</CODE></FONT></TD> |
222 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#addAdditionalData(java.lang.String, java.lang.Object)">addAdditionalData</A></B>(java.lang.String name, |
223 |
java.lang.Object value)</CODE> |
224 |
|
225 |
<BR>
|
226 |
Sets additional uninstall data like uninstaller listener list.</TD> |
227 |
</TR>
|
228 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
229 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
230 |
<CODE> void</CODE></FONT></TD> |
231 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#addExecutable(com.izforge.izpack.ExecutableFile)">addExecutable</A></B>(<A HREF="../../../../com/izforge/izpack/ExecutableFile.html" title="class in com.izforge.izpack">ExecutableFile</A> file)</CODE> |
232 |
|
233 |
<BR>
|
234 |
Adds an executable to the data.</TD> |
235 |
</TR>
|
236 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
237 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
238 |
<CODE> void</CODE></FONT></TD> |
239 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#addFile(java.lang.String, boolean)">addFile</A></B>(java.lang.String path, |
240 |
boolean uninstall)</CODE> |
241 |
|
242 |
<BR>
|
243 |
Adds a file to the data.</TD> |
244 |
</TR>
|
245 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
246 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
247 |
<CODE> void</CODE></FONT></TD> |
248 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#addUninstallScript(java.lang.String)">addUninstallScript</A></B>(java.lang.String aRootUninstallScript)</CODE> |
249 |
|
250 |
<BR>
|
251 |
Adds the given File to delete several Shortcuts as Root for the given Users.</TD> |
252 |
</TR>
|
253 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
254 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
255 |
<CODE> java.util.Map<java.lang.String,java.lang.Object></CODE></FONT></TD> |
256 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getAdditionalData()">getAdditionalData</A></B>()</CODE> |
257 |
|
258 |
<BR>
|
259 |
Returns additional uninstall data like uninstaller listener list.</TD> |
260 |
</TR>
|
261 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
262 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
263 |
<CODE> java.util.List</CODE></FONT></TD> |
264 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getExecutablesList()">getExecutablesList</A></B>()</CODE> |
265 |
|
266 |
<BR>
|
267 |
Returns the executables list.</TD> |
268 |
</TR>
|
269 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
270 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
271 |
<CODE> java.util.List<java.lang.String></CODE></FONT></TD> |
272 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getInstalledFilesList()">getInstalledFilesList</A></B>()</CODE> |
273 |
|
274 |
<BR>
|
275 |
Returns the installed files list.</TD> |
276 |
</TR>
|
277 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
278 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
279 |
<CODE>static <A HREF="../../../../com/izforge/izpack/installer/UninstallData.html" title="class in com.izforge.izpack.installer">UninstallData</A></CODE></FONT></TD> |
280 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getInstance()">getInstance</A></B>()</CODE> |
281 |
|
282 |
<BR>
|
283 |
Returns the instance (it is a singleton).</TD> |
284 |
</TR>
|
285 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
286 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
287 |
<CODE> java.util.List</CODE></FONT></TD> |
288 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getUninstalableFilesList()">getUninstalableFilesList</A></B>()</CODE> |
289 |
|
290 |
<BR>
|
291 |
Returns the uninstallable files list.</TD> |
292 |
</TR>
|
293 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
294 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
295 |
<CODE> java.lang.String</CODE></FONT></TD> |
296 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getUninstallerJarFilename()">getUninstallerJarFilename</A></B>()</CODE> |
297 |
|
298 |
<BR>
|
299 |
Returns the uninstaller jar filename.</TD> |
300 |
</TR>
|
301 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
302 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
303 |
<CODE> java.lang.String</CODE></FONT></TD> |
304 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getUninstallerPath()">getUninstallerPath</A></B>()</CODE> |
305 |
|
306 |
<BR>
|
307 |
Returns the path to the uninstaller.</TD> |
308 |
</TR>
|
309 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
310 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
311 |
<CODE> java.util.ArrayList<java.lang.String></CODE></FONT></TD> |
312 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#getUninstallScripts()">getUninstallScripts</A></B>()</CODE> |
313 |
|
314 |
<BR>
|
315 |
Returns the root data.</TD> |
316 |
</TR>
|
317 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
318 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
319 |
<CODE> void</CODE></FONT></TD> |
320 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#setUninstallerJarFilename(java.lang.String)">setUninstallerJarFilename</A></B>(java.lang.String name)</CODE> |
321 |
|
322 |
<BR>
|
323 |
Sets the uninstaller jar filename.</TD> |
324 |
</TR>
|
325 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
326 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
327 |
<CODE> void</CODE></FONT></TD> |
328 |
<TD><CODE><B><A HREF="../../../../com/izforge/izpack/installer/UninstallData.html#setUninstallerPath(java.lang.String)">setUninstallerPath</A></B>(java.lang.String path)</CODE> |
329 |
|
330 |
<BR>
|
331 |
Sets the uninstaller path.</TD> |
332 |
</TR>
|
333 |
</TABLE>
|
334 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
335 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
336 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
337 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
338 |
</TR>
|
339 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
340 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
341 |
</TR>
|
342 |
</TABLE>
|
343 |
|
344 |
<P>
|
345 |
|
346 |
<!-- ============ FIELD DETAIL =========== -->
|
347 |
|
348 |
<A NAME="field_detail"><!-- --></A> |
349 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
350 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
351 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
352 |
<B>Field Detail</B></FONT></TH> |
353 |
</TR>
|
354 |
</TABLE>
|
355 |
|
356 |
<A NAME="instance"><!-- --></A><H3> |
357 |
instance</H3>
|
358 |
<PRE>
|
359 |
private static <A HREF="../../../../com/izforge/izpack/installer/UninstallData.html" title="class in com.izforge.izpack.installer">UninstallData</A> <B>instance</B></PRE> |
360 |
<DL>
|
361 |
<DD>The uninstall data object.
|
362 |
<P>
|
363 |
<DL>
|
364 |
</DL>
|
365 |
</DL>
|
366 |
<HR>
|
367 |
|
368 |
<A NAME="installedFilesList"><!-- --></A><H3> |
369 |
installedFilesList</H3>
|
370 |
<PRE>
|
371 |
private java.util.List<java.lang.String> <B>installedFilesList</B></PRE> |
372 |
<DL>
|
373 |
<DD>The installed files list.
|
374 |
<P>
|
375 |
<DL>
|
376 |
</DL>
|
377 |
</DL>
|
378 |
<HR>
|
379 |
|
380 |
<A NAME="uninstallableFilesList"><!-- --></A><H3> |
381 |
uninstallableFilesList</H3>
|
382 |
<PRE>
|
383 |
private java.util.List <B>uninstallableFilesList</B></PRE> |
384 |
<DL>
|
385 |
<DD>The uninstallable files list.
|
386 |
<P>
|
387 |
<DL>
|
388 |
</DL>
|
389 |
</DL>
|
390 |
<HR>
|
391 |
|
392 |
<A NAME="executablesList"><!-- --></A><H3> |
393 |
executablesList</H3>
|
394 |
<PRE>
|
395 |
private java.util.List <B>executablesList</B></PRE> |
396 |
<DL>
|
397 |
<DD>The executables list.
|
398 |
<P>
|
399 |
<DL>
|
400 |
</DL>
|
401 |
</DL>
|
402 |
<HR>
|
403 |
|
404 |
<A NAME="uninstallerJarFilename"><!-- --></A><H3> |
405 |
uninstallerJarFilename</H3>
|
406 |
<PRE>
|
407 |
private java.lang.String <B>uninstallerJarFilename</B></PRE> |
408 |
<DL>
|
409 |
<DD>The uninstaller jar filename.
|
410 |
<P>
|
411 |
<DL>
|
412 |
</DL>
|
413 |
</DL>
|
414 |
<HR>
|
415 |
|
416 |
<A NAME="uninstallerPath"><!-- --></A><H3> |
417 |
uninstallerPath</H3>
|
418 |
<PRE>
|
419 |
private java.lang.String <B>uninstallerPath</B></PRE> |
420 |
<DL>
|
421 |
<DD>The uninstaller path.
|
422 |
<P>
|
423 |
<DL>
|
424 |
</DL>
|
425 |
</DL>
|
426 |
<HR>
|
427 |
|
428 |
<A NAME="additionalData"><!-- --></A><H3> |
429 |
additionalData</H3>
|
430 |
<PRE>
|
431 |
private java.util.Map<java.lang.String,java.lang.Object> <B>additionalData</B></PRE> |
432 |
<DL>
|
433 |
<DD>Additional uninstall data like uninstaller listener list.
|
434 |
<P>
|
435 |
<DL>
|
436 |
</DL>
|
437 |
</DL>
|
438 |
<HR>
|
439 |
|
440 |
<A NAME="unInstallScripts"><!-- --></A><H3> |
441 |
unInstallScripts</H3>
|
442 |
<PRE>
|
443 |
private java.util.ArrayList<java.lang.String> <B>unInstallScripts</B></PRE> |
444 |
<DL>
|
445 |
<DD>Filesmap which should removed by the root user for another user
|
446 |
<P>
|
447 |
<DL>
|
448 |
</DL>
|
449 |
</DL>
|
450 |
<HR>
|
451 |
|
452 |
<A NAME="ROOTSCRIPT"><!-- --></A><H3> |
453 |
ROOTSCRIPT</H3>
|
454 |
<PRE>
|
455 |
public static final java.lang.String <B>ROOTSCRIPT</B></PRE> |
456 |
<DL>
|
457 |
<DD>Constant RootFiles = "rootfiles"
|
458 |
<P>
|
459 |
<DL>
|
460 |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.izforge.izpack.installer.UninstallData.ROOTSCRIPT">Constant Field Values</A></DL> |
461 |
</DL>
|
462 |
|
463 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
464 |
|
465 |
<A NAME="constructor_detail"><!-- --></A> |
466 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
467 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
468 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
469 |
<B>Constructor Detail</B></FONT></TH> |
470 |
</TR>
|
471 |
</TABLE>
|
472 |
|
473 |
<A NAME="UninstallData()"><!-- --></A><H3> |
474 |
UninstallData</H3>
|
475 |
<PRE>
|
476 |
private <B>UninstallData</B>()</PRE> |
477 |
<DL>
|
478 |
<DD>The constructor.
|
479 |
<P>
|
480 |
</DL>
|
481 |
|
482 |
<!-- ============ METHOD DETAIL ========== -->
|
483 |
|
484 |
<A NAME="method_detail"><!-- --></A> |
485 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
486 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
487 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
488 |
<B>Method Detail</B></FONT></TH> |
489 |
</TR>
|
490 |
</TABLE>
|
491 |
|
492 |
<A NAME="getInstance()"><!-- --></A><H3> |
493 |
getInstance</H3>
|
494 |
<PRE>
|
495 |
public static <A HREF="../../../../com/izforge/izpack/installer/UninstallData.html" title="class in com.izforge.izpack.installer">UninstallData</A> <B>getInstance</B>()</PRE> |
496 |
<DL>
|
497 |
<DD>Returns the instance (it is a singleton).
|
498 |
<P>
|
499 |
<DD><DL> |
500 |
|
501 |
<DT><B>Returns:</B><DD>The instance.</DL> |
502 |
</DD>
|
503 |
</DL>
|
504 |
<HR>
|
505 |
|
506 |
<A NAME="addFile(java.lang.String, boolean)"><!-- --></A><H3> |
507 |
addFile</H3>
|
508 |
<PRE>
|
509 |
public void <B>addFile</B>(java.lang.String path, |
510 |
boolean uninstall)</PRE> |
511 |
<DL>
|
512 |
<DD>Adds a file to the data.
|
513 |
<P>
|
514 |
<DD><DL> |
515 |
<DT><B>Parameters:</B><DD><CODE>path</CODE> - The file to add.<DD><CODE>uninstall</CODE> - If true, file must be uninstalled.</DL> |
516 |
</DD>
|
517 |
</DL>
|
518 |
<HR>
|
519 |
|
520 |
<A NAME="getInstalledFilesList()"><!-- --></A><H3> |
521 |
getInstalledFilesList</H3>
|
522 |
<PRE>
|
523 |
public java.util.List<java.lang.String> <B>getInstalledFilesList</B>()</PRE> |
524 |
<DL>
|
525 |
<DD>Returns the installed files list.
|
526 |
<P>
|
527 |
<DD><DL> |
528 |
|
529 |
<DT><B>Returns:</B><DD>The installed files list.</DL> |
530 |
</DD>
|
531 |
</DL>
|
532 |
<HR>
|
533 |
|
534 |
<A NAME="getUninstalableFilesList()"><!-- --></A><H3> |
535 |
getUninstalableFilesList</H3>
|
536 |
<PRE>
|
537 |
public java.util.List <B>getUninstalableFilesList</B>()</PRE> |
538 |
<DL>
|
539 |
<DD>Returns the uninstallable files list.
|
540 |
<P>
|
541 |
<DD><DL> |
542 |
|
543 |
<DT><B>Returns:</B><DD>The uninstallable files list.</DL> |
544 |
</DD>
|
545 |
</DL>
|
546 |
<HR>
|
547 |
|
548 |
<A NAME="addExecutable(com.izforge.izpack.ExecutableFile)"><!-- --></A><H3> |
549 |
addExecutable</H3>
|
550 |
<PRE>
|
551 |
public void <B>addExecutable</B>(<A HREF="../../../../com/izforge/izpack/ExecutableFile.html" title="class in com.izforge.izpack">ExecutableFile</A> file)</PRE> |
552 |
<DL>
|
553 |
<DD>Adds an executable to the data.
|
554 |
<P>
|
555 |
<DD><DL> |
556 |
<DT><B>Parameters:</B><DD><CODE>file</CODE> - The executable file.</DL> |
557 |
</DD>
|
558 |
</DL>
|
559 |
<HR>
|
560 |
|
561 |
<A NAME="getExecutablesList()"><!-- --></A><H3> |
562 |
getExecutablesList</H3>
|
563 |
<PRE>
|
564 |
public java.util.List <B>getExecutablesList</B>()</PRE> |
565 |
<DL>
|
566 |
<DD>Returns the executables list.
|
567 |
<P>
|
568 |
<DD><DL> |
569 |
|
570 |
<DT><B>Returns:</B><DD>The executables list.</DL> |
571 |
</DD>
|
572 |
</DL>
|
573 |
<HR>
|
574 |
|
575 |
<A NAME="getUninstallerJarFilename()"><!-- --></A><H3> |
576 |
getUninstallerJarFilename</H3>
|
577 |
<PRE>
|
578 |
public java.lang.String <B>getUninstallerJarFilename</B>()</PRE> |
579 |
<DL>
|
580 |
<DD>Returns the uninstaller jar filename.
|
581 |
<P>
|
582 |
<DD><DL> |
583 |
|
584 |
<DT><B>Returns:</B><DD>The uninstaller jar filename.</DL> |
585 |
</DD>
|
586 |
</DL>
|
587 |
<HR>
|
588 |
|
589 |
<A NAME="setUninstallerJarFilename(java.lang.String)"><!-- --></A><H3> |
590 |
setUninstallerJarFilename</H3>
|
591 |
<PRE>
|
592 |
public void <B>setUninstallerJarFilename</B>(java.lang.String name)</PRE> |
593 |
<DL>
|
594 |
<DD>Sets the uninstaller jar filename.
|
595 |
<P>
|
596 |
<DD><DL> |
597 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The uninstaller jar filename.</DL> |
598 |
</DD>
|
599 |
</DL>
|
600 |
<HR>
|
601 |
|
602 |
<A NAME="getUninstallerPath()"><!-- --></A><H3> |
603 |
getUninstallerPath</H3>
|
604 |
<PRE>
|
605 |
public java.lang.String <B>getUninstallerPath</B>()</PRE> |
606 |
<DL>
|
607 |
<DD>Returns the path to the uninstaller.
|
608 |
<P>
|
609 |
<DD><DL> |
610 |
|
611 |
<DT><B>Returns:</B><DD>The uninstaller filename path.</DL> |
612 |
</DD>
|
613 |
</DL>
|
614 |
<HR>
|
615 |
|
616 |
<A NAME="setUninstallerPath(java.lang.String)"><!-- --></A><H3> |
617 |
setUninstallerPath</H3>
|
618 |
<PRE>
|
619 |
public void <B>setUninstallerPath</B>(java.lang.String path)</PRE> |
620 |
<DL>
|
621 |
<DD>Sets the uninstaller path.
|
622 |
<P>
|
623 |
<DD><DL> |
624 |
<DT><B>Parameters:</B><DD><CODE>path</CODE> - The uninstaller path.</DL> |
625 |
</DD>
|
626 |
</DL>
|
627 |
<HR>
|
628 |
|
629 |
<A NAME="getAdditionalData()"><!-- --></A><H3> |
630 |
getAdditionalData</H3>
|
631 |
<PRE>
|
632 |
public java.util.Map<java.lang.String,java.lang.Object> <B>getAdditionalData</B>()</PRE> |
633 |
<DL>
|
634 |
<DD>Returns additional uninstall data like uninstaller listener list.
|
635 |
<P>
|
636 |
<DD><DL> |
637 |
|
638 |
<DT><B>Returns:</B><DD>additional uninstall data</DL> |
639 |
</DD>
|
640 |
</DL>
|
641 |
<HR>
|
642 |
|
643 |
<A NAME="addAdditionalData(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
644 |
addAdditionalData</H3>
|
645 |
<PRE>
|
646 |
public void <B>addAdditionalData</B>(java.lang.String name, |
647 |
java.lang.Object value)</PRE> |
648 |
<DL>
|
649 |
<DD>Sets additional uninstall data like uninstaller listener list.
|
650 |
<P>
|
651 |
<DD><DL> |
652 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - key for the additional uninstall data<DD><CODE>value</CODE> - the additional uninstall data</DL> |
653 |
</DD>
|
654 |
</DL>
|
655 |
<HR>
|
656 |
|
657 |
<A NAME="addUninstallScript(java.lang.String)"><!-- --></A><H3> |
658 |
addUninstallScript</H3>
|
659 |
<PRE>
|
660 |
public void <B>addUninstallScript</B>(java.lang.String aRootUninstallScript)</PRE> |
661 |
<DL>
|
662 |
<DD>Adds the given File to delete several Shortcuts as Root for the given Users.
|
663 |
<P>
|
664 |
<DD><DL> |
665 |
<DT><B>Parameters:</B><DD><CODE>aRootUninstallScript</CODE> - The Script to exec as Root at uninstall.</DL> |
666 |
</DD>
|
667 |
</DL>
|
668 |
<HR>
|
669 |
|
670 |
<A NAME="getUninstallScripts()"><!-- --></A><H3> |
671 |
getUninstallScripts</H3>
|
672 |
<PRE>
|
673 |
public java.util.ArrayList<java.lang.String> <B>getUninstallScripts</B>()</PRE> |
674 |
<DL>
|
675 |
<DD>Returns the root data.
|
676 |
<P>
|
677 |
<DD><DL> |
678 |
|
679 |
<DT><B>Returns:</B><DD>root data</DL> |
680 |
</DD>
|
681 |
</DL>
|
682 |
<!-- ========= END OF CLASS DATA ========= -->
|
683 |
<HR>
|
684 |
|
685 |
|
686 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
687 |
<A NAME="navbar_bottom"><!-- --></A> |
688 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
689 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
690 |
<TR>
|
691 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
692 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
693 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
694 |
<TR ALIGN="center" VALIGN="top"> |
695 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
696 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
697 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
698 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
699 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
700 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
701 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
702 |
</TR>
|
703 |
</TABLE>
|
704 |
</TD>
|
705 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
706 |
</EM>
|
707 |
</TD>
|
708 |
</TR>
|
709 |
|
710 |
<TR>
|
711 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
712 |
<A HREF="../../../../com/izforge/izpack/installer/ScriptParser.html" title="class in com.izforge.izpack.installer"><B>PREV CLASS</B></A> |
713 |
<A HREF="../../../../com/izforge/izpack/installer/Unpacker.html" title="class in com.izforge.izpack.installer"><B>NEXT CLASS</B></A></FONT></TD> |
714 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
715 |
<A HREF="../../../../index.html?com/izforge/izpack/installer/UninstallData.html" target="_top"><B>FRAMES</B></A> |
716 |
<A HREF="UninstallData.html" target="_top"><B>NO FRAMES</B></A> |
717 |
<SCRIPT type="text/javascript"> |
718 |
<!--
|
719 |
if(window==top) {
|
720 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
721 |
}
|
722 |
//-->
|
723 |
</SCRIPT>
|
724 |
<NOSCRIPT>
|
725 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
726 |
</NOSCRIPT>
|
727 |
|
728 |
|
729 |
</FONT></TD> |
730 |
</TR>
|
731 |
<TR>
|
732 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
733 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
734 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
735 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
736 |
</TR>
|
737 |
</TABLE>
|
738 |
<A NAME="skip-navbar_bottom"></A> |
739 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
740 |
|
741 |
<HR>
|
742 |
|
743 |
</BODY>
|
744 |
</HTML>
|