接口的使用
cn.taketoday.core.io.InputStreamSource
使用InputStreamSource的程序包
-
cn.taketoday.core.io中InputStreamSource的使用
修饰符和类型接口说明interfaceExtended interface for a resource that is loaded from an enclosing 'context', e.g. from ajakarta.servlet.ServletContextbut also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the localResourceLoader's context).interfaceinterfaceInterface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.interfaceExtended interface for a resource that supports writing to it.修饰符和类型类说明classAbstract base class for resources which resolve URLs into File references, such asUrlResourceorClassPathResource.classConvenience base class forResourceimplementations, pre-implementing typical behavior.classResourceimplementation for a given byte array.classResourceimplementation for class path resources.protected static classClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.classSimpleResourceimplementation that holds a resource description but does not point to an actually readable resource.classHolder that combines aResourcedescriptor with a specific encoding orCharsetto be used for reading from the resource.classclassSubclass ofUrlResourcewhich assumes file resolution, to the degree of implementing theWritableResourceinterface for it.classResourceimplementation for a givenInputStream.classclassclassThis class implements the Wrapper or Decorator pattern.classResourceimplementation forjava.net.URLlocators.class