org.acegisecurity.util
Class InMemoryResource
java.lang.Object
org.springframework.core.io.AbstractResource
org.acegisecurity.util.InMemoryResource
- All Implemented Interfaces:
- org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource
public class InMemoryResource
- extends org.springframework.core.io.AbstractResource
An in memory implementation of Spring's Resource
interface.
Used by the "Acegifier" web application to create a bean factory from an XML string, rather than a file.
- Version:
- $Id: InMemoryResource.java 1784 2007-02-24 21:00:24Z luke_t $
- Author:
- Luke Taylor
Methods inherited from class org.springframework.core.io.AbstractResource |
createRelative, equals, exists, getFile, getFilename, getURL, hashCode, isOpen, toString |
InMemoryResource
public InMemoryResource(byte[] source)
InMemoryResource
public InMemoryResource(byte[] source,
String description)
getDescription
public String getDescription()
- Specified by:
getDescription
in interface org.springframework.core.io.Resource
- Specified by:
getDescription
in class org.springframework.core.io.AbstractResource
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.