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,
String description) |
InMemoryResource(String source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object res) |
String |
getDescription() |
InputStream |
getInputStream() |
int |
hashCode() |
public InMemoryResource(String source)
public InMemoryResource(byte[] source)
public InMemoryResource(byte[] source,
String description)
public String getDescription()
public InputStream getInputStream() throws IOException
IOExceptionpublic int hashCode()
hashCode in class org.springframework.core.io.AbstractResourcepublic boolean equals(Object res)
equals in class org.springframework.core.io.AbstractResourceCopyright © 2016. All rights reserved.