Package org.eclipse.tycho.model
Class Category
- java.lang.Object
-
- org.eclipse.tycho.model.Category
-
public class Category extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCATEGORY_XMLprivate de.pdark.decentxml.Documentdocumentprivate de.pdark.decentxml.Elementdomprivate static de.pdark.decentxml.XMLParserparser
-
Constructor Summary
Constructors Constructor Description Category(de.pdark.decentxml.Document document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<UpdateSite.SiteFeatureRef>getFeatures()java.util.List<PluginRef>getPlugins()java.util.List<RepositoryReference>getRepositoryReferences()static Categoryread(java.io.File file)static Categoryread(java.io.InputStream is)static voidwrite(Category category, java.io.File file)
-
-
-
Field Detail
-
CATEGORY_XML
public static final java.lang.String CATEGORY_XML
- See Also:
- Constant Field Values
-
parser
private static de.pdark.decentxml.XMLParser parser
-
dom
private final de.pdark.decentxml.Element dom
-
document
private final de.pdark.decentxml.Document document
-
-
Method Detail
-
getFeatures
public java.util.List<UpdateSite.SiteFeatureRef> getFeatures()
-
getPlugins
public java.util.List<PluginRef> getPlugins()
-
getRepositoryReferences
public java.util.List<RepositoryReference> getRepositoryReferences()
-
read
public static Category read(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public static Category read(java.io.InputStream is) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(Category category, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
-