程序包 spring.turbo.io

类 StringResource

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

public class StringResource extends InMemoryResource
String型Resource
从以下版本开始:
1.1.0
作者:
应卓
另请参阅:
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
     
    int
     

    从类继承的方法 spring.turbo.io.InMemoryResource

    getDescription, getInputStream

    从类继承的方法 org.springframework.core.io.AbstractResource

    contentLength, createRelative, exists, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel, toString

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 org.springframework.core.io.Resource

    getContentAsByteArray, getContentAsString