public class InMemoryResource
extends org.springframework.core.io.AbstractResource
Resource
interface.
Used to create a bean factory from an XML string, rather than a file.
Constructor and Description |
---|
InMemoryResource(byte[] source) |
InMemoryResource(byte[] source,
java.lang.String description) |
InMemoryResource(java.lang.String source) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object res) |
java.lang.String |
getDescription() |
java.io.InputStream |
getInputStream() |
int |
hashCode() |
public InMemoryResource(java.lang.String source)
public InMemoryResource(byte[] source)
public InMemoryResource(byte[] source, java.lang.String description)
public java.lang.String getDescription()
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public int hashCode()
hashCode
in class org.springframework.core.io.AbstractResource
public boolean equals(java.lang.Object res)
equals
in class org.springframework.core.io.AbstractResource