Class DynamicFile
java.lang.Object
org.springframework.core.test.tools.DynamicFile
- Direct Known Subclasses:
ResourceFile, SourceFile
Abstract base class for dynamically generated files.
- Since:
- 6.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DynamicFile
-
-
Method Details
-
toString
-
getBytes
public byte[] getBytes()Return the contents of the file as a byte array.- Returns:
- the file contents as a byte array
-
getContent
-
getPath
-
equals
-
hashCode
-
toString
-