|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.batch.KEWXmlDataLoader
public class KEWXmlDataLoader
This is a description of what this class does - arh14 don't forget to fill this in.
Constructor Summary | |
---|---|
KEWXmlDataLoader()
|
Method Summary | |
---|---|
static FileXmlDocCollection |
getFileXmlDocCollection(InputStream stream,
String tempFileName)
Helper method that turns a stream into a FileXmlDocCollection by first making a copy on the file system. |
static void |
loadXmlClassLoaderResource(ClassLoader classloader,
String path)
Loads the XML resource from the specified classloader |
static void |
loadXmlClassLoaderResource(Class clazz,
String path)
Loads the XML resource from the classloader, from the package of the specified class if the class appears relative, or from the root of the classloader if it contains a slash |
static void |
loadXmlFile(String fileName)
Load the XML file from the file system. |
static void |
loadXmlPackageResource(Class clazz,
String path)
Loads the XML resource from the classloader, from the package of the specified class. |
static void |
loadXmlResource(String resource)
Loads the XML specified by the resource string, which should be in Spring resource notation |
static void |
loadXmlStream(InputStream xmlStream)
Loads XML from a stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KEWXmlDataLoader()
Method Detail |
---|
public static void loadXmlResource(String resource) throws Exception
resource
- resource string in Spring resource notation
Exception
public static void loadXmlClassLoaderResource(Class clazz, String path) throws Exception
clazz
- the class whose package should be used to qualify the pathpath
- the package-relative path of the XML resource
Exception
public static void loadXmlPackageResource(Class clazz, String path) throws Exception
clazz
- the class whose package should be used to qualify the pathpath
- the package-relative path of the XML resource
Exception
public static void loadXmlClassLoaderResource(ClassLoader classloader, String path) throws Exception
classloader
- the classloader from which to load the resourcepath
- the classloader path of the XML resource
Exception
public static void loadXmlFile(String fileName) throws Exception
fileName
- the path to the XML file
Exception
public static void loadXmlStream(InputStream xmlStream) throws Exception
xmlStream
- the XML byte stream
Exception
public static FileXmlDocCollection getFileXmlDocCollection(InputStream stream, String tempFileName) throws IOException
xmlFile
- tempFileName
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |