A C D E F G I J L M N P R S T V W X 

A

ACCEPT_ENCODING - Static variable in class jnlp.sample.servlet.DownloadRequest
 
addDebug(String) - Method in class jnlp.sample.servlet.Logger
 
addDebug(String, Throwable) - Method in class jnlp.sample.servlet.Logger
 
addFatal(String, Throwable) - Method in class jnlp.sample.servlet.Logger
 
addInformational(String) - Method in class jnlp.sample.servlet.Logger
 
addInformational(String, String) - Method in class jnlp.sample.servlet.Logger
 
addInformational(String, String, String, String) - Method in class jnlp.sample.servlet.Logger
 
addWarning(String, String) - Method in class jnlp.sample.servlet.Logger
 
addWarning(String, String, Throwable) - Method in class jnlp.sample.servlet.Logger
 
addWarning(String, String, String) - Method in class jnlp.sample.servlet.Logger
 
addWarning(String, String, String, String) - Method in class jnlp.sample.servlet.Logger
 
applyPatch(Patcher.PatchDelegate, String, String, OutputStream) - Method in class jnlp.sample.jardiff.JarDiffPatcher
 
applyPatch(Patcher.PatchDelegate, String, String, OutputStream) - Method in interface jnlp.sample.jardiff.Patcher
Applies a patch previously created with createPatch.

C

compareTo(Object) - Method in class jnlp.sample.util.VersionID
 
contains(VersionID) - Method in class jnlp.sample.util.VersionString
Check if this VersionString object contains the VersionID m
contains(String) - Method in class jnlp.sample.util.VersionString
Check if this VersionString object contains the VersionID m, given as a string
contains(String, String) - Static method in class jnlp.sample.util.VersionString
Check if the versionString 'vs' contains the VersionID 'vi'
containsGreaterThan(VersionID) - Method in class jnlp.sample.util.VersionString
Check if this VersionString object contains anything greater than m
containsGreaterThan(String) - Method in class jnlp.sample.util.VersionString
Check if this VersionString object contains anything greater than the VersionID m, given as a string
CONTENT_ENCODING - Static variable in class jnlp.sample.servlet.DownloadResponse
 
convert(Node) - Static method in class jnlp.sample.servlet.XMLParsing
 
createPatch(String, String, OutputStream, boolean) - Static method in class jnlp.sample.jardiff.JarDiff
Creates a patch from the two passed in files, writing the result to os.

D

DEBUG - Static variable in class jnlp.sample.servlet.Logger
 
DEBUG_KEY - Static variable in class jnlp.sample.servlet.Logger
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class jnlp.sample.servlet.JnlpDownloadServlet
We handle get requests too - eventhough the spec.
doHead(HttpServletRequest, HttpServletResponse) - Method in class jnlp.sample.servlet.JnlpDownloadServlet
 
DownloadRequest - Class in jnlp.sample.servlet
The DownloadRequest incapsulates all the data in a request SQE: We need to address query string
DownloadRequest(HttpServletRequest) - Constructor for class jnlp.sample.servlet.DownloadRequest
 
DownloadRequest(ServletContext, HttpServletRequest) - Constructor for class jnlp.sample.servlet.DownloadRequest
 
DownloadResponse - Class in jnlp.sample.servlet
A class used to encapsulate a file response, and factory methods to create some common types.
DownloadResponse() - Constructor for class jnlp.sample.servlet.DownloadResponse
 
DownloadResponse.JnlpErrorResponse - Class in jnlp.sample.servlet
 
DownloadResponse.JnlpErrorResponse(int) - Constructor for class jnlp.sample.servlet.DownloadResponse.JnlpErrorResponse
 

E

equals(Object) - Method in class jnlp.sample.servlet.XMLAttribute
 
equals(Object) - Method in class jnlp.sample.servlet.XMLNode
 
equals(Object) - Method in class jnlp.sample.util.VersionID
Compares if two version IDs are equal
ERR_10_NO_RESOURCE - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ERR_11_NO_VERSION - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ERR_20_UNSUP_OS - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ERR_21_UNSUP_ARCH - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ERR_22_UNSUP_LOCALE - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ERR_23_UNSUP_JRE - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ERR_99_UNKNOWN - Static variable in class jnlp.sample.servlet.DownloadResponse
 
ErrorResponseException - Exception in jnlp.sample.servlet
An exception that holds a DownloadResponse object.
ErrorResponseException(DownloadResponse) - Constructor for exception jnlp.sample.servlet.ErrorResponseException
 
exists() - Method in class jnlp.sample.servlet.JnlpResource
 

F

FATAL - Static variable in class jnlp.sample.servlet.Logger
 
FATAL_KEY - Static variable in class jnlp.sample.servlet.Logger
 
findChildElement(XMLNode, String) - Static method in class jnlp.sample.servlet.XMLParsing
Returns an child element with the current tag name or null.
findElementPath(XMLNode, String) - Static method in class jnlp.sample.servlet.XMLParsing
Parses a path string of the form and returns the specific Element node for that tag, or null if it does not exist.
findMatch(List, String, DownloadRequest, JnlpResource[]) - Method in class jnlp.sample.servlet.ResourceCatalog
This method finds the best match, or return the best error code.

G

getArch() - Method in class jnlp.sample.servlet.DownloadRequest
 
getArchList() - Method in class jnlp.sample.servlet.JnlpResource
 
getAttribute(String) - Method in class jnlp.sample.servlet.XMLNode
 
getAttributes() - Method in class jnlp.sample.servlet.XMLNode
 
getCurrentVersionId() - Method in class jnlp.sample.servlet.DownloadRequest
 
getDownloadResponse() - Method in exception jnlp.sample.servlet.ErrorResponseException
 
getElementContent(XMLNode, String) - Static method in class jnlp.sample.servlet.XMLParsing
Like getElementContents(...) but with a defaultValue of null
getElementContent(XMLNode, String, String) - Static method in class jnlp.sample.servlet.XMLParsing
Returns the value of the last element tag in the path, e.g., <..>value.
getEncoding() - Method in class jnlp.sample.servlet.DownloadRequest
 
getHttpRequest() - Method in class jnlp.sample.servlet.DownloadRequest
 
getJarDiffEntry(ResourceCatalog, DownloadRequest, JnlpResource) - Method in class jnlp.sample.servlet.JarDiffHandler
Returns a JarDiff for the given request
getJnlpFile(JnlpResource, DownloadRequest) - Method in class jnlp.sample.servlet.JnlpFileHandler
 
getJnlpFileEx(JnlpResource, DownloadRequest) - Method in class jnlp.sample.servlet.JnlpFileHandler
 
getKnownPlatforms() - Method in class jnlp.sample.servlet.DownloadRequest
 
getLastModified() - Method in class jnlp.sample.servlet.JnlpResource
 
getLocale() - Method in class jnlp.sample.servlet.DownloadRequest
 
getLocaleList() - Method in class jnlp.sample.servlet.JnlpResource
 
getMimeType() - Method in class jnlp.sample.servlet.JnlpResource
 
getMultiElementContent(XMLNode, String) - Static method in class jnlp.sample.servlet.XMLParsing
Like getElementContents(...) but with a defaultValue of null
getName() - Method in class jnlp.sample.servlet.JnlpResource
 
getName() - Method in class jnlp.sample.servlet.XMLAttribute
 
getName() - Method in class jnlp.sample.servlet.XMLNode
 
getNested() - Method in class jnlp.sample.servlet.XMLNode
 
getNext() - Method in class jnlp.sample.servlet.XMLAttribute
 
getNext() - Method in class jnlp.sample.servlet.XMLNode
 
getOS() - Method in class jnlp.sample.servlet.DownloadRequest
 
getOSList() - Method in class jnlp.sample.servlet.JnlpResource
 
getParent() - Method in class jnlp.sample.servlet.XMLNode
 
getPath() - Method in class jnlp.sample.servlet.DownloadRequest
 
getPath() - Method in class jnlp.sample.servlet.JnlpResource
 
getPathString(XMLNode) - Static method in class jnlp.sample.servlet.XMLParsing
Returns a string describing the current location in the DOM
getQuery() - Method in class jnlp.sample.servlet.DownloadRequest
 
getResource() - Method in class jnlp.sample.servlet.JnlpResource
 
getResourceBundle() - Static method in class jnlp.sample.servlet.JnlpDownloadServlet
 
getResources() - Static method in class jnlp.sample.jardiff.JarDiff
 
getResources() - Static method in class jnlp.sample.jardiff.JarDiffPatcher
 
getReturnVersionId() - Method in class jnlp.sample.servlet.JnlpResource
 
getTestJRE() - Method in class jnlp.sample.servlet.DownloadRequest
 
getValue() - Method in class jnlp.sample.servlet.XMLAttribute
 
getVersion() - Method in class jnlp.sample.servlet.DownloadRequest
 
getVersionId() - Method in class jnlp.sample.servlet.JnlpResource
 
GZIP_ENCODING - Static variable in class jnlp.sample.servlet.DownloadResponse
 

I

INDEX_NAME - Static variable in interface jnlp.sample.jardiff.JarDiffConstants
 
INFORMATIONAL - Static variable in class jnlp.sample.servlet.Logger
 
INFORMATIONAL_KEY - Static variable in class jnlp.sample.servlet.Logger
 
init(ServletConfig) - Method in class jnlp.sample.servlet.JnlpDownloadServlet
Initialize servlet
isElement() - Method in class jnlp.sample.servlet.XMLNode
 
isElementPath(XMLNode, String) - Static method in class jnlp.sample.servlet.XMLParsing
Returns true if the path exists in the document, otherwise false
isGreaterThan(VersionID) - Method in class jnlp.sample.util.VersionID
 
isGreaterThanOrEqual(VersionID) - Method in class jnlp.sample.util.VersionID
 
isJarFile() - Method in class jnlp.sample.servlet.JnlpResource
 
isJavawsVersion(DownloadRequest, String) - Static method in class jnlp.sample.servlet.JarDiffHandler
 
isJnlpFile() - Method in class jnlp.sample.servlet.JnlpResource
 
isPlatformRequest() - Method in class jnlp.sample.servlet.DownloadRequest
 
isPrefixMatch(VersionID) - Method in class jnlp.sample.util.VersionID
Checks if 'this' is a prefix of vid
isSimpleVersion() - Method in class jnlp.sample.util.VersionID
Returns true if no flags are set

J

JarDiff - Class in jnlp.sample.jardiff
JarDiff is able to create a jar file containing the delta between two jar files (old and new).
JarDiff() - Constructor for class jnlp.sample.jardiff.JarDiff
 
JarDiffConstants - Interface in jnlp.sample.jardiff
Constants used by creating patch and applying patch for JarDiff.
JarDiffHandler - Class in jnlp.sample.servlet
 
JarDiffHandler(ServletContext, Logger) - Constructor for class jnlp.sample.servlet.JarDiffHandler
Initialize JarDiff handler
JarDiffPatcher - Class in jnlp.sample.jardiff
JarDiff is able to create a jar file containing the delta between two jar files (old and new).
JarDiffPatcher() - Constructor for class jnlp.sample.jardiff.JarDiffPatcher
 
jnlp.sample.jardiff - package jnlp.sample.jardiff
 
jnlp.sample.servlet - package jnlp.sample.servlet
 
jnlp.sample.util - package jnlp.sample.util
 
JnlpDownloadServlet - Class in jnlp.sample.servlet
This Servlet class is an implementation of JNLP Specification's Download Protocols.
JnlpDownloadServlet() - Constructor for class jnlp.sample.servlet.JnlpDownloadServlet
 
JnlpFileHandler - Class in jnlp.sample.servlet
 
JnlpFileHandler(ServletContext, Logger) - Constructor for class jnlp.sample.servlet.JnlpFileHandler
Initialize JnlpFileHandler for the specific ServletContext
JnlpResource - Class in jnlp.sample.servlet
A JnlpResource encapsulate the information about a resource that is needed to process a JNLP Download Request.
JnlpResource(ServletContext, String) - Constructor for class jnlp.sample.servlet.JnlpResource
 
JnlpResource(ServletContext, String, String, String[], String[], String[], String, String) - Constructor for class jnlp.sample.servlet.JnlpResource
 
JnlpResource(ServletContext, String, String, String[], String[], String[], String, String, String) - Constructor for class jnlp.sample.servlet.JnlpResource
 

L

Logger - Class in jnlp.sample.servlet
 
Logger(ServletConfig, ResourceBundle) - Constructor for class jnlp.sample.servlet.Logger
Initialize logging object.
lookupResource(DownloadRequest) - Method in class jnlp.sample.servlet.ResourceCatalog
 

M

main(String[]) - Static method in class jnlp.sample.jardiff.JarDiff
 
match(VersionID) - Method in class jnlp.sample.util.VersionID
Match 'this' versionID against vid.
matchEntry(String, VersionString, DownloadRequest, JnlpResource, VersionID) - Method in class jnlp.sample.servlet.ResourceCatalog
 
MOVE_COMMAND - Static variable in interface jnlp.sample.jardiff.JarDiffConstants
 

N

NONE - Static variable in class jnlp.sample.servlet.Logger
 
NONE_KEY - Static variable in class jnlp.sample.servlet.Logger
 

P

PACK200_GZIP_ENCODING - Static variable in class jnlp.sample.servlet.DownloadResponse
 
Patcher - Interface in jnlp.sample.jardiff
Patcher describes the necessary method to apply and create deltas.
Patcher.PatchDelegate - Interface in jnlp.sample.jardiff
Callback used when patching a file.
patching(int) - Method in interface jnlp.sample.jardiff.Patcher.PatchDelegate
 
prefixMatchLists(String[], String[]) - Method in class jnlp.sample.servlet.ResourceCatalog
 
printToStream(PrintWriter) - Method in class jnlp.sample.servlet.XMLNode
 
printToStream(PrintWriter, int) - Method in class jnlp.sample.servlet.XMLNode
 

R

REMOVE_COMMAND - Static variable in interface jnlp.sample.jardiff.JarDiffConstants
 
ResourceCatalog - Class in jnlp.sample.servlet
 
ResourceCatalog(ServletContext, Logger) - Constructor for class jnlp.sample.servlet.ResourceCatalog
 

S

scanDirectory(String, DownloadRequest) - Method in class jnlp.sample.servlet.ResourceCatalog
 
sendRespond(HttpServletResponse) - Method in class jnlp.sample.servlet.DownloadResponse.JnlpErrorResponse
 
setDefaultExtensions(String, String) - Static method in class jnlp.sample.servlet.JnlpResource
 
setNested(XMLNode) - Method in class jnlp.sample.servlet.XMLNode
 
setNext(XMLAttribute) - Method in class jnlp.sample.servlet.XMLAttribute
 
setNext(XMLNode) - Method in class jnlp.sample.servlet.XMLNode
 
setParent(XMLNode) - Method in class jnlp.sample.servlet.XMLNode
 
STS_00_OK - Static variable in class jnlp.sample.servlet.DownloadResponse
 

T

toString() - Method in class jnlp.sample.servlet.DownloadRequest
 
toString() - Method in class jnlp.sample.servlet.DownloadResponse.JnlpErrorResponse
 
toString() - Method in class jnlp.sample.servlet.DownloadResponse
 
toString() - Method in exception jnlp.sample.servlet.ErrorResponseException
 
toString() - Method in class jnlp.sample.servlet.JnlpResource
Print info about an entry
toString() - Method in class jnlp.sample.servlet.XMLAttribute
 
toString() - Method in class jnlp.sample.servlet.XMLNode
 
toString() - Method in class jnlp.sample.util.VersionID
Show it as a string
toString() - Method in class jnlp.sample.util.VersionString
Pretty-print object

V

VERSION_HEADER - Static variable in interface jnlp.sample.jardiff.JarDiffConstants
 
VERSION_XML_FILENAME - Static variable in class jnlp.sample.servlet.ResourceCatalog
 
VersionID - Class in jnlp.sample.util
VersionID contains a JNLP version ID.
VersionID(String) - Constructor for class jnlp.sample.util.VersionID
Creates a VersionID object
VersionString - Class in jnlp.sample.util
 
VersionString(String) - Constructor for class jnlp.sample.util.VersionString
Constructs a VersionString object from string
visitChildrenElements(XMLNode, XMLParsing.ElementVisitor) - Static method in class jnlp.sample.servlet.XMLParsing
 
visitElement(XMLNode) - Method in class jnlp.sample.servlet.XMLParsing.ElementVisitor
 
visitElements(XMLNode, String, XMLParsing.ElementVisitor) - Static method in class jnlp.sample.servlet.XMLParsing
Visits all elements which matches the .

W

WARNING - Static variable in class jnlp.sample.servlet.Logger
 
WARNING_KEY - Static variable in class jnlp.sample.servlet.Logger
 

X

XMLAttribute - Class in jnlp.sample.servlet
Class that contains information about a specific attribute
XMLAttribute(String, String) - Constructor for class jnlp.sample.servlet.XMLAttribute
 
XMLAttribute(String, String, XMLAttribute) - Constructor for class jnlp.sample.servlet.XMLAttribute
 
XMLNode - Class in jnlp.sample.servlet
Class that contains information about an XML Node
XMLNode(String) - Constructor for class jnlp.sample.servlet.XMLNode
Creates a PCTEXT node
XMLNode(String, XMLAttribute) - Constructor for class jnlp.sample.servlet.XMLNode
Creates a ELEMENT node
XMLNode(String, XMLAttribute, XMLNode, XMLNode) - Constructor for class jnlp.sample.servlet.XMLNode
Creates a ELEMENT node
XMLParsing - Class in jnlp.sample.servlet
Contains handy methods for looking up information stored in XMLNodes.
XMLParsing() - Constructor for class jnlp.sample.servlet.XMLParsing
 
XMLParsing.ElementVisitor - Class in jnlp.sample.servlet
Iterator class
XMLParsing.ElementVisitor() - Constructor for class jnlp.sample.servlet.XMLParsing.ElementVisitor
 
A C D E F G I J L M N P R S T V W X 

Copyright © 2005–2016 Sun Microsystems. All rights reserved.