Class ProductConfiguration


  • public class ProductConfiguration
    extends java.lang.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
    • Field Detail

      • parser

        private static final de.pdark.decentxml.XMLParser parser
      • dom

        private de.pdark.decentxml.Element dom
      • document

        private de.pdark.decentxml.Document document
    • Constructor Detail

      • ProductConfiguration

        public ProductConfiguration​(de.pdark.decentxml.Document document)
    • Method Detail

      • read

        public static ProductConfiguration read​(java.io.File file)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public static ProductConfiguration read​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public static void write​(ProductConfiguration product,
                                 java.io.File file)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getProduct

        public java.lang.String getProduct()
      • getApplication

        public java.lang.String getApplication()
      • removeRootInstalledFeatures

        public void removeRootInstalledFeatures()
      • getId

        public java.lang.String getId()
      • getLauncher

        public Launcher getLauncher()
      • getName

        public java.lang.String getName()
      • getPlugins

        public java.util.List<PluginRef> getPlugins()
      • useFeatures

        public boolean useFeatures()
      • includeLaunchers

        public boolean includeLaunchers()
      • getVersion

        public java.lang.String getVersion()
      • setVersion

        public void setVersion​(java.lang.String version)
      • getW32Icons

        public java.util.List<java.lang.String> getW32Icons()
      • getLinuxIcon

        public java.lang.String getLinuxIcon()
      • getFreeBSDIcon

        public java.lang.String getFreeBSDIcon()
      • getPluginConfiguration

        public java.util.Map<java.lang.String,​BundleConfiguration> getPluginConfiguration()
      • getMacIcon

        public java.lang.String getMacIcon()