Package org.eclipse.tycho.model
Class UpdateSite
- java.lang.Object
-
- org.eclipse.tycho.model.UpdateSite
-
public class UpdateSite extends java.lang.Objecthttp://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/reference/misc/update_sitemap .html
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateSite.SiteFeatureRef
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringassociateSitesUrlprivate de.pdark.decentxml.Documentdocumentprivate de.pdark.decentxml.Elementdomprivate static de.pdark.decentxml.XMLParserparserstatic java.lang.StringSITE_XML
-
Constructor Summary
Constructors Constructor Description UpdateSite(de.pdark.decentxml.Document document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getArchives()java.lang.StringgetAssociateSitesUrl()java.util.List<UpdateSite.SiteFeatureRef>getFeatures()booleanisPack200()static UpdateSiteread(java.io.File file)static UpdateSiteread(java.io.InputStream is)voidremoveArchives()static voidwrite(UpdateSite site, java.io.File file)
-
-
-
Field Detail
-
SITE_XML
public static final java.lang.String SITE_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
-
associateSitesUrl
private java.lang.String associateSitesUrl
-
-
Method Detail
-
getFeatures
public java.util.List<UpdateSite.SiteFeatureRef> getFeatures()
-
getArchives
public java.util.Map<java.lang.String,java.lang.String> getArchives()
-
removeArchives
public void removeArchives()
-
read
public static UpdateSite read(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public static UpdateSite read(java.io.InputStream is) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(UpdateSite site, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
isPack200
public boolean isPack200()
-
getAssociateSitesUrl
public java.lang.String getAssociateSitesUrl()
-
-