Skip navigation links
A B C D E F G H I J L N O P R S T U V W 

A

addSingleInstanceListener(SingleInstanceListener) - Method in interface javax.jnlp.SingleInstanceService
Adds the specified SingleInstanceListener to handle how the application/applet should behave when another instance of the same application/applet is invoked.
ALL - Static variable in interface javax.jnlp.DownloadService2
APPLET - Static variable in interface javax.jnlp.DownloadService2
APPLICATION - Static variable in interface javax.jnlp.DownloadService2

B

BasicService - Interface in javax.jnlp
The BasicService interface provides access to the codebase of the application, if an application is run in offline mode, and simple interaction with the native browser on the given platform.

C

CACHED - Static variable in interface javax.jnlp.PersistenceService
 
canRead() - Method in interface javax.jnlp.FileContents
Returns whether the file can be read.
canWrite() - Method in interface javax.jnlp.FileContents
Returns whether the file can be written to.
CLASS - Static variable in interface javax.jnlp.DownloadService2
ClipboardService - Interface in javax.jnlp
ClipboardService provides methods for accessing the shared system-wide clipboard, even for applications that are running in the untrusted execution environment.
close() - Method in interface javax.jnlp.JNLPRandomAccessFile
Closes this random access file stream and releases any system resources associated with the stream.
create(URL, long) - Method in interface javax.jnlp.PersistenceService
Creates a new persistent storage entry on the client side named with the given URL.

D

delete(URL) - Method in interface javax.jnlp.PersistenceService
Removes the stream associated with the given URL from the client-side date persistence store.
DIRTY - Static variable in interface javax.jnlp.PersistenceService
 
downloadFailed(URL, String) - Method in interface javax.jnlp.DownloadServiceListener
A JNLP client's DownloadService implementation should call this method if a download fails or aborts unexpectedly.
DownloadService - Interface in javax.jnlp
DownloadService service allows an application to control how its own resources are cached, to determine which of its resources are currently cached, to force resources to be cached, and to remove resources from the cache.
DownloadService2 - Interface in javax.jnlp
Provides cache query services to JNLP applications.
DownloadService2.ResourceSpec - Class in javax.jnlp
DownloadServiceListener - Interface in javax.jnlp
The DownloadServiceListener provides an interface for a callback object implementation, which may be used by a DownloadService implementation.

E

ExtendedService - Interface in javax.jnlp
ExtendedService provides additional support to the current JNLP API, to allow applications to open a specific file or files in the client's file system.
EXTENSION - Static variable in interface javax.jnlp.DownloadService2
ExtensionInstallerService - Interface in javax.jnlp
The ExtensionInstallerService is used by an extension installer to communicate with the JNLP Client.

F

FileContents - Interface in javax.jnlp
FileContents objects encapsulate the name and contents of a file.
FileOpenService - Interface in javax.jnlp
FileOpenService service allows the user to choose a file from the local file system, even for applications that are running in the untrusted execution environment.
FileSaveService - Interface in javax.jnlp
FileSaveService service allows the user to save a file to the local file system, even for applications that are running in the untrusted execution environment.

G

get(URL) - Method in interface javax.jnlp.PersistenceService
Returns a FileContents object representing the contents of this file.
getCachedResources(DownloadService2.ResourceSpec) - Method in interface javax.jnlp.DownloadService2
Returns all resources in the cache that match one of the specified resource specs.
getCodeBase() - Method in interface javax.jnlp.BasicService
Returns the codebase for the application.
getContents() - Method in interface javax.jnlp.ClipboardService
Returns a Transferable object representing the current contents of the clipboard.
getDefaultPage() - Method in interface javax.jnlp.PrintService
Creates a new PageFormat instance and sets it to the default size and orientation.
getDefaultProgressWindow() - Method in interface javax.jnlp.DownloadService
Return a default DownloadServiceListener implementation which, when passed to a load method, should pop up and update a progress window as the load progresses.
getExpirationDate() - Method in class javax.jnlp.DownloadService2.ResourceSpec
Returns the time of expiration of the resource.
getExtensionLocation() - Method in interface javax.jnlp.ExtensionInstallerService
Returns the location of the extension being installed
getExtensionVersion() - Method in interface javax.jnlp.ExtensionInstallerService
Returns the version of the extension being installed
getFilePointer() - Method in interface javax.jnlp.JNLPRandomAccessFile
Returns the current offset in this file.
getInputStream() - Method in interface javax.jnlp.FileContents
Gets an InputStream from the file.
getInstalledJRE(URL, String) - Method in interface javax.jnlp.ExtensionInstallerService
Returns the path to the executable for the given JRE.
getInstallPath() - Method in interface javax.jnlp.ExtensionInstallerService
Returns the directory where the installer is recommended to install the extension in.
getLastModified() - Method in class javax.jnlp.DownloadService2.ResourceSpec
Returns the time of last modification of the resource.
getLength() - Method in interface javax.jnlp.FileContents
Gets the length of the file.
getMaxLength() - Method in interface javax.jnlp.FileContents
Gets the maximum file length for the file, as set by the creator of this object.
getName() - Method in interface javax.jnlp.FileContents
Gets the file name as a String.
getNames(URL) - Method in interface javax.jnlp.PersistenceService
Returns an array of Strings containing the names of all the entries for a given URL.
getOutputStream(boolean) - Method in interface javax.jnlp.FileContents
Gets an OutputStream to the file.
getRandomAccessFile(String) - Method in interface javax.jnlp.FileContents
Returns a JNLPRandomAccessFile representing a random access interface to the file's contents.
getServiceNames() - Static method in class javax.jnlp.ServiceManager
Returns the names of all services implemented by the JNLP Client.
getServiceNames() - Method in interface javax.jnlp.ServiceManagerStub
getSize() - Method in class javax.jnlp.DownloadService2.ResourceSpec
Returns the size of a resource.
getTag(URL) - Method in interface javax.jnlp.PersistenceService
Returns an int corresponding to the current value of the tag for the persistent data store entry associated with the given URL.
getType() - Method in class javax.jnlp.DownloadService2.ResourceSpec
Returns the type of this resource.
getUpdateAvailableResources(DownloadService2.ResourceSpec) - Method in interface javax.jnlp.DownloadService2
Returns all resources in the cache that match one of the specified resource specs AND have an update available from their server.
getUrl() - Method in class javax.jnlp.DownloadService2.ResourceSpec
Returns the URL of this resource.
getVersion() - Method in class javax.jnlp.DownloadService2.ResourceSpec
Returns the version of this resource.

H

hasAssociation(String, String[]) - Method in interface javax.jnlp.IntegrationService
Checks if this application is associated with the specified mimetype and filename extensions.
hasDesktopShortcut() - Method in interface javax.jnlp.IntegrationService
Checks if the application has a desktop shortcut.
hasMenuShortcut() - Method in interface javax.jnlp.IntegrationService
Checks if the application has a menu shortcut.
hideProgressBar() - Method in interface javax.jnlp.ExtensionInstallerService
Hides the progress bar.
hideStatusWindow() - Method in interface javax.jnlp.ExtensionInstallerService
Hides the status window.

I

IMAGE - Static variable in interface javax.jnlp.DownloadService2
installFailed() - Method in interface javax.jnlp.ExtensionInstallerService
This should be invoked if the install fails.
installSucceeded(boolean) - Method in interface javax.jnlp.ExtensionInstallerService
Installers should invoke this upon a succesful installation of the extension.
IntegrationService - Interface in javax.jnlp
Provides desktop integration for JNLP applications.
isExtensionPartCached(URL, String, String) - Method in interface javax.jnlp.DownloadService
Returns true if the given part of the given extension is cached, and the extension and part are mentioned in the JNLP file for the application.
isExtensionPartCached(URL, String, String[]) - Method in interface javax.jnlp.DownloadService
Returns true if the given parts of the given extension are cached, and the extension and parts are mentioned in the JNLP file for the application.
isOffline() - Method in interface javax.jnlp.BasicService
Determines if the system is offline.
isPartCached(String) - Method in interface javax.jnlp.DownloadService
Returns true if the part referred to by the given string is cached, and that part is mentioned in the JNLP file for the application.
isPartCached(String[]) - Method in interface javax.jnlp.DownloadService
Returns true if the parts referred to by the given array are cached, and those parts are mentioned in the JNLP file for the application.
isResourceCached(URL, String) - Method in interface javax.jnlp.DownloadService
Returns true if the resource referred to by the given URL and version is cached, and that resource is either mentioned in the calling applications JNLP file, is within the codebase of the calling applications JNLP file, or the calling application has been granted all-permissions.
isWebBrowserSupported() - Method in interface javax.jnlp.BasicService
Checks if a Web browser is supported on the current platform and by the given JNLP Client.

J

JAR - Static variable in interface javax.jnlp.DownloadService2
javax.jnlp - package javax.jnlp
The JNLP API is designed to provide additional services to JNLP applications running in the Java Plugin or launched by Java Web Start.
JNLPRandomAccessFile - Interface in javax.jnlp
Instances of this class support both reading and writing to a random access file.

L

length() - Method in interface javax.jnlp.JNLPRandomAccessFile
Returns the length of this file.
loadExtensionPart(URL, String, String, DownloadServiceListener) - Method in interface javax.jnlp.DownloadService
Downloads the given part of the given extension, if the part and the extension are mentioned in the JNLP file for the application.
loadExtensionPart(URL, String, String[], DownloadServiceListener) - Method in interface javax.jnlp.DownloadService
Downloads the given parts of the given extension, if the parts and the extension are mentioned in the JNLP file for the application.
loadPart(String, DownloadServiceListener) - Method in interface javax.jnlp.DownloadService
Downloads the given part, if the part is mentioned in the JNLP file for the application.
loadPart(String[], DownloadServiceListener) - Method in interface javax.jnlp.DownloadService
Downloads the given parts, if the parts are mentioned in the JNLP file for the application.
loadResource(URL, String, DownloadServiceListener) - Method in interface javax.jnlp.DownloadService
Downloads the given resource, if the resource is either mentioned in the calling applications JNLP file, is within the codebase of the calling applications JNLP file, or if the calling application has been granted all-permissions.
lookup(String) - Static method in class javax.jnlp.ServiceManager
Asks the JNLP Client for a service with a given name.
lookup(String) - Method in interface javax.jnlp.ServiceManagerStub

N

newActivation(String[]) - Method in interface javax.jnlp.SingleInstanceListener
This method should be implemented by the application to handle the single instance behaviour - how should the application handle the arguments when another instance of the application is invoked with params.

O

openFile(File) - Method in interface javax.jnlp.ExtendedService
Allows the application to open the specified file, even if the application is running in the untrusted execution environment.
openFileDialog(String, String[]) - Method in interface javax.jnlp.FileOpenService
Asks the user to choose a single file.
openFiles(File[]) - Method in interface javax.jnlp.ExtendedService
Allows the application to open the specified files, even if the application is running in the untrusted execution environment.
openMultiFileDialog(String, String[]) - Method in interface javax.jnlp.FileOpenService
Asks the user to choose one or more files.

P

PersistenceService - Interface in javax.jnlp
PersistenceService provides methods for storing data locally on the client system, even for applications that are running in the untrusted execution environment.
print(Pageable) - Method in interface javax.jnlp.PrintService
Prints a document using the given Pageable object
print(Printable) - Method in interface javax.jnlp.PrintService
Prints a document using the given Printable object
PrintService - Interface in javax.jnlp
PrintService provides methods for access to printing functions, even for applications that are running in the untrusted execution environment.
progress(URL, String, long, long, int) - Method in interface javax.jnlp.DownloadServiceListener
A JNLP client's DownloadService implementation should call this method several times during a download.

R

read() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a byte of data from this file.
read(byte[], int, int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads up to len bytes of data from this file into an array of bytes.
read(byte[]) - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads up to b.length bytes of data from this file into an array of bytes.
readBoolean() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a boolean from this file.
readByte() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a signed eight-bit value from this file.
readChar() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a Unicode character from this file.
readDouble() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a double from this file.
readFloat() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a float from this file.
readFully(byte[]) - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads b.length bytes from this file into the byte array, starting at the current file pointer.
readFully(byte[], int, int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads exactly len bytes from this file into the byte array, starting at the current file pointer.
readInt() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a signed 32-bit integer from this file.
readLine() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads the next line of text from this file.
readLong() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a signed 64-bit integer from this file.
readShort() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads a signed 16-bit number from this file.
readUnsignedByte() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads an unsigned eight-bit number from this file.
readUnsignedShort() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads an unsigned 16-bit number from this file.
readUTF() - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads in a string from this file.
removeAssociation(String, String[]) - Method in interface javax.jnlp.IntegrationService
Remove an association for this application as handler for the specified mimetype.
removeExtensionPart(URL, String, String) - Method in interface javax.jnlp.DownloadService
Removes the given part of the given extension from the cache, if the part and the extension are mentioned in the JNLP file for the application.
removeExtensionPart(URL, String, String[]) - Method in interface javax.jnlp.DownloadService
Removes the given parts of the given extension from the cache, if the parts and the extension are mentioned in the JNLP file for the application.
removePart(String) - Method in interface javax.jnlp.DownloadService
Removes the given part from the cache, if the part is mentioned in the JNLP file for the application.
removePart(String[]) - Method in interface javax.jnlp.DownloadService
Removes the given parts from the cache, if the parts are mentioned in the JNLP file for the application.
removeResource(URL, String) - Method in interface javax.jnlp.DownloadService
Removes the given resource from the cache, if the resource is either mentioned in the calling applications JNLP file, is within the codebase of the calling applications JNLP file, or if the calling application has been granted all-permissions.
removeShortcuts() - Method in interface javax.jnlp.IntegrationService
Requests that all shortcuts for the application are removed.
removeSingleInstanceListener(SingleInstanceListener) - Method in interface javax.jnlp.SingleInstanceService
Removes the specified SingleInstanceListener.
requestAssociation(String, String[]) - Method in interface javax.jnlp.IntegrationService
Requests that this application is registered as the handler for the specified mime type and filename extensions.
requestShortcut(boolean, boolean, String) - Method in interface javax.jnlp.IntegrationService
Requests that a shortcut is created for this application.
ResourceSpec(String, String, int) - Constructor for class javax.jnlp.DownloadService2.ResourceSpec
Creates a new ResourceSpec instance.

S

saveAsFileDialog(String, String[], FileContents) - Method in interface javax.jnlp.FileSaveService
Asks the users to save a file.
saveFileDialog(String, String[], InputStream, String) - Method in interface javax.jnlp.FileSaveService
Asks the users to save a file.
seek(long) - Method in interface javax.jnlp.JNLPRandomAccessFile
Sets the file-pointer offset, measured from the beginning of this file, at which the next read or write occurs.
ServiceManager - Class in javax.jnlp
The ServiceManager provides static methods to lookup JNLP services.
ServiceManagerStub - Interface in javax.jnlp
A ServiceManagerStub object implements the particular lookup of JNLP services by the JNLP Client.
setContents(Transferable) - Method in interface javax.jnlp.ClipboardService
Sets the current contents of the clipboard to the specified Transferable object.
setHeading(String) - Method in interface javax.jnlp.ExtensionInstallerService
Updates the status of the installer process.
setJREInfo(String, String) - Method in interface javax.jnlp.ExtensionInstallerService
Informs the JNLP Client of the path to the executable for the JRE, if this is an installer for a JRE, and about platform-version this JRE implements.
setLength(long) - Method in interface javax.jnlp.JNLPRandomAccessFile
Sets the length of this file.
setMaxLength(long) - Method in interface javax.jnlp.FileContents
Sets the maximum file length for the file.
setNativeLibraryInfo(String) - Method in interface javax.jnlp.ExtensionInstallerService
Informs the JNLP Client of a directory where it should search for native libraries.
setServiceManagerStub(ServiceManagerStub) - Static method in class javax.jnlp.ServiceManager
Sets the object that all lookup and getServiceNames requests are delegated to.
setStatus(String) - Method in interface javax.jnlp.ExtensionInstallerService
Updates the status of the installer process.
setTag(URL, int) - Method in interface javax.jnlp.PersistenceService
Tags the persistent data store entry associated with the given URL with the given tag value.
showDocument(URL) - Method in interface javax.jnlp.BasicService
Directs a browser on the client to show the given URL.
showPageFormatDialog(PageFormat) - Method in interface javax.jnlp.PrintService
Displays a dialog that allows modification of a PageFormat instance.
SingleInstanceListener - Interface in javax.jnlp
SingleInstanceListener is a interface which should be implemented by a JNLP application if they wish to support single instance behaviour.
SingleInstanceService - Interface in javax.jnlp
SingleInstanceService allow applications launched under Java Web Start to register themselves as singletons, and to be passed in new parameter sets when user attempts to launch new instances of them.
skipBytes(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Attempts to skip over n bytes of input discarding the skipped bytes.

T

TEMPORARY - Static variable in interface javax.jnlp.PersistenceService
 

U

UnavailableServiceException - Exception in javax.jnlp
The UnavailableServiceException is thrown by the ServiceManager when a non-existing or unavailable service is looked up.
UnavailableServiceException() - Constructor for exception javax.jnlp.UnavailableServiceException
Constructs an UnavailableServiceException with null as its error detail message.
UnavailableServiceException(String) - Constructor for exception javax.jnlp.UnavailableServiceException
Constructs an UnavailableServiceException with the specified detail message.
updateProgress(int) - Method in interface javax.jnlp.ExtensionInstallerService
Updates the progress bar.
upgradingArchive(URL, String, int, int) - Method in interface javax.jnlp.DownloadServiceListener
A JNLP client's DownloadService implementation should call this method at least several times when applying an incremental update to an in-cache resource.

V

validating(URL, String, long, long, int) - Method in interface javax.jnlp.DownloadServiceListener
A JNLP client's DownloadService implementation should call this method at least several times during validation of a download.

W

write(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes the specified byte to this file.
write(byte[]) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes b.length bytes from the specified byte array to this file, starting at the current file pointer.
write(byte[], int, int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes len bytes from the specified byte array starting at offset off to this file.
writeBoolean(boolean) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a boolean to the file as a one-byte value.
writeByte(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a byte to the file as a one-byte value.
writeBytes(String) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes the string to the file as a sequence of bytes.
writeChar(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a char to the file as a two-byte value, high byte first.
writeChars(String) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a string to the file as a sequence of characters.
writeDouble(double) - Method in interface javax.jnlp.JNLPRandomAccessFile
Converts the double argument to a long using the doubleToLongBits method in class Double, and then writes that long value to the file as an eight-byte quantity, high byte first.
writeFloat(float) - Method in interface javax.jnlp.JNLPRandomAccessFile
Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the file as a four-byte quantity, high byte first.
writeInt(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes an int to the file as four bytes, high byte first.
writeLong(long) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a long to the file as eight bytes, high byte first.
writeShort(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a short to the file as two bytes, high byte first.
writeUTF(String) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes a string to the file using UTF-8 encoding in a machine-independent manner.
A B C D E F G H I J L N O P R S T U V W 
Skip navigation links

Copyright © 1998, 2024, Oracle and/or its affiliates. All rights reserved.