クラス InMemoryResource
java.lang.ObjectSE
org.springframework.core.io.AbstractResource
org.springframework.security.util.InMemoryResource
- 実装されているすべてのインターフェース:
org.springframework.core.io.InputStreamSource,org.springframework.core.io.Resource
public class InMemoryResource
extends org.springframework.core.io.AbstractResource
Spring の
Resource インターフェースのメモリ内実装。ファイルではなく XML 文字列から Bean ファクトリを作成するために使用されます。
コンストラクターの概要
コンストラクターコンストラクター説明InMemoryResource(byte[] source) InMemoryResource(byte[] source, StringSE description) InMemoryResource(StringSE source) メソッドのサマリー
クラス org.springframework.core.io.AbstractResource から継承されたメソッド
contentLength, createRelative, exists, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.core.io.Resource から継承されたメソッド
getContentAsByteArray, getContentAsString
コンストラクターの詳細
InMemoryResource
InMemoryResource
public InMemoryResource(byte[] source) InMemoryResource
メソッドの詳細
getDescription
getInputStream
equals
- オーバーライド:
- クラス
org.springframework.core.io.AbstractResourceのequals
hashCode
public int hashCode()- オーバーライド:
- クラス
org.springframework.core.io.AbstractResourceのhashCode