com.threerings.resource
Class KnownAvailabilityResourceBundle
java.lang.Object
com.threerings.resource.ResourceBundle
com.threerings.resource.KnownAvailabilityResourceBundle
- Direct Known Subclasses:
- NetworkResourceBundle
public abstract class KnownAvailabilityResourceBundle
- extends ResourceBundle
Keeps a set of known resources and allows implementors to ask if a resource is in it before
performing a potentially expensive failed lookup.
|
Field Summary |
protected Set<String> |
_rsrcs
All the resources included in this bundle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rsrcs
protected Set<String> _rsrcs
- All the resources included in this bundle.
KnownAvailabilityResourceBundle
public KnownAvailabilityResourceBundle(Set<String> availableResources)
isPossiblyAvailable
protected boolean isPossiblyAvailable(String path)
- Returns whether we believe the path to be available. If we have no list, we assume
everything may be available.