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.String
CATEGORY_XML
private de.pdark.decentxml.Document
document
private de.pdark.decentxml.Element
dom
private static de.pdark.decentxml.XMLParser
parser
-
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 Category
read(java.io.File file)
static Category
read(java.io.InputStream is)
static void
write(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
-
-