Constructor and Description |
---|
FileCache()
Initializes new instance of
FileCache class. |
FileCache(String path)
Initializes new instance of
FileCache class. |
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<String> |
getKeys(String filter)
Returns all file names that contains filter in filename.
|
void |
set(String key,
Object value)
Serializes data to the local disk.
|
boolean |
tryGetValue(String key,
Object value)
Deserializes data associated with this key if present.
|
public FileCache()
Initializes new instance of FileCache
class.
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerable<String> getKeys(String filter)
Returns all file names that contains filter in filename.
public final boolean tryGetValue(String key, Object value)
Deserializes data associated with this key if present.
tryGetValue
in interface ICache
key
- A key identifying the requested entry.value
- The located value or null.