クラス 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