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 class
ProductConfiguration.ConfigIni
static class
ProductConfiguration.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 String
getApplication()
ProductConfiguration.ConfigIni
getConfigIni()
List<ProductConfiguration.ConfigurationProperty>
getConfigurationProperties()
List<FeatureRef>
getFeatures()
String
getFreeBSDIcon()
String
getId()
Launcher
getLauncher()
String
getLinuxIcon()
String
getMacIcon()
String
getName()
Map<String,BundleConfiguration>
getPluginConfiguration()
List<PluginRef>
getPlugins()
String
getProduct()
String
getVersion()
List<String>
getW32Icons()
boolean
includeLaunchers()
static ProductConfiguration
read(File file)
static ProductConfiguration
read(InputStream input)
void
removeRootInstalledFeatures()
void
setVersion(String version)
boolean
useFeatures()
static void
write(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()
-
-