it.eng.spagobi.utilities
Class JCRUtilities

java.lang.Object
  extended by it.eng.spagobi.utilities.JCRUtilities

public class JCRUtilities
extends java.lang.Object

Contains some JCR Utilities


Constructor Summary
JCRUtilities()
           
 
Method Summary
static java.io.InputStream getContentByPath(java.lang.String jcrPath)
          Gets content information known the jcr path
static java.io.InputStream getContentByPathAndVersion(java.lang.String jcrPath, java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRUtilities

public JCRUtilities()
Method Detail

getContentByPath

public static java.io.InputStream getContentByPath(java.lang.String jcrPath)
                                            throws it.eng.spago.error.EMFInternalError
Gets content information known the jcr path

Parameters:
jcrPath - The input jcr path string
Returns:
Content information (contained into an Input Stream Object)
Throws:
it.eng.spago.error.EMFInternalError - If any exception occurred

getContentByPathAndVersion

public static java.io.InputStream getContentByPathAndVersion(java.lang.String jcrPath,
                                                             java.lang.String version)
                                                      throws it.eng.spago.error.EMFInternalError
Throws:
it.eng.spago.error.EMFInternalError