Uses of Interface
org.springframework.core.io.InputStreamSource
Packages that use InputStreamSource
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
Generic abstraction for (file-based) resources, used throughout the framework.
Support classes for Spring's resource abstraction.
-
Uses of InputStreamSource in org.springframework.aot.generate
Methods in org.springframework.aot.generate that return InputStreamSourceModifier and TypeMethodDescriptionGeneratedFiles.FileHandler.getContent()Return anInputStreamSourcefor the content of the file ornullif the file does not exist.InMemoryGeneratedFiles.getGeneratedFile(GeneratedFiles.Kind kind, String path) Return theInputStreamSourceof specified file.Methods in org.springframework.aot.generate that return types with arguments of type InputStreamSourceModifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFiles(GeneratedFiles.Kind kind) Return aMapof the generated files of a specificGeneratedFiles.Kind.Methods in org.springframework.aot.generate with parameters of type InputStreamSourceModifier and TypeMethodDescriptiondefault voidGeneratedFiles.addClassFile(String path, InputStreamSource content) Add a generatedclass filewith content from the givenInputStreamSource.default voidGeneratedFiles.addFile(GeneratedFiles.Kind kind, String path, InputStreamSource content) Add a generated file of the specifiedGeneratedFiles.Kindwith content from the givenInputStreamSource.default voidGeneratedFiles.addResourceFile(String path, InputStreamSource content) Add a generatedresource filewith content from the givenInputStreamSource.default voidGeneratedFiles.addSourceFile(String className, InputStreamSource content) Add a generatedsource filewith content from the givenInputStreamSource.protected abstract voidGeneratedFiles.FileHandler.copy(InputStreamSource content, boolean override) voidGeneratedFiles.FileHandler.create(InputStreamSource content) Create a file with the given content.voidGeneratedFiles.FileHandler.override(InputStreamSource content) Override the content of the file handled by this instance using the given content.Constructor parameters in org.springframework.aot.generate with type arguments of type InputStreamSourceModifierConstructorDescriptionprotectedFileHandler(boolean exists, Supplier<InputStreamSource> existingContent) -
Uses of InputStreamSource in org.springframework.core.io
Subinterfaces of InputStreamSource in org.springframework.core.ioModifier and TypeInterfaceDescriptioninterfaceExtended interface for a resource that is loaded from an enclosing 'context', for example, 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).interfaceInterface 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.Classes in org.springframework.core.io that implement InputStreamSourceModifier and TypeClassDescriptionclassAbstract 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.classclassSubclass ofUrlResourcewhich assumes file resolution, to the degree of implementing theWritableResourceinterface for it.classResourceimplementation for a givenInputStreamor a givenInputStreamSource(which can be supplied as a lambda expression) for a lazyInputStreamon demand.classResourceimplementation forModuleresolution, performingModuleResource.getInputStream()access viaModule.getResourceAsStream(java.lang.String).classclassResourceimplementation forjava.net.URLlocators.classJBoss VFS basedResourceimplementation.Constructors in org.springframework.core.io with parameters of type InputStreamSourceModifierConstructorDescriptionInputStreamResource(InputStreamSource inputStreamSource) Create a newInputStreamResourcewith a lazyInputStreamfor single use.InputStreamResource(InputStreamSource inputStreamSource, String description) Create a newInputStreamResourcewith a lazyInputStreamfor single use. -
Uses of InputStreamSource in org.springframework.core.io.support
Classes in org.springframework.core.io.support that implement InputStreamSourceModifier and TypeClassDescriptionclassHolder that combines aResourcedescriptor with a specific encoding orCharsetto be used for reading from the resource.