Class Resource
- java.lang.Object
-
- com.microstrategy.web.app.utils.cache.Resource
-
public class Resource extends java.lang.Object
- Since:
- MicroStrategy Web 7.5.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Document
getDocument()
Returns the document contents of the resource.java.lang.String
getString()
Returns the string contents of the resource
-
-
-
Method Detail
-
getString
public java.lang.String getString()
Returns the string contents of the resource- Returns:
- the string contents of the resource
-
getDocument
public org.w3c.dom.Document getDocument()
Returns the document contents of the resource. Note that the DOM returned is not thread safe. Before using it in a multi-threaded environment, it is strongly recommended to synchronize on owningResource
.- Returns:
- the document contents of the resource
-
-