public class InMemoryResource extends 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() |
contentLength, createRelative, exists, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, isOpen, isReadable, lastModified, toString
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 AbstractResource
public boolean equals(Object res)
equals
in class AbstractResource