public class

Resource

extends Object
java.lang.Object
   ↳ com.microstrategy.web.app.utils.cache.Resource

Summary

Public Methods
synchronized Document getDocument()
Returns the document contents of the resource.
String getString()
Returns the string contents of the resource
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized 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 owning Resource.

Returns
  • the document contents of the resource

public String getString ()

Returns the string contents of the resource

Returns
  • the string contents of the resource