Uses of Class
org.springframework.core.test.tools.ResourceFile
Packages that use ResourceFile
Package
Description
Support classes for compiling and testing generated code.
-
Uses of ResourceFile in org.springframework.core.test.tools
Methods in org.springframework.core.test.tools that return ResourceFileModifier and TypeMethodDescriptionGet theResourceFile
with the given path.Compiled.getResourceFile()
Return the single resource file that was used when compiled.ResourceFiles.getSingle()
Return the singleResourceFile
contained in the collection.static ResourceFile
Factory method to create a newResourceFile
from the givenbyte[]
.static ResourceFile
ResourceFile.of
(String path, CharSequence charSequence) Factory method to create a newResourceFile
from the givenCharSequence
.static ResourceFile
ResourceFile.of
(String path, InputStreamSource inputStreamSource) Factory method to create a newResourceFile
from the givenInputStreamSource
.static ResourceFile
ResourceFile.of
(String path, WritableContent writableContent) Factory method to create a newSourceFile
from the givenWritableContent
.Methods in org.springframework.core.test.tools that return types with arguments of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.iterator()
ResourceFiles.stream()
Stream theResourceFile
instances contained in this collection.Methods in org.springframework.core.test.tools with parameters of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.and
(ResourceFile... resourceFiles) Return a newResourceFiles
instance that merges files from another array ofResourceFile
instances.static ResourceFiles
ResourceFiles.of
(ResourceFile... ResourceFiles) Factory method that can be used to create aResourceFiles
instance containing the specified files.TestCompiler.withResources
(ResourceFile... resourceFiles) Create a newTestCompiler
instance with additional resource files.Method parameters in org.springframework.core.test.tools with type arguments of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.and
(Iterable<ResourceFile> resourceFiles) Return a newResourceFiles
instance that merges files from another iterable ofResourceFiles
instances.TestCompiler.withResources
(Iterable<ResourceFile> resourceFiles) Create a newTestCompiler
instance with additional source files.