public class ResourceCatalog extends Object
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_XML_FILENAME |
Constructor and Description |
---|
ResourceCatalog(javax.servlet.ServletContext servletContext,
Logger log) |
Modifier and Type | Method and Description |
---|---|
int |
findMatch(List list,
String name,
DownloadRequest dreq,
JnlpResource[] result)
This method finds the best match, or return the best error code.
|
JnlpResource |
lookupResource(DownloadRequest dreq) |
int |
matchEntry(String name,
VersionString vs,
DownloadRequest dreq,
JnlpResource jnlpres,
VersionID vid) |
boolean |
prefixMatchLists(String[] prefixes,
String[] keys) |
List |
scanDirectory(String dirPath,
DownloadRequest dreq) |
public static final String VERSION_XML_FILENAME
public ResourceCatalog(javax.servlet.ServletContext servletContext, Logger log)
public JnlpResource lookupResource(DownloadRequest dreq) throws ErrorResponseException
ErrorResponseException
public int findMatch(List list, String name, DownloadRequest dreq, JnlpResource[] result)
public int matchEntry(String name, VersionString vs, DownloadRequest dreq, JnlpResource jnlpres, VersionID vid)
public List scanDirectory(String dirPath, DownloadRequest dreq)
Copyright © 2005–2016 Sun Microsystems. All rights reserved.