B C D E F G H I J L O P R S T U V W

B

BasicService - interface javax.jnlp.BasicService.
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.
ClipboardService - interface javax.jnlp.ClipboardService.
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 javax.jnlp.DownloadService.
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.
DownloadServiceListener - interface javax.jnlp.DownloadServiceListener.
The DownloadServiceListener provides an interface for a callback object implementation, which may be used by a DownloadService implementation.

E

ExtensionInstallerService - interface javax.jnlp.ExtensionInstallerService.
The ExtensionInstallerService is used by an extension installer to communicate with the JNLP Client.

F

FileContents - interface javax.jnlp.FileContents.
FileContents objects encapsulate the name and contents of a file.
FileOpenService - interface javax.jnlp.FileOpenService.
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 javax.jnlp.FileSaveService.
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.
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.
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.
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() - Method in interface javax.jnlp.ServiceManagerStub
See description for ServiceManager.getServiceNames()
getServiceNames() - Static method in class javax.jnlp.ServiceManager
Returns the names of all services implemented by the JNLP Client.
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.

H

hideProgressBar() - Method in interface javax.jnlp.ExtensionInstallerService
Hides the progress bar.
hideStatusWindow() - Method in interface javax.jnlp.ExtensionInstallerService
Hides the status window.

I

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.
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 mentioned in the JNLP file for the application.
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

javax.jnlp - package javax.jnlp
 
JNLPRandomAccessFile - interface javax.jnlp.JNLPRandomAccessFile.
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 parts of the given extension, if the parts 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 part of the given extension, if the part and the extension are 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.
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.
loadResource(URL, String, DownloadServiceListener) - Method in interface javax.jnlp.DownloadService
Downloads the given resource, if the resource is mentioned in the JNLP file for the application.
lookup(String) - Method in interface javax.jnlp.ServiceManagerStub
See description for ServiceManager.lookup(java.lang.String)
lookup(String) - Static method in class javax.jnlp.ServiceManager
Asks the JNLP Client for a service with a given name.

O

openFileDialog(String, String[]) - Method in interface javax.jnlp.FileOpenService
Asks the user to choose a single file.
openMultiFileDialog(String, String[]) - Method in interface javax.jnlp.FileOpenService
Asks the user to choose one or more files.

P

PersistenceService - interface javax.jnlp.PersistenceService.
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 javax.jnlp.PrintService.
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[]) - Method in interface javax.jnlp.JNLPRandomAccessFile
Reads up to b.length bytes of data from this file into an array of bytes.
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.
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.
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 mentioned in the JNLP file for the application.

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 javax.jnlp.ServiceManager.
The ServiceManager provides static methods to lookup JNLP services.
ServiceManagerStub - interface javax.jnlp.ServiceManagerStub.
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.
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 javax.jnlp.UnavailableServiceException.
The UnavailableServiceException is thrown by the ServiceManager when a non-existing or unavailable service is looked up.
UnavailableServiceException() - Constructor for class javax.jnlp.UnavailableServiceException
Constructs an UnavailableServiceException with null as its error detail message.
UnavailableServiceException(String) - Constructor for class 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(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.
write(int) - Method in interface javax.jnlp.JNLPRandomAccessFile
Writes the specified byte 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.

B C D E F G H I J L O P R S T U V W

Copyright (c) 2001-2002 Sun Microsystems, Inc. All Rights Reserved