public class AddCopyrightHeader extends Object
| Constructor and Description |
|---|
AddCopyrightHeader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fileTree(File f,
String content)
取出所有的文件及文件夹
|
static void |
insert(File f,
String content)
开始插入内容
|
static void |
main(String[] args) |
public AddCopyrightHeader()
public static void fileTree(File f, String content) throws Exception
f - 文件夹对象Exceptionpublic static void insert(File f, String content) throws IOException
f - 文件对象IOExceptionCopyright © 2024. All rights reserved.