public interface FileCreator extends FileReader
| 限定符和类型 | 方法和说明 |
|---|---|
void |
genAppendFile(String fullPathAndName,
String content)
将内容追加到文件尾部
|
void |
genFile(String fullPathAndName,
String content)
将内容写到生成的文件中
|
void |
genFile(String fullPath,
String fileName,
String content)
将内容写到生成的文件中
|
void |
genFile(String basePath,
String packagePath,
String fileName,
String content)
将内容写到生成的文件中
|
readFilevoid genFile(String fullPathAndName, String content)
fullPathAndName - 全部路径,包括文件名content - 文件内容.contentvoid genFile(String fullPath, String fileName, String content)
fullPath - 全部路径.full pathfileName - 文件名.file namecontent - 文件内容.contentvoid genFile(String basePath, String packagePath, String fileName, String content)
basePath - 基础路径. base pathpackagePath - 包路径.package pathfileName - 文件名.file namecontent - 文件内容.contentCopyright © 2021. All rights reserved.