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
IOException
public int hashCode()
hashCode
in class org.springframework.core.io.AbstractResource
public boolean equals(Object res)
equals
in class org.springframework.core.io.AbstractResource
Copyright © 2015. All rights reserved.