Class InMemoryResource
- java.lang.Object
- 
- org.springframework.core.io.AbstractResource
- 
- org.springframework.security.util.InMemoryResource
 
 
- 
- All Implemented Interfaces:
- org.springframework.core.io.InputStreamSource,- org.springframework.core.io.Resource
 
 public class InMemoryResource extends org.springframework.core.io.AbstractResourceAn in memory implementation of Spring'sResourceinterface.Used to create a bean factory from an XML string, rather than a file. 
- 
- 
Constructor SummaryConstructors Constructor Description InMemoryResource(byte[] source)InMemoryResource(byte[] source, java.lang.String description)InMemoryResource(java.lang.String source)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object res)java.lang.StringgetDescription()java.io.InputStreamgetInputStream()inthashCode()
 
- 
- 
- 
Method Detail- 
getDescriptionpublic java.lang.String getDescription() 
 - 
getInputStreampublic java.io.InputStream getInputStream() 
 - 
equalspublic boolean equals(java.lang.Object res) - Overrides:
- equalsin class- org.springframework.core.io.AbstractResource
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- org.springframework.core.io.AbstractResource
 
 
- 
 
-