1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.5.0_08) on Mon Nov 02 09:43:05 CET 2009 -->
7
InstallFile (intarsys runtime library)
10
<META NAME="keywords" CONTENT="de.intarsys.tools.installresource.InstallFile class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadocstyle.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="InstallFile (intarsys runtime library)";
25
<BODY BGCOLOR="white" onload="windowTitle();">
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="">
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="class-use/InstallFile.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
48
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51
<b>intarsys runtime library</b>
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
<A HREF="../../../../de/intarsys/tools/installresource/Install.html" title="class in de.intarsys.tools.installresource"><B>PREV CLASS</B></A>
60
<A HREF="../../../../de/intarsys/tools/installresource/InstallFileList.html" title="class in de.intarsys.tools.installresource"><B>NEXT CLASS</B></A></FONT></TD>
61
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
<A HREF="../../../../index.html?de/intarsys/tools/installresource/InstallFile.html" target="_top"><B>FRAMES</B></A>
63
<A HREF="InstallFile.html" target="_top"><B>NO FRAMES</B></A>
64
<SCRIPT type="text/javascript">
67
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
72
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_de.intarsys.tools.installresource.Install">METHOD</A></FONT></TD>
81
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
85
<A NAME="skip-navbar_top"></A>
86
<!-- ========= END OF TOP NAVBAR ========= -->
89
<!-- ======== START OF CLASS DATA ======== -->
92
de.intarsys.tools.installresource</FONT>
94
Class InstallFile</H2>
96
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
97
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../de/intarsys/tools/installresource/Install.html" title="class in de.intarsys.tools.installresource">de.intarsys.tools.installresource.Install</A>
98
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>de.intarsys.tools.installresource.InstallFile</B>
102
<DT><PRE>public class <B>InstallFile</B><DT>extends <A HREF="../../../../de/intarsys/tools/installresource/Install.html" title="class in de.intarsys.tools.installresource">Install</A></DL>
106
An abstraction to access a file to be deployed along with the application via
109
The file is searched in the class loader with getResourceAsStream(x) where x
112
<li> [path]/[os.name]-[os.arch]/[filename] </li>
113
<li> [path]/[os.short name]-[os.arch]/[filename] </li>
114
<li> [path]/default/[filename] </li>
120
<li> [path] is a path prefix defined upon object creation </li>
121
<li> [os.name] is the System property os.name in lowercase</li>
122
<li> [os.short name] is derived from the System property os.name by using the
123
beginning up to the first whitespace in lowercase</li>
124
<li> [os.arch] is the System property os.arch in lowercase</li>
125
<li> [filename] is the name defined upon object creation</li>
128
example, with NativeCode("foo", "bar.dll") on a Windows Vista machine you
132
<li>foo/windows vista-x86/bar.dll</li>
133
<li>foo/windows-x86/bar.dll</li>
134
<li>foo/default/bar.dll</li>
143
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
145
<A NAME="constructor_summary"><!-- --></A>
146
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
148
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
149
<B>Constructor Summary</B></FONT></TH>
151
<TR BGCOLOR="white" CLASS="TableRowColor">
152
<TD><CODE><B><A HREF="../../../../de/intarsys/tools/installresource/InstallFile.html#InstallFile(java.lang.String, java.lang.String, boolean)">InstallFile</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> path,
153
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
154
boolean platformDependent)</CODE>
157
</TD>
161
<!-- ========== METHOD SUMMARY =========== -->
163
<A NAME="method_summary"><!-- --></A>
164
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
165
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
166
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
167
<B>Method Summary</B></FONT></TH>
170
<A NAME="methods_inherited_from_class_de.intarsys.tools.installresource.Install"><!-- --></A>
171
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173
<TH ALIGN="left"><B>Methods inherited from class de.intarsys.tools.installresource.<A HREF="../../../../de/intarsys/tools/installresource/Install.html" title="class in de.intarsys.tools.installresource">Install</A></B></TH>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
<TD><CODE><A HREF="../../../../de/intarsys/tools/installresource/Install.html#delete()">delete</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getClassLoader()">getClassLoader</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getFile()">getFile</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getFiles()">getFiles</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getName()">getName</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getPath()">getPath</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getPlatformDefaultId()">getPlatformDefaultId</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getPlatformFallbackId()">getPlatformFallbackId</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#getPlatformId()">getPlatformId</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#isPlatformDependent()">isPlatformDependent</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#load()">load</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#loadAll()">loadAll</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#setPlatformFallbackId(java.lang.String)">setPlatformFallbackId</A>, <A HREF="../../../../de/intarsys/tools/installresource/Install.html#setPlatformId(java.lang.String)">setPlatformId</A></CODE></TD>
179
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
180
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
182
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
191
<!-- ========= CONSTRUCTOR DETAIL ======== -->
193
<A NAME="constructor_detail"><!-- --></A>
194
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
197
<B>Constructor Detail</B></FONT></TH>
201
<A NAME="InstallFile(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
204
public <B>InstallFile</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> path,
205
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name,
206
boolean platformDependent)</PRE>
209
<!-- ========= END OF CLASS DATA ========= -->
213
<!-- ======= START OF BOTTOM NAVBAR ====== -->
214
<A NAME="navbar_bottom"><!-- --></A>
215
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
216
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
218
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
219
<A NAME="navbar_bottom_firstrow"><!-- --></A>
220
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
221
<TR ALIGN="center" VALIGN="top">
222
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
223
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
224
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
225
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InstallFile.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
226
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
227
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
228
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
229
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
233
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
236
<b>intarsys runtime library</b>
243
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
244
<A HREF="../../../../de/intarsys/tools/installresource/Install.html" title="class in de.intarsys.tools.installresource"><B>PREV CLASS</B></A>
245
<A HREF="../../../../de/intarsys/tools/installresource/InstallFileList.html" title="class in de.intarsys.tools.installresource"><B>NEXT CLASS</B></A></FONT></TD>
246
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
247
<A HREF="../../../../index.html?de/intarsys/tools/installresource/InstallFile.html" target="_top"><B>FRAMES</B></A>
248
<A HREF="InstallFile.html" target="_top"><B>NO FRAMES</B></A>
249
<SCRIPT type="text/javascript">
252
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
257
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
264
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
265
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_de.intarsys.tools.installresource.Install">METHOD</A></FONT></TD>
266
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
267
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
270
<A NAME="skip-navbar_bottom"></A>
271
<!-- ======== END OF BOTTOM NAVBAR ======= -->
275
<i>Copyright © 2008 <a href=http://www.intarsys.de/ target=_top>intarsys consulting GmbH</a>. All Rights Reserved.</i>