|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.tools.installresource.Install
public abstract class Install
Abstract superclass for implementing the resource installation behavior.
Constructor Summary | |
---|---|
Install(String path,
String name,
boolean platformDependent)
|
Method Summary | |
---|---|
boolean |
delete()
Delete the temporary installation. |
ClassLoader |
getClassLoader()
|
File |
getFile()
|
File[] |
getFiles()
|
String |
getName()
|
String |
getPath()
|
static String |
getPlatformDefaultId()
|
static String |
getPlatformFallbackId()
|
static String |
getPlatformId()
|
boolean |
isPlatformDependent()
|
File |
load()
Load the first occurrence of the designated target from the classloader. |
File[] |
loadAll()
Load all occurrences of the designated target from the classloader. |
void |
setClassLoader(ClassLoader classLoader)
|
static void |
setPlatformFallbackId(String value)
|
static void |
setPlatformId(String value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Install(String path, String name, boolean platformDependent)
Method Detail |
---|
public static String getPlatformDefaultId()
public static String getPlatformFallbackId()
public static String getPlatformId()
public static void setPlatformFallbackId(String value)
public static void setPlatformId(String value)
public boolean delete()
true
if all artifacts are deleted.public ClassLoader getClassLoader()
public File getFile()
public File[] getFiles()
public String getName()
public String getPath()
public boolean isPlatformDependent()
public File load() throws IOException
IOException
public File[] loadAll() throws IOException
IOException
public void setClassLoader(ClassLoader classLoader)
|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |