|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonicsw.esb.service.common.util.spring.ResourceUtils
public class ResourceUtils
Constructor Summary | |
---|---|
ResourceUtils()
|
Method Summary | |
---|---|
static byte[] |
getContents(org.springframework.core.io.Resource resource)
Reads the contents of a resource in to a byte array. |
static org.w3c.dom.Element |
parseContents(org.springframework.core.io.Resource resource)
Parses the contents of a resource as a DOM element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceUtils()
Method Detail |
---|
public static byte[] getContents(org.springframework.core.io.Resource resource) throws java.io.IOException
java.io.IOException
public static org.w3c.dom.Element parseContents(org.springframework.core.io.Resource resource) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |