类 FileSystemGeneratedFiles
java.lang.Object
cn.taketoday.aot.generate.FileSystemGeneratedFiles
- 所有已实现的接口:
GeneratedFiles
GeneratedFiles implementation that stores generated files using a
FileSystem.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
-
嵌套类概要
从接口继承的嵌套类/接口 cn.taketoday.aot.generate.GeneratedFiles
GeneratedFiles.Kind -
字段概要
字段 -
构造器概要
构造器构造器说明FileSystemGeneratedFiles(Path root) Create a newFileSystemGeneratedFilesinstance with all files stored under the specificroot.Create a newFileSystemGeneratedFilesinstance with all files stored under the root provided by the givenFunction. -
方法概要
修饰符和类型方法说明voidaddFile(GeneratedFiles.Kind kind, String path, InputStreamSource content) Add a generated file of the specifiedGeneratedFiles.Kindwith content from the givenInputStreamSource.private static Function<GeneratedFiles.Kind,Path> conventionRoots(Path root) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.aot.generate.GeneratedFiles
addClassFile, addFile, addFile, addResourceFile, addResourceFile, addResourceFile, addSourceFile, addSourceFile, addSourceFile, addSourceFile
-
字段详细资料
-
roots
-
-
构造器详细资料
-
FileSystemGeneratedFiles
Create a newFileSystemGeneratedFilesinstance with all files stored under the specificroot. The following subdirectories are created for the different filekinds:sourcesresourcesclasses
- 参数:
root- the root path- 另请参阅:
-
FileSystemGeneratedFiles
Create a newFileSystemGeneratedFilesinstance with all files stored under the root provided by the givenFunction.- 参数:
roots- a function that returns the root to use for the givenGeneratedFiles.Kind
-
-
方法详细资料
-
conventionRoots
-
addFile
从接口复制的说明:GeneratedFilesAdd a generated file of the specifiedGeneratedFiles.Kindwith content from the givenInputStreamSource.- 指定者:
addFile在接口中GeneratedFiles- 参数:
kind- the kind of file being writtenpath- the relative path of the filecontent- anInputStreamSourcethat will provide an input stream containing the file contents
-