- 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.
- 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.
- 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.
- 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.
- 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.