java.lang.Object | ||
↳ | com.microstrategy.utils.cache.SimpleHint | |
↳ | com.microstrategy.web.app.utils.cache.ResourceCacheHint |
This class is the hint for ResourceCache. The ResourceCache requires the path to the file and its encoding (if any).
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected String | _encode |
This field is deprecated.
This instance variable should always be accessed through the getEncode() method
|
|||||||||
protected String | _localeID | This field is deprecated. This variable is not internally used. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ResourceCacheHint(String path, String encoding)
Initializes a new
ResourceCacheHint | |||||||||||
ResourceCacheHint(String path, String encoding, String localeID)
This constructor is deprecated.
use
ResourceCacheHint(path, encoding)
| |||||||||||
ResourceCacheHint(String path)
Initializes a new
ResourceCacheHint with no file encoding. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
String |
getEncode()
Returns the encoding that should be used to load the corresponding file.
| ||||||||||
int | hashCode() |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getPath()
Returns the path to the corresponding file.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
This field is deprecated.
This instance variable should always be accessed through the getEncode()
method
Identifies the file encoding for the corresponding resource
This field is deprecated.
This variable is not internally used.
Identifies the locale for the corresponding resource
Initializes a new ResourceCacheHint
path | The location of the Resource. This location will be resolved by the FileLoader |
---|---|
encoding | The encoding to use to load the corresonding file. It can be null or empty string. |
This constructor is deprecated.
use ResourceCacheHint(path, encoding)
Creates a new ResourceCacheHint
with the given parameters. This constructor
has been deprecated as locale is not internally used.
Initializes a new ResourceCacheHint
with no file encoding.
path | The location of the Resource. This location will be resolved by the FileLoader
|
---|
Returns the encoding that should be used to load the corresponding file.
Returns the path to the corresponding file.