Package org.eclipse.tycho.model
Class UpdateSite
- java.lang.Object
-
- org.eclipse.tycho.model.UpdateSite
-
public class UpdateSite extends java.lang.Object
http://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 class
UpdateSite.SiteFeatureRef
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
associateSitesUrl
private de.pdark.decentxml.Document
document
private de.pdark.decentxml.Element
dom
private static de.pdark.decentxml.XMLParser
parser
static java.lang.String
SITE_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.String
getAssociateSitesUrl()
java.util.List<UpdateSite.SiteFeatureRef>
getFeatures()
boolean
isPack200()
static UpdateSite
read(java.io.File file)
static UpdateSite
read(java.io.InputStream is)
void
removeArchives()
static void
write(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()
-
-