程序包 spring.turbo.io

类 InMemoryResource

java.lang.Object
org.springframework.core.io.AbstractResource
spring.turbo.io.InMemoryResource
所有已实现的接口:
org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource
直接已知子类:
StringResource

public class InMemoryResource extends org.springframework.core.io.AbstractResource
内存型Resource
从以下版本开始:
1.1.0
作者:
应卓
另请参阅:
  • Resource
  • 构造器详细资料

    • InMemoryResource

      public InMemoryResource(byte[] source)
    • InMemoryResource

      public InMemoryResource(byte[] source, @Nullable String description)
  • 方法详细资料

    • getDescription

      @Nullable public String getDescription()
    • getInputStream

      public InputStream getInputStream()
    • equals

      public boolean equals(Object res)
      覆盖:
      equals 在类中 org.springframework.core.io.AbstractResource
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 org.springframework.core.io.AbstractResource