Class DynamicFile
java.lang.Object
org.springframework.aot.test.generate.file.DynamicFile
- Direct Known Subclasses:
ResourceFile
,SourceFile
Abstract base class for dynamically generated files.
- Since:
- 6.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DynamicFile
-
-
Method Details
-
toString
-
getContent
Return the contents of the file.- Returns:
- the file contents
-
getPath
Return the relative path of the file.- Returns:
- the file path
-
equals
-
hashCode
public int hashCode() -
toString
-