Uses of Interface
org.springframework.core.io.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
Modifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFile
(GeneratedFiles.Kind kind, String path) Return theInputStreamSource
of specified file.Modifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFiles
(GeneratedFiles.Kind kind) Return aMap
of the generated files of a specificGeneratedFiles.Kind
.Modifier and TypeMethodDescriptiondefault void
GeneratedFiles.addClassFile
(String path, InputStreamSource content) Add a generatedclass file
with content from the givenInputStreamSource
.void
FileSystemGeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) void
GeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) Add a generated file of the specifiedGeneratedFiles.Kind
with content from the givenInputStreamSource
.void
InMemoryGeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) default void
GeneratedFiles.addResourceFile
(String path, InputStreamSource content) Add a generatedresource file
with content from the givenInputStreamSource
.default void
GeneratedFiles.addSourceFile
(String className, InputStreamSource content) Add a generatedsource file
with content from the givenInputStreamSource
. -
Uses of InputStreamSource in org.springframework.core.io
Modifier and TypeInterfaceDescriptioninterface
Extended interface for a resource that is loaded from an enclosing 'context', e.g.interface
Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.interface
Extended interface for a resource that supports writing to it.Modifier and TypeClassDescriptionclass
Abstract base class for resources which resolve URLs into File references, such asUrlResource
orClassPathResource
.class
Convenience base class forResource
implementations, pre-implementing typical behavior.class
Resource
implementation for a given byte array.class
Resource
implementation for class path resources.protected static class
ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.class
SimpleResource
implementation that holds a resource description but does not point to an actually readable resource.class
class
Subclass ofUrlResource
which assumes file resolution, to the degree of implementing theWritableResource
interface for it.class
Resource
implementation for a givenInputStream
.class
class
Resource
implementation forjava.net.URL
locators.class
JBoss VFS basedResource
implementation. -
Uses of InputStreamSource in org.springframework.core.io.support
Modifier and TypeClassDescriptionclass
Holder that combines aResource
descriptor with a specific encoding orCharset
to be used for reading from the resource.