public interface ResourceOracle
Resource
s by abstract path
name. Intuitively, it works like a jar in that each URL is uniquely located
somewhere in an abstract namespace. The abstract names must be constructed
from a series of zero or more valid Java identifiers followed by the '/'
character and finally ending in a valid filename, for example,
com/google/gwt/blah.txt
.
The identity of the returned sets and maps will change when the underlying module is refreshed.
Modifier and Type | Method and Description |
---|---|
void |
clear()
Frees up all existing resources and transient internal state.
|
Set<String> |
getPathNames()
Returns an unmodifiable set of unique abstract path names with constant
lookup time.
|
Map<String,Resource> |
getResourceMap()
Returns an unmodifiable map of abstract path name to resource.
|
Set<Resource> |
getResources()
Returns an unmodifiable set of unique resources with constant lookup time.
|
void clear()
Set<String> getPathNames()
Map<String,Resource> getResourceMap()
Copyright © 2018. All rights reserved.