org.broadleafcommerce.profile.extensibility.context.merge
Class MergeXmlConfigResource
java.lang.Object
org.broadleafcommerce.profile.extensibility.context.merge.MergeXmlConfigResource
- Direct Known Subclasses:
- MergeApplicationContextXmlConfigResource, MergeJPAPersistenceResource
public class MergeXmlConfigResource
- extends java.lang.Object
- Author:
- jfischer
|
Method Summary |
protected byte[] |
buildArrayFromStream(java.io.InputStream source)
|
org.springframework.core.io.Resource |
getMergedConfigResource(java.io.InputStream[] sources)
|
protected java.io.InputStream |
merge(java.io.InputStream[] sources)
|
protected java.io.InputStream |
mergeItems(java.io.InputStream[] sourceLocations)
|
java.lang.String |
serialize(java.io.InputStream in)
|
java.lang.String |
serialize(org.springframework.core.io.Resource resource)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeXmlConfigResource
public MergeXmlConfigResource()
getMergedConfigResource
public org.springframework.core.io.Resource getMergedConfigResource(java.io.InputStream[] sources)
throws org.springframework.beans.BeansException
- Throws:
org.springframework.beans.BeansException
merge
protected java.io.InputStream merge(java.io.InputStream[] sources)
throws MergeException,
MergeManagerSetupException
- Throws:
MergeException
MergeManagerSetupException
mergeItems
protected java.io.InputStream mergeItems(java.io.InputStream[] sourceLocations)
throws MergeException,
MergeManagerSetupException
- Throws:
MergeException
MergeManagerSetupException
serialize
public java.lang.String serialize(org.springframework.core.io.Resource resource)
serialize
public java.lang.String serialize(java.io.InputStream in)
buildArrayFromStream
protected byte[] buildArrayFromStream(java.io.InputStream source)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.