|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Resource | |
|---|---|
| com.threerings.getdown.data | |
| com.threerings.getdown.net | |
| Uses of Resource in com.threerings.getdown.data |
|---|
| Fields in com.threerings.getdown.data with type parameters of type Resource | |
|---|---|
List<Resource> |
Application.AuxGroup.codes
|
List<Resource> |
Application.AuxGroup.rsrcs
|
| Methods in com.threerings.getdown.data that return Resource | |
|---|---|
Resource |
Application.getConfigResource()
Returns a resource that refers to the application configuration file itself. |
Resource |
Application.getFullResource()
Returns a resource that can be used to download an archive containing all files belonging to the application. |
Resource |
Application.getJavaVMResource()
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. |
Resource |
Application.getPatchResource(String auxgroup)
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. |
| Methods in com.threerings.getdown.data that return types with arguments of type Resource | |
|---|---|
List<Resource> |
Application.getActiveCodeResources()
Returns all main code resources and all code resources from active auxiliary resource groups. |
List<Resource> |
Application.getActiveResources()
Returns all non-code resources and all resources from active auxiliary resource groups. |
List<Resource> |
Application.getAllActiveResources()
Returns a list of all the active Resource objects used by this application (code and
non-code). |
List<Resource> |
Application.getCodeResources()
Returns a list of the code Resource objects used by this application. |
List<Resource> |
Application.getResources()
Returns a list of the non-code Resource objects used by this application. |
List<Resource> |
Application.verifyResources(ProgressObserver obs,
int[] alreadyValid,
Set<Resource> unpacked)
Verifies the code and media resources associated with this application. |
| Methods in com.threerings.getdown.data with parameters of type Resource | |
|---|---|
boolean |
Digest.validateResource(Resource resource,
ProgressObserver obs)
Computes the MD5 hash of the specified resource and compares it with the value parsed from the digest file. |
| Method parameters in com.threerings.getdown.data with type arguments of type Resource | |
|---|---|
static void |
Digest.createDigest(List<Resource> resources,
File output)
Creates a digest file at the specified location using the supplied list of resources. |
void |
Application.unpackResources(ProgressObserver obs,
Set<Resource> unpacked)
Unpacks the resources that require it (we know that they're valid). |
List<Resource> |
Application.verifyResources(ProgressObserver obs,
int[] alreadyValid,
Set<Resource> unpacked)
Verifies the code and media resources associated with this application. |
| Constructor parameters in com.threerings.getdown.data with type arguments of type Resource | |
|---|---|
Application.AuxGroup(String name,
List<Resource> codes,
List<Resource> rsrcs)
|
|
Application.AuxGroup(String name,
List<Resource> codes,
List<Resource> rsrcs)
|
|
| Uses of Resource in com.threerings.getdown.net |
|---|
| Methods in com.threerings.getdown.net with parameters of type Resource | |
|---|---|
void |
Downloader.Observer.downloadFailed(Resource rsrc,
Exception e)
Called if a failure occurs while checking for an update or downloading a file. |
| Constructor parameters in com.threerings.getdown.net with type arguments of type Resource | |
|---|---|
Downloader(List<Resource> resources,
Downloader.Observer obs)
Creates a downloader that will download the supplied list of resources and communicate with the specified observer. |
|
HTTPDownloader(List<Resource> resources,
Downloader.Observer obs)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||