|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jnlp.ResourcesDesc
public class ResourcesDesc
The resources element.
Constructor Summary | |
---|---|
ResourcesDesc(JNLPFile jnlpFile,
java.util.Locale[] locales,
java.lang.String[] os,
java.lang.String[] arch)
Create a representation of one information section of the JNLP File. |
Method Summary | ||
---|---|---|
void |
addResource(java.lang.Object resource)
Add a resource. |
|
java.lang.String[] |
getArch()
Returns the architecture required by these resources, or null if no locale was specified in the JNLP file. |
|
ExtensionDesc[] |
getExtensions()
Returns the Extensions. |
|
JARDesc[] |
getJARs()
Returns all of the JARs. |
|
JARDesc[] |
getJARs(java.lang.String partName)
Returns the JARs with the specified part name. |
|
JNLPFile |
getJNLPFile()
Returns the JNLPFile the resources are for. |
|
JREDesc[] |
getJREs()
Returns the JVMs. |
|
java.util.Locale[] |
getLocales()
Returns the locale required by these resources, or null if no locale was specified in the JNLP file. |
|
JARDesc |
getMainJAR()
Returns the main JAR for these resources. |
|
java.lang.String[] |
getOS()
Returns the os required by these resources, or null if no locale was specified in the JNLP file. |
|
PackageDesc[] |
getPackages()
Returns the Packages. |
|
PackageDesc[] |
getPackages(java.lang.String className)
Returns the Packages that match the specified class name. |
|
PropertyDesc[] |
getProperties()
Returns the Properties as a list. |
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap()
Returns the properties as a map. |
|
|
getResources(java.lang.Class<T> type)
Returns all resources of the specified type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourcesDesc(JNLPFile jnlpFile, java.util.Locale[] locales, java.lang.String[] os, java.lang.String[] arch)
jnlpFile
- JNLP file the resources are forlocales
- the locales of these resourcesos
- the os of these resourcesarch
- the arch of these resourcesMethod Detail |
---|
public JREDesc[] getJREs()
public JARDesc getMainJAR()
public JARDesc[] getJARs()
public JARDesc[] getJARs(java.lang.String partName)
partName
- the part name, null and "" equivalentpublic ExtensionDesc[] getExtensions()
public PackageDesc[] getPackages()
public PackageDesc[] getPackages(java.lang.String className)
className
- the fully qualified class name
public PropertyDesc[] getProperties()
public java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
public java.lang.String[] getOS()
public java.lang.String[] getArch()
public java.util.Locale[] getLocales()
public JNLPFile getJNLPFile()
public <T> java.util.List<T> getResources(java.lang.Class<T> type)
public void addResource(java.lang.Object resource)
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |