クラス InMemoryResource

java.lang.ObjectSE
org.springframework.core.io.AbstractResource
org.springframework.security.util.InMemoryResource
実装されたすべてのインターフェース:
org.springframework.core.io.InputStreamSourceorg.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)
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    boolean
    int

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

      public InMemoryResource(StringSE source)
    • InMemoryResource

      public InMemoryResource(byte[] source)
    • InMemoryResource

      public InMemoryResource(byte[] source, StringSE description)
  • メソッドの詳細

    • getDescription

      public StringSE getDescription()
    • getInputStream

      public InputStreamSE getInputStream()
    • equals

      public boolean equals(ObjectSE res)
      オーバーライド:
      クラス org.springframework.core.io.AbstractResourceequals 
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス org.springframework.core.io.AbstractResourcehashCode