public class JnlpResource extends Object
Constructor and Description |
---|
JnlpResource(javax.servlet.ServletContext context,
String path) |
JnlpResource(javax.servlet.ServletContext context,
String name,
String versionId,
String[] osList,
String[] archList,
String[] localeList,
String path,
String returnVersionId) |
JnlpResource(javax.servlet.ServletContext context,
String name,
String versionId,
String[] osList,
String[] archList,
String[] localeList,
String path,
String returnVersionId,
String encoding) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
String[] |
getArchList() |
long |
getLastModified() |
String[] |
getLocaleList() |
String |
getMimeType() |
String |
getName() |
String[] |
getOSList() |
String |
getPath() |
URL |
getResource() |
String |
getReturnVersionId() |
String |
getVersionId() |
boolean |
isJarFile() |
boolean |
isJnlpFile() |
static void |
setDefaultExtensions(String jnlpExtension,
String jarExtension) |
String |
toString()
Print info about an entry
|
public JnlpResource(javax.servlet.ServletContext context, String path)
public JnlpResource(javax.servlet.ServletContext context, String name, String versionId, String[] osList, String[] archList, String[] localeList, String path, String returnVersionId)
public static void setDefaultExtensions(String jnlpExtension, String jarExtension)
public String getPath()
public URL getResource()
public String getMimeType()
public long getLastModified()
public boolean exists()
public boolean isJnlpFile()
public boolean isJarFile()
public String getName()
public String getVersionId()
public String[] getOSList()
public String[] getArchList()
public String[] getLocaleList()
public String getReturnVersionId()
Copyright © 2005–2016 Sun Microsystems. All rights reserved.