Package org.eclipse.tycho.model
Class ProductConfiguration
- java.lang.Object
-
- org.eclipse.tycho.model.ProductConfiguration
-
public class ProductConfiguration extends Object
As of eclipse 3.5.1, file format does not seem to be documented. There are most likely multiple parser implementations. org.eclipse.equinox.internal.p2.publisher.eclipse.ProductFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProductConfiguration.ConfigInistatic classProductConfiguration.ConfigurationProperty
-
Constructor Summary
Constructors Constructor Description ProductConfiguration(de.pdark.decentxml.Document document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplication()ProductConfiguration.ConfigInigetConfigIni()List<ProductConfiguration.ConfigurationProperty>getConfigurationProperties()List<FeatureRef>getFeatures()StringgetFreeBSDIcon()StringgetId()LaunchergetLauncher()StringgetLinuxIcon()StringgetMacIcon()StringgetName()Map<String,BundleConfiguration>getPluginConfiguration()List<PluginRef>getPlugins()StringgetProduct()StringgetVersion()List<String>getW32Icons()booleanincludeLaunchers()static ProductConfigurationread(File file)static ProductConfigurationread(InputStream input)voidremoveRootInstalledFeatures()voidsetVersion(String version)booleanuseFeatures()static voidwrite(ProductConfiguration product, File file)
-
-
-
Method Detail
-
read
public static ProductConfiguration read(File file) throws IOException
- Throws:
IOException
-
read
public static ProductConfiguration read(InputStream input) throws IOException
- Throws:
IOException
-
write
public static void write(ProductConfiguration product, File file) throws IOException
- Throws:
IOException
-
getProduct
public String getProduct()
-
getApplication
public String getApplication()
-
getFeatures
public List<FeatureRef> getFeatures() throws ModelFileSyntaxException
- Throws:
ModelFileSyntaxException
-
removeRootInstalledFeatures
public void removeRootInstalledFeatures()
-
getId
public String getId()
-
getLauncher
public Launcher getLauncher()
-
getName
public String getName()
-
useFeatures
public boolean useFeatures()
-
includeLaunchers
public boolean includeLaunchers()
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getLinuxIcon
public String getLinuxIcon()
-
getFreeBSDIcon
public String getFreeBSDIcon()
-
getPluginConfiguration
public Map<String,BundleConfiguration> getPluginConfiguration()
-
getConfigurationProperties
public List<ProductConfiguration.ConfigurationProperty> getConfigurationProperties()
-
getMacIcon
public String getMacIcon()
-
getConfigIni
public ProductConfiguration.ConfigIni getConfigIni()
-
-