intarsys runtime library

de.intarsys.tools.installresource
Class InstallFile

java.lang.Object
  extended by de.intarsys.tools.installresource.Install
      extended by de.intarsys.tools.installresource.InstallFile

public class InstallFile
extends Install

An abstraction to access a file to be deployed along with the application via the class loader.

The file is searched in the class loader with getResourceAsStream(x) where x is one of

where example, with NativeCode("foo", "bar.dll") on a Windows Vista machine you will search for:


Constructor Summary
InstallFile(String path, String name, boolean platformDependent)
           
 
Method Summary
 
Methods inherited from class de.intarsys.tools.installresource.Install
delete, getClassLoader, getFile, getFiles, getName, getPath, getPlatformDefaultId, getPlatformFallbackId, getPlatformId, isPlatformDependent, load, loadAll, setClassLoader, setPlatformFallbackId, setPlatformId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallFile

public InstallFile(String path,
                   String name,
                   boolean platformDependent)

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.