public class

InMemoryResource

extends AbstractResource
java.lang.Object
   ↳ org.springframework.core.io.AbstractResource
     ↳ org.springframework.security.util.InMemoryResource

Class Overview

An in memory implementation of Spring's org.springframework.core.io.Resource interface.

Used to create a bean factory from an XML string, rather than a file.

Summary

Public Constructors
InMemoryResource(String source)
InMemoryResource(byte[] source)
InMemoryResource(byte[] source, String description)
Public Methods
boolean equals(Object res)
String getDescription()
InputStream getInputStream()
int hashCode()
[Expand]
Inherited Methods
From class org.springframework.core.io.AbstractResource
From class java.lang.Object
From interface org.springframework.core.io.InputStreamSource
From interface org.springframework.core.io.Resource

Public Constructors

public InMemoryResource (String source)

public InMemoryResource (byte[] source)

public InMemoryResource (byte[] source, String description)

Public Methods

public boolean equals (Object res)

public String getDescription ()

public InputStream getInputStream ()

Throws
IOException

public int hashCode ()