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

A

AbortPanel - Class in com.threerings.getdown.launcher
Displays a confirmation that the user wants to abort installation.
AbortPanel(Getdown, ResourceBundle) - Constructor for class com.threerings.getdown.launcher.AbortPanel
 
actionPerformed(ActionEvent) - Method in class com.threerings.getdown.launcher.AbortPanel
 
actionPerformed(ActionEvent) - Method in class com.threerings.getdown.launcher.ProxyPanel
 
addNotify() - Method in class com.threerings.getdown.launcher.ProxyPanel
 
addNotify() - Method in class com.threerings.getdown.launcher.StatusPanel
 
allowConnect - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
Indicates whether Getdown should allow the launched app to connect to it through a server socket bound to localhost on any available port in order to allow interaction with JavaScript code on the page containing the applet.
allowOffline() - Method in class com.threerings.getdown.data.Application
Returns true if the app should attempt to run even if we have no Internet connection.
APPARG_PREFIX - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
A property specifying the names of additional appargs properties.
appargs - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
Additional appargs to supply to the launching app.
appBase() - Static method in class com.threerings.getdown.data.SysProps
Configures the appbase (in lieu of providing a skeleton getdown.txt, and as a last resort fallback).
APPBASE - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
appbase - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
appbaseDomain() - Static method in class com.threerings.getdown.data.SysProps
Overrides the domain on appbase.
appDir() - Static method in class com.threerings.getdown.data.SysProps
Configures the appdir (in lieu of passing it in argv).
appdir - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
appId() - Static method in class com.threerings.getdown.data.SysProps
Configures the appid (in lieu of passing it in argv).
AppletParamSigner - Class in com.threerings.getdown.tools
Produces a signed hash of the appbase, appname, and image path to ensure that signed copies of Getdown are not hijacked to run malicious code.
AppletParamSigner() - Constructor for class com.threerings.getdown.tools.AppletParamSigner
 
Application - Class in com.threerings.getdown.data
Parses and provide access to the information contained in the getdown.txt configuration file.
Application(File, String) - Constructor for class com.threerings.getdown.data.Application
Creates an application instance with no signers.
Application(File, String, List<Certificate>, String[], String[]) - Constructor for class com.threerings.getdown.data.Application
Creates an application instance which records the location of the getdown.txt configuration file from the supplied application directory.
Application.AuxGroup - Class in com.threerings.getdown.data
Contains metadata for an auxiliary resource group.
Application.StatusDisplay - Interface in com.threerings.getdown.data
Used by Application.verifyMetadata(com.threerings.getdown.data.Application.StatusDisplay) to communicate status in circumstances where it needs to take network actions.
Application.UpdateInterface - Class in com.threerings.getdown.data
Used to communicate information about the UI displayed when updating the application.
Application.UpdateInterface.Step - Enum in com.threerings.getdown.data
The major steps involved in updating, along with some arbitrary percentages assigned to them, to mark global progress.
APPNAME - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
appname - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
attemptRecovery(Application.StatusDisplay) - Method in class com.threerings.getdown.data.Application
Attempts to redownload the getdown.txt file based on information parsed from a previous call to Application.init(boolean).
AuxGroup(String, List<Resource>, List<Resource>) - Constructor for class com.threerings.getdown.data.Application.AuxGroup
 

B

background - Variable in class com.threerings.getdown.data.Application.UpdateInterface
A background color, just in case.
backgroundImage - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The path (relative to the appdir) to a single background image.
BGIMAGE - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 

C

clearMarker() - Method in class com.threerings.getdown.data.Resource
Removes any "validated" marker file associated with this resource.
clearValidationMarkers() - Method in class com.threerings.getdown.data.Application
Clears all validation marker files.
codes - Variable in class com.threerings.getdown.data.Application.AuxGroup
 
com.threerings.getdown - package com.threerings.getdown
 
com.threerings.getdown.data - package com.threerings.getdown.data
 
com.threerings.getdown.launcher - package com.threerings.getdown.launcher
 
com.threerings.getdown.net - package com.threerings.getdown.net
 
com.threerings.getdown.tools - package com.threerings.getdown.tools
 
com.threerings.getdown.util - package com.threerings.getdown.util
 
computeDigest(MessageDigest, ProgressObserver) - Method in class com.threerings.getdown.data.Resource
Computes the MD5 hash of this resource's underlying file.
computeDigest(File, MessageDigest, ProgressObserver) - Static method in class com.threerings.getdown.data.Resource
Computes the MD5 hash of the supplied file.
config(Getdown) - Method in class com.threerings.getdown.launcher.GetdownAppletConfig
Sets getdown status panel size and text color from applet params.
CONFIG_FILE - Static variable in class com.threerings.getdown.data.Application
The name of our configuration file.
configureProxy(String, String) - Method in class com.threerings.getdown.launcher.Getdown
Configures our proxy settings (called by ProxyPanel) and fires up the launcher.
ConfigUtil - Class in com.threerings.getdown.util
Parses a file containing key/value pairs and returns a HashMap with the values.
ConfigUtil() - Constructor for class com.threerings.getdown.util.ConfigUtil
 
CONNECT - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
CONNECT_PORT - Static variable in class com.threerings.getdown.data.Properties
If accepting connections from the launched application, this property will be set to the connection server port.
ConnectionUtil - Class in com.threerings.getdown.util
 
ConnectionUtil() - Constructor for class com.threerings.getdown.util.ConnectionUtil
 
connectTimeout() - Static method in class com.threerings.getdown.data.SysProps
Specifies the connection timeout (in seconds) to use when downloading control files from the server.
CREATE - Static variable in class com.threerings.getdown.tools.Patcher
A suffix appended to file names to indicate that a file should be newly created.
createDiff(File, File, boolean) - Method in class com.threerings.getdown.tools.Differ
Creates a single patch file that contains the differences between the two specified application directories.
createDigest(List<Resource>, File) - Static method in class com.threerings.getdown.data.Digest
Creates a digest file at the specified location using the supplied list of resources.
createDigest(File) - Static method in class com.threerings.getdown.tools.Digester
Creates a digest file in the specified application directory.
createPatch(String, String, OutputStream, boolean) - Static method in class com.threerings.getdown.tools.JarDiff
Creates a patch from the two passed in files, writing the result to os.
createProcess(boolean) - Method in class com.threerings.getdown.data.Application
Invokes the process associated with this application definition.

D

defaultPercents - Variable in enum com.threerings.getdown.data.Application.UpdateInterface.Step
What is the final percent value for this step?
DELETE - Static variable in class com.threerings.getdown.tools.Patcher
A suffix appended to file names to indicate that a file should be deleted.
destroy() - Method in class com.threerings.getdown.launcher.GetdownApplet
 
Differ - Class in com.threerings.getdown.tools
Generates patch files between two particular revisions of an application.
Differ() - Constructor for class com.threerings.getdown.tools.Differ
 
Digest - Class in com.threerings.getdown.data
Manages the digest.txt file and the computing and processing of MD5 digests for an application.
Digest(File) - Constructor for class com.threerings.getdown.data.Digest
Creates a digest instance which will parse and validate the digest.txt in the supplied application directory.
DIGEST_FILE - Static variable in class com.threerings.getdown.data.Digest
The name of our MD5 digest file.
Digester - Class in com.threerings.getdown.tools
Handles the generation of the digest.txt file.
Digester() - Constructor for class com.threerings.getdown.tools.Digester
 
DigesterTask - Class in com.threerings.getdown.tools
An ant task used to create a digest.txt for a Getdown application deployment.
DigesterTask() - Constructor for class com.threerings.getdown.tools.DigesterTask
 
direct() - Static method in class com.threerings.getdown.data.SysProps
If true, Getdown will run the application in the same VM in which Getdown is running.
DIRECT - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
download() - Method in class com.threerings.getdown.net.Downloader
Start downloading the resources in this downloader.
DownloadAbortedException - Exception in com.threerings.getdown.net
Used to terminate the download process in its midst.
DownloadAbortedException() - Constructor for exception com.threerings.getdown.net.DownloadAbortedException
 
Downloader - Class in com.threerings.getdown.net
Handles the download of a collection of files, first issuing HTTP head requests to obtain size information and then downloading the files individually, reporting progress back via a callback interface.
Downloader(List<Resource>, Downloader.Observer) - Constructor for class com.threerings.getdown.net.Downloader
Creates a downloader that will download the supplied list of resources and communicate with the specified observer.
Downloader.Observer - Interface in com.threerings.getdown.net
An interface used to communicate status back to an external entity.
downloadFailed(Resource, Exception) - Method in interface com.threerings.getdown.net.Downloader.Observer
Called if a failure occurs while checking for an update or downloading a file.
downloadProgress(int, long) - Method in interface com.threerings.getdown.net.Downloader.Observer
Called to inform the observer of ongoing progress toward completion of the overall downloading task.

E

equals(Object) - Method in class com.threerings.getdown.data.Resource
 
erase() - Method in class com.threerings.getdown.data.Resource
Wipes this resource file along with any "validated" marker file that may be associated with it.
errorBackground - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The error background image for RotatingBackgrounds.
ERRORBGIMAGE - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
errorimgpath - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
The error background image
execute() - Method in class com.threerings.getdown.tools.DigesterTask
Performs the actual work of the task.

F

FileUtil - Class in com.threerings.getdown.util
File related utilities.
FileUtil() - Constructor for class com.threerings.getdown.util.FileUtil
 

G

getActiveCodeResources() - Method in class com.threerings.getdown.data.Application
Returns all main code resources and all code resources from active auxiliary resource groups.
getActiveResources() - Method in class com.threerings.getdown.data.Application
Returns all non-code resources and all resources from active auxiliary resource groups.
getAllActiveResources() - Method in class com.threerings.getdown.data.Application
Returns a list of all the active Resource objects used by this application (code and non-code).
getAuxGroup(String) - Method in class com.threerings.getdown.data.Application
Returns the auxiliary resource group with the specified name, or null.
getAuxGroups() - Method in class com.threerings.getdown.data.Application
Returns the set of all auxiliary resource groups defined by the application.
getBackgroundImages(ImageLoader) - Method in class com.threerings.getdown.launcher.GetdownAppletConfig
Gets the rotation background images and error image.The given image loader will be used if the images have not been loaded yet.
getBackgroundImages(String, String, ImageLoader) - Static method in class com.threerings.getdown.launcher.GetdownAppletConfig
Gets the rotation background images and error image.The given image loader will be used if the images have not been loaded yet.
getCodeResources() - Method in class com.threerings.getdown.data.Application
Returns a list of the code Resource objects used by this application.
getConfigResource() - Method in class com.threerings.getdown.data.Application
Returns a resource that refers to the application configuration file itself.
GETDOWN - Static variable in class com.threerings.getdown.data.Properties
This property will be set to "true" on the application when it is being run by getdown.
Getdown - Class in com.threerings.getdown.launcher
Manages the main control for the Getdown application updater and deployment system.
Getdown(File, String) - Constructor for class com.threerings.getdown.launcher.Getdown
 
Getdown(File, String, List<Certificate>, String[], String[]) - Constructor for class com.threerings.getdown.launcher.Getdown
 
GetdownApp - Class in com.threerings.getdown.launcher
The main application entry point for Getdown.
GetdownApp() - Constructor for class com.threerings.getdown.launcher.GetdownApp
 
GetdownApplet - Class in com.threerings.getdown.launcher
An applet that can be used to launch a Getdown application (when signed and given privileges).
GetdownApplet() - Constructor for class com.threerings.getdown.launcher.GetdownApplet
 
GetdownAppletConfig - Class in com.threerings.getdown.launcher
 
GetdownAppletConfig(JApplet) - Constructor for class com.threerings.getdown.launcher.GetdownAppletConfig
 
GetdownAppletConfig(JApplet, String) - Constructor for class com.threerings.getdown.launcher.GetdownAppletConfig
 
getErrorImage() - Method in class com.threerings.getdown.launcher.RotatingBackgrounds
Returns the image to display if an error has caused getdown to fail.
getFinalTarget() - Method in class com.threerings.getdown.data.Resource
Returns the final target of this resource, whether it has been unpacked or not.
getFullResource() - Method in class com.threerings.getdown.data.Application
Returns a resource that can be used to download an archive containing all files belonging to the application.
getImage(int) - Method in class com.threerings.getdown.launcher.RotatingBackgrounds
 
getJavaVMResource() - Method in class com.threerings.getdown.data.Application
Returns a resource for a zip file containing a Java VM that can be downloaded to use in place of the installed VM (in the case where the VM that launched Getdown does not meet the application's version requirements) or null if no VM is available for this platform.
getJVMPath(File) - Static method in class com.threerings.getdown.util.LaunchUtil
Reconstructs the path to the JVM used to launch this process.
getJVMPath(File, boolean) - Static method in class com.threerings.getdown.util.LaunchUtil
Reconstructs the path to the JVM used to launch this process.
getLocal() - Method in class com.threerings.getdown.data.Resource
Returns the local location of this resource.
getLocalPath(String) - Method in class com.threerings.getdown.data.Application
Returns the local path to the specified resource.
getMessageDigest() - Static method in class com.threerings.getdown.data.Digest
Obtains an appropriate message digest instance for use by the Getdown system.
getMetaDigest() - Method in class com.threerings.getdown.data.Digest
Returns the digest for the digest file.
getMultiValue(Map<String, Object>, String) - Static method in class com.threerings.getdown.util.ConfigUtil
Massages a single string into an array and leaves existing array values as is.
getNumImages() - Method in class com.threerings.getdown.launcher.RotatingBackgrounds
 
getParameter(String) - Method in class com.threerings.getdown.launcher.GetdownAppletConfig
Gets the value of the named parameter.
getParameter(String, String) - Method in class com.threerings.getdown.launcher.GetdownAppletConfig
Gets the value of an optional Applet parameter.
getPatchResource(String) - Method in class com.threerings.getdown.data.Application
Returns a resource that can be used to download a patch file that will bring this application from its current version to the target version.
getPath() - Method in class com.threerings.getdown.data.Resource
Returns the path associated with this resource.
getPreferredSize() - Method in class com.threerings.getdown.launcher.AbortPanel
 
getPreferredSize() - Method in class com.threerings.getdown.launcher.ProxyPanel
 
getPreferredSize() - Method in class com.threerings.getdown.launcher.StatusPanel
 
getRemote() - Method in class com.threerings.getdown.data.Resource
Returns the remote location of this resource.
getRemoteURL(String) - Method in class com.threerings.getdown.data.Application
Returns a URL from which the specified path can be fetched.
getResources() - Method in class com.threerings.getdown.data.Application
Returns a list of the non-code Resource objects used by this application.
getTrackingCookieName() - Method in class com.threerings.getdown.data.Application
Returns the name of our tracking cookie or null if it was not set.
getTrackingCookieProperty() - Method in class com.threerings.getdown.data.Application
Returns the name of our tracking cookie system property or null if it was not set.
getTrackingProgressURL(int) - Method in class com.threerings.getdown.data.Application
Returns the URL to request to report that we have reached the specified percentage of our initial download.
getTrackingURL(String) - Method in class com.threerings.getdown.data.Application
Returns the URL to use to report an initial download event.
getUnpacked() - Method in class com.threerings.getdown.data.Resource
Returns the location of the unpacked resource.
getVersion() - Method in class com.threerings.getdown.data.Application
Returns the version number for the application.

H

hashCode() - Method in class com.threerings.getdown.data.Resource
 
hasOptimumJvmArgs() - Method in class com.threerings.getdown.data.Application
Checks whether the app has a set of "optimum" JVM args that we wish to try first, detecting whether the launch is successful and, if necessary, trying again without the optimum arguments.
haveValidJavaVersion() - Method in class com.threerings.getdown.data.Application
Returns true if we either have no version requirement, are running in a JVM that meets our version requirements or have what appears to be a version of the JVM that meets our requirements.
hideDecorations - Variable in class com.threerings.getdown.data.Application.UpdateInterface
Whether window decorations are hidden for the UI.
hideProgressText - Variable in class com.threerings.getdown.data.Application.UpdateInterface
Whether progress text should be hidden or not.
HTTPDownloader - Class in com.threerings.getdown.net
Implements downloading files over HTTP
HTTPDownloader(List<Resource>, Downloader.Observer) - Constructor for class com.threerings.getdown.net.HTTPDownloader
 

I

iconImages - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The paths (relative to the appdir) of images for the window icon.
ImageLoader - Interface in com.threerings.getdown.launcher
Abstracts away the process of loading an image so that it can be done differently in the app and applet.
imageUpdate(Image, int, int, int, int, int) - Method in class com.threerings.getdown.launcher.StatusPanel
 
imgpath - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
The list of background images and their display time
INDEX_NAME - Static variable in interface com.threerings.getdown.tools.JarDiffCodes
The name of the jardiff control file.
init(boolean) - Method in class com.threerings.getdown.data.Application
Instructs the application to parse its getdown.txt configuration and prepare itself for operation.
init() - Method in class com.threerings.getdown.launcher.GetdownApplet
 
init() - Method in class com.threerings.getdown.launcher.GetdownAppletConfig
Does all the fiddly initialization of Getdown and throws an exception if something goes horribly wrong.
init(Application.UpdateInterface, RotatingBackgrounds, Image) - Method in class com.threerings.getdown.launcher.StatusPanel
 
installerFileContents - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
installError - Variable in class com.threerings.getdown.data.Application.UpdateInterface
Where to point the user for help with install errors.
intsToList(int[]) - Static method in class com.threerings.getdown.data.Application
Make an immutable List from the specified int array.
invokeDirect(JApplet) - Method in class com.threerings.getdown.data.Application
Runs this application directly in the current VM.
invokeDirect - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
Indicates whether the downloaded app should be launched in the parent applet (true) or as a separate java process (false).
isAuxGroupActive(String) - Method in class com.threerings.getdown.data.Application
Returns true if the specified auxgroup has been "activated", false if not.
isMarkedValid() - Method in class com.threerings.getdown.data.Resource
Returns true if this resource has an associated "validated" marker file.

J

JarDiff - Class in com.threerings.getdown.tools
JarDiff is able to create a jar file containing the delta between two jar files (old and new).
JarDiff() - Constructor for class com.threerings.getdown.tools.JarDiff
 
JarDiffCodes - Interface in com.threerings.getdown.tools
Constants shared by JarDiff and JarDiffPatcher.
JarDiffPatcher - Class in com.threerings.getdown.tools
Applies a jardiff patch to a jar file.
JarDiffPatcher() - Constructor for class com.threerings.getdown.tools.JarDiffPatcher
 
JVMARG_PREFIX - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
Used to specify the names of additional jvmargs properties.
jvmargs - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
Additional jvmargs to supply to the launching app.

L

launchInSilent() - Static method in class com.threerings.getdown.data.SysProps
If true, Getdown installs the app without ever bringing up a UI and then launches it.
LaunchUtil - Class in com.threerings.getdown.util
Useful routines for launching Java applications from within other Java applications.
LaunchUtil() - Constructor for class com.threerings.getdown.util.LaunchUtil
 
loadImage(String) - Method in class com.threerings.getdown.launcher.Getdown
Load the image at the path.
loadImage(String) - Method in class com.threerings.getdown.launcher.GetdownApplet
 
loadImage(String) - Method in interface com.threerings.getdown.launcher.ImageLoader
Loads and returns the image with the supplied path.
LOCAL_JAVA_DIR - Static variable in class com.threerings.getdown.util.LaunchUtil
The directory into which a local VM installation should be unpacked.
lockForUpdates() - Method in class com.threerings.getdown.data.Application
 
Log - Class in com.threerings.getdown
A placeholder class that contains a reference to the log object used by the Getdown code.
Log() - Constructor for class com.threerings.getdown.Log
 
log - Static variable in class com.threerings.getdown.Log
We dispatch our log messages through this logger.

M

main(String[]) - Static method in class com.threerings.getdown.launcher.Getdown
 
main(String[]) - Static method in class com.threerings.getdown.launcher.GetdownApp
 
main(String[]) - Static method in class com.threerings.getdown.tools.AppletParamSigner
 
main(String[]) - Static method in class com.threerings.getdown.tools.Differ
 
main(String[]) - Static method in class com.threerings.getdown.tools.Digester
A command line entry point for the digester.
main(String[]) - Static method in class com.threerings.getdown.tools.Patcher
 
markAsValid() - Method in class com.threerings.getdown.data.Resource
Creates a "validated" marker file for this resource to indicate that its MD5 hash has been computed and compared with the value in the digest file.
MetaProgressObserver - Class in com.threerings.getdown.util
Accumulates the progress from a number of elements into a single smoothly progressing progress.
MetaProgressObserver(ProgressObserver, long) - Constructor for class com.threerings.getdown.util.MetaProgressObserver
 
MOVE_COMMAND - Static variable in interface com.threerings.getdown.tools.JarDiffCodes
A jardiff command to move an entry.
MultipleGetdownRunning - Exception in com.threerings.getdown.launcher
Thrown when it's detected that multiple instances of the same getdown installer are running.
MultipleGetdownRunning() - Constructor for exception com.threerings.getdown.launcher.MultipleGetdownRunning
 
mustMonitorChildren() - Static method in class com.threerings.getdown.util.LaunchUtil
Returns true if, on this operating system, we have to stick around and read the stderr from our children processes to prevent them from filling their output buffers and hanging.

N

name - Variable in class com.threerings.getdown.data.Application.AuxGroup
 
name - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The human readable name of this application.
noLogRedir() - Static method in class com.threerings.getdown.data.SysProps
If true, disables redirection of logging into launcher.log.
noUnpack() - Static method in class com.threerings.getdown.data.SysProps
If true, Getdown will not unpack uresource jars.

O

open(URL) - Static method in class com.threerings.getdown.util.ConnectionUtil
Opens a connection to a URL, setting the authentication header if user info is present.
openHttp(URL) - Static method in class com.threerings.getdown.util.ConnectionUtil
Opens a connection to a http or https URL, setting the authentication header if user info is present.

P

paintComponent(Graphics) - Method in class com.threerings.getdown.launcher.StatusPanel
 
PARAM_DELIMITER - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
parseColor(String) - Static method in class com.threerings.getdown.data.Application
Parses the given hex color value (e.g.
parseConfig(File, boolean) - Static method in class com.threerings.getdown.util.ConfigUtil
Parses a configuration file containing key/value pairs.
parseJavaVersion(String, String) - Static method in class com.threerings.getdown.data.SysProps
Parses a Java version system property using the supplied regular expression.
parseJavaVersion(String, String) - Static method in class com.threerings.getdown.util.VersionUtil
Parses versStr using versRegex into a (long) integer version number.
parsePairs(File, boolean) - Static method in class com.threerings.getdown.util.ConfigUtil
Parses a configuration file containing key/value pairs.
parsePairs(Reader, boolean) - Static method in class com.threerings.getdown.util.ConfigUtil
parseRect(String, String) - Static method in class com.threerings.getdown.data.Application
Takes a comma-separated String of four integers and returns a rectangle using those ints as the its x, y, width, and height.
PATCH - Static variable in class com.threerings.getdown.tools.Patcher
A suffix appended to file names to indicate that a file should be patched.
patch(File, File, ProgressObserver) - Method in class com.threerings.getdown.tools.Patcher
Applies the specified patch file to the application living in the specified application directory.
Patcher - Class in com.threerings.getdown.tools
Applies a unified patch file to an application directory, providing percentage completion feedback along the way.
Patcher() - Constructor for class com.threerings.getdown.tools.Patcher
 
patchJar(String, String, File, ProgressObserver) - Method in class com.threerings.getdown.tools.JarDiffPatcher
Patches the specified jar file using the supplied patch file and writing the new jar file to the supplied target.
patchNotes - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The dimensions of the patch notes button.
patchNotesUrl - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The patch notes URL.
playAgain - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The dimensions of the play again button.
playAgainImage - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The path (relative to the appdir) to a single play again image.
preInit() - Method in class com.threerings.getdown.launcher.Getdown
This is used by the applet which always needs a user interface and wants to load it as soon as possible.
progress - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The dimensions of the progress bar.
progress(int) - Method in class com.threerings.getdown.util.MetaProgressObserver
 
progress(int) - Method in interface com.threerings.getdown.util.ProgressObserver
Informs the observer that we have completed the specified percentage of the process.
progressBar - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The color of the progress bar.
progressImage - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The path (relative to the appdir) to the progress bar image.
ProgressObserver - Interface in com.threerings.getdown.util
Used to communicate progress.
progressText - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The color of the progress text.
PROP_PASSTHROUGH_PREFIX - Static variable in class com.threerings.getdown.data.Application
System properties that are prefixed with this string will be passed through to our application (minus this prefix).
Properties - Class in com.threerings.getdown.data
System property constants associated with Getdown.
Properties() - Constructor for class com.threerings.getdown.data.Properties
 
ProxyPanel - Class in com.threerings.getdown.launcher
Displays an interface with which the user can configure their proxy settings.
ProxyPanel(Getdown, ResourceBundle) - Constructor for class com.threerings.getdown.launcher.ProxyPanel
 

R

readLines(Reader) - Static method in class com.threerings.getdown.util.FileUtil
Reads the contents of the supplied input stream into a list of lines.
readReleaseVersion(File, String) - Static method in class com.threerings.getdown.util.VersionUtil
Reads and parses the version from the release file bundled with a JVM.
readVersion(File) - Static method in class com.threerings.getdown.util.VersionUtil
Reads a version number from a file.
redirect() - Method in class com.threerings.getdown.launcher.GetdownAppletConfig
Uses the Applet context to redirect the browser to a URL (intended for use when the applet is done downloading).
REDIRECT_ON_FINISH - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
REDIRECT_ON_FINISH_TARGET - Static variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
redirectTarget - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
redirectUrl - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
An optional URL to which the applet should redirect when done.
releaseLock() - Method in class com.threerings.getdown.data.Application
Release gettingdown.lock
REMOVE_COMMAND - Static variable in interface com.threerings.getdown.tools.JarDiffCodes
A jardiff command to remove an entry.
removeNotify() - Method in class com.threerings.getdown.launcher.StatusPanel
 
renameTo(File, File) - Static method in class com.threerings.getdown.util.FileUtil
Gets the specified source file to the specified destination file by hook or crook.
resolvingDownloads() - Method in interface com.threerings.getdown.net.Downloader.Observer
Called before the downloader begins the series of HTTP head requests to determine the size of the files it needs to download.
Resource - Class in com.threerings.getdown.data
Models a single file resource used by an Application.
Resource(String, URL, File, boolean) - Constructor for class com.threerings.getdown.data.Resource
Creates a resource with the supplied remote URL and local path.
rotatingBackgrounds - Variable in class com.threerings.getdown.data.Application.UpdateInterface
Background image specifiers for RotatingBackgrounds.
RotatingBackgrounds - Class in com.threerings.getdown.launcher
 
RotatingBackgrounds() - Constructor for class com.threerings.getdown.launcher.RotatingBackgrounds
Creates a placeholder if there are no images.
RotatingBackgrounds(Image) - Constructor for class com.threerings.getdown.launcher.RotatingBackgrounds
Creates a single image background.
RotatingBackgrounds(String[], String, ImageLoader) - Constructor for class com.threerings.getdown.launcher.RotatingBackgrounds
Create a sequence of images to be rotated through from backgrounds.
rsrcs - Variable in class com.threerings.getdown.data.Application.AuxGroup
 
run() - Method in class com.threerings.getdown.launcher.Getdown
 
run() - Method in class com.threerings.getdown.net.Downloader
This method is invoked as the downloader thread and performs the actual downloading.

S

sendMessage(String) - Method in class com.threerings.getdown.launcher.GetdownApplet
Attempts to send a message to the launched app.
setAlias(String) - Method in class com.threerings.getdown.tools.DigesterTask
Sets the private key alias.
setAppdir(File) - Method in class com.threerings.getdown.tools.DigesterTask
Sets the application directory.
setKeystore(File) - Method in class com.threerings.getdown.tools.DigesterTask
Sets the digest signing keystore.
setMessageCallback(JSObject) - Method in class com.threerings.getdown.launcher.GetdownApplet
Sets the JavaScript callback to invoke when a message is received from the launched app.
setProgress(int, long) - Method in class com.threerings.getdown.launcher.StatusPanel
Adjusts the progress display to the specified percentage.
setStatus(String, boolean) - Method in class com.threerings.getdown.launcher.StatusPanel
Displays the specified status string.
setStorepass(String) - Method in class com.threerings.getdown.tools.DigesterTask
Sets the keystore decryption key.
shouldUnpack() - Method in class com.threerings.getdown.data.Resource
Returns true if this resource should be unpacked as a part of the validation process.
SIGNATURE_SUFFIX - Static variable in class com.threerings.getdown.data.Application
Suffix used for control file signatures.
signDigest(File, File, String, String) - Static method in class com.threerings.getdown.tools.Digester
Creates a digest file in the specified application directory.
silent() - Static method in class com.threerings.getdown.data.SysProps
If true, Getdown installs the app without ever bringing up a UI, except in the event of an error.
start() - Method in class com.threerings.getdown.launcher.GetdownApplet
 
startDelay() - Static method in class com.threerings.getdown.data.SysProps
Specifies the a delay (in minutes) to wait before starting the update and install process.
startElement(long) - Method in class com.threerings.getdown.util.MetaProgressObserver
 
status - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The dimensions of the status display.
statusBounds - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
Optional default bounds for the status panel.
statusColor - Variable in class com.threerings.getdown.launcher.GetdownAppletConfig
 
StatusPanel - Class in com.threerings.getdown.launcher
Displays download and patching status.
StatusPanel(ResourceBundle) - Constructor for class com.threerings.getdown.launcher.StatusPanel
 
statusText - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The color of the status text.
stepPercentages - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The global percentages for each step.
stop() - Method in class com.threerings.getdown.launcher.GetdownApplet
 
stopThrob() - Method in class com.threerings.getdown.launcher.StatusPanel
Stop the throbbing.
SysProps - Class in com.threerings.getdown.data
This class encapsulates all system properties that are read and processed by Getdown.
SysProps() - Constructor for class com.threerings.getdown.data.SysProps
 

T

textShadow - Variable in class com.threerings.getdown.data.Application.UpdateInterface
The color of the text shadow.
toString() - Method in class com.threerings.getdown.data.Application.UpdateInterface
Generates a string representation of this instance.
toString() - Method in class com.threerings.getdown.data.Resource
 

U

unpack() - Method in class com.threerings.getdown.data.Resource
Unpacks this resource file into the directory that contains it.
unpackPacked200Jar(File, File) - Static method in class com.threerings.getdown.util.FileUtil
Unpacks a pack200 packed jar file from packedJar into target.
unpackResources(ProgressObserver, Set<Resource>) - Method in class com.threerings.getdown.data.Application
Unpacks the resources that require it (we know that they're valid).
UpdateInterface() - Constructor for class com.threerings.getdown.data.Application.UpdateInterface
 
updateMetadata() - Method in class com.threerings.getdown.data.Application
Downloads and replaces the getdown.txt and digest.txt files with those for the target version of our application.
updateStatus(String) - Method in interface com.threerings.getdown.data.Application.StatusDisplay
Requests that the specified status message be displayed.
updateStatus(String) - Method in class com.threerings.getdown.launcher.Getdown
 
updateVersionAndRelaunch(File, String, String) - Static method in class com.threerings.getdown.util.LaunchUtil
Writes a version.txt file into the specified application directory and attempts to relaunch Getdown in that directory which will cause it to upgrade to the newly specified version and relaunch the application.
upgradeGetdown(File, File, File) - Static method in class com.threerings.getdown.util.LaunchUtil
Upgrades Getdown by moving an installation managed copy of the Getdown jar file over the non-managed copy (which would be used to run Getdown itself).

V

validateResource(Resource, ProgressObserver) - Method in class com.threerings.getdown.data.Digest
Computes the MD5 hash of the specified resource and compares it with the value parsed from the digest file.
valueOf(String) - Static method in enum com.threerings.getdown.data.Application.UpdateInterface.Step
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.threerings.getdown.data.Application.UpdateInterface.Step
Returns an array containing the constants of this enum type, in the order they are declared.
verifyMetadata(Application.StatusDisplay) - Method in class com.threerings.getdown.data.Application
Loads the digest.txt file and verifies the contents of both that file and the getdown.text file.
verifyResources(ProgressObserver, int[], Set<Resource>) - Method in class com.threerings.getdown.data.Application
Verifies the code and media resources associated with this application.
VERSION_FILE - Static variable in class com.threerings.getdown.data.Application
The name of our target version file.
VERSION_HEADER - Static variable in interface com.threerings.getdown.tools.JarDiffCodes
The version header used in the control file.
VersionUtil - Class in com.threerings.getdown.util
Version related utilities.
VersionUtil() - Constructor for class com.threerings.getdown.util.VersionUtil
 

W

writeVersion(File, long) - Static method in class com.threerings.getdown.util.VersionUtil
Writes a version number to a file.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.