Package org.xj3d.impl.core.loading
Class DefaultCacheDetails
java.lang.Object
org.xj3d.impl.core.loading.DefaultCacheDetails
- All Implemented Interfaces:
CacheDetails
A simple implementation of the data holder class for file caching.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCacheDetails
(String uri, String type, Object content) Construct an instance of this class for the given details -
Method Summary
Modifier and TypeMethodDescriptionGet the actual content of this objectGet the content type of this cached objectgetURI()
Get the URI that represents this object
-
Constructor Details
-
DefaultCacheDetails
-
-
Method Details
-
getURI
Get the URI that represents this object- Specified by:
getURI
in interfaceCacheDetails
- Returns:
- URI that represents this object
-
getContentType
Get the content type of this cached object- Specified by:
getContentType
in interfaceCacheDetails
- Returns:
- the content type of this cached object
-
getContent
Get the actual content of this object- Specified by:
getContent
in interfaceCacheDetails
- Returns:
- the actual content of this object
-