public class RSRemoteCatalogResolver extends java.lang.Object implements DTSCascadeURIResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
RSRemoteCatalogResolver.CatalogFormat
The Enum CatalogFormat.
|
static class |
RSRemoteCatalogResolver.StaticCatalogEntry
This is the object model representation of an entry in the static catalog.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IGNOREALLREQUESTS
If this property is set to "true" this catalog will be disabled and no requests about the StaticCatalog
file will be ever sent.
|
static java.lang.String |
SYNCHRONIZEREMOTECATALOG
The synchronizeremotecatalog.
|
| Constructor and Description |
|---|
RSRemoteCatalogResolver(RSRemoteCatalogGUI theGUI,
javax.xml.transform.URIResolver nextResolver)
Creates an instance of this resolver and sets the resolver passed in as the next resolver to be used
Also, sets the instance of the class that will implement all dialogs with the
end user in order to interact and ask questions and obtain feedback.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<RSRemoteCatalogResolver.StaticCatalogEntry> |
getEntries()
Gets the entries.
|
static RSRemoteCatalogResolver.StaticCatalogEntry |
getEntry(java.lang.String id)
Gets the entry.
|
static java.util.Date |
getFileLastTimeUpdated()
Gets the file last time updated.
|
javax.xml.transform.URIResolver |
getNextResolver()
The next resolved in the cascade. null means this is the last resolver
|
static boolean |
getSynchronizeRemoteCatalog()
Gets the synchronize remote catalog.
|
static java.lang.Object |
getVersion(java.lang.String packageID)
Access to the version number of a package in the remote catalog
returns the version number or 0 if it does not exists.
|
static void |
installEntry(java.lang.String id,
InstallCallBack gui)
Install entry.
|
static void |
processNewFile(InstallCallBack installCallback)
Process new file.
|
static void |
removeIgnoreMessages()
Removes the ignore messages.
|
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base) |
void |
setNextResolver(javax.xml.transform.URIResolver newNextResolver)
Sets the next resolver to the resolver specified in the parameter.
|
static boolean |
setSynchronizeRemoteCatalog(boolean newValue)
Sets the synchronize remote catalog.
|
static void |
updateRemoteCatalog()
Update remote catalog.
|
public static java.lang.String IGNOREALLREQUESTS
public static java.lang.String SYNCHRONIZEREMOTECATALOG
public RSRemoteCatalogResolver(RSRemoteCatalogGUI theGUI, javax.xml.transform.URIResolver nextResolver)
Also, sets the instance of the class that will implement all dialogs with the end user in order to interact and ask questions and obtain feedback.
theGUI - the the guinextResolver - the next resolverpublic static java.lang.Object getVersion(java.lang.String packageID)
packageID - the package idpublic static void installEntry(java.lang.String id,
InstallCallBack gui)
id - the idgui - the guipublic static java.util.Collection<RSRemoteCatalogResolver.StaticCatalogEntry> getEntries()
public static java.util.Date getFileLastTimeUpdated()
public static void removeIgnoreMessages()
public static boolean getSynchronizeRemoteCatalog()
public static boolean setSynchronizeRemoteCatalog(boolean newValue)
newValue - the new valuepublic javax.xml.transform.Source resolve(java.lang.String href,
java.lang.String base)
throws javax.xml.transform.TransformerException
resolve in interface javax.xml.transform.URIResolverjavax.xml.transform.TransformerExceptionpublic javax.xml.transform.URIResolver getNextResolver()
DTSCascadeURIResolvergetNextResolver in interface DTSCascadeURIResolverpublic void setNextResolver(javax.xml.transform.URIResolver newNextResolver)
DTSCascadeURIResolversetNextResolver in interface DTSCascadeURIResolvernewNextResolver - the new next resolverpublic static void updateRemoteCatalog()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.public static void processNewFile(InstallCallBack installCallback)
installCallback - the install callbackpublic static RSRemoteCatalogResolver.StaticCatalogEntry getEntry(java.lang.String id)
id - the id