info.magnolia.module.delta
Class BootstrapFileUtil

java.lang.Object
  extended by info.magnolia.module.delta.BootstrapFileUtil

public class BootstrapFileUtil
extends java.lang.Object

Util class to extract nodes, properties from bootstrap files.

Author:
tmiyar

Constructor Summary
BootstrapFileUtil()
           
 
Method Summary
static java.io.InputStream getElementAsStream(java.lang.String fileName, java.lang.String nodePath)
           
static java.lang.String getPropertyValue(java.lang.String fileName, java.lang.String xpathExpr)
           
static java.lang.String getXPathNodeQueryString(java.lang.String path)
           
protected static java.lang.String getXpathPropertyQueryString(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapFileUtil

public BootstrapFileUtil()
Method Detail

getElementAsStream

public static java.io.InputStream getElementAsStream(java.lang.String fileName,
                                                     java.lang.String nodePath)

getPropertyValue

public static java.lang.String getPropertyValue(java.lang.String fileName,
                                                java.lang.String xpathExpr)

getXPathNodeQueryString

public static java.lang.String getXPathNodeQueryString(java.lang.String path)

getXpathPropertyQueryString

protected static java.lang.String getXpathPropertyQueryString(java.lang.String path)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.