mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
ファイル/ディレクトリを作成するメソッドを定義
This commit is contained in:
parent
3a270cdc9f
commit
7cdb005ebb
|
@ -30,6 +30,12 @@ public interface FileManager {
|
||||||
FileManager setPath(Path path);
|
FileManager setPath(Path path);
|
||||||
FileManager resolve(String path) throws IOException;
|
FileManager resolve(String path) throws IOException;
|
||||||
|
|
||||||
|
// Create
|
||||||
|
FileManager createFile() throws IOException;
|
||||||
|
FileManager createFile(String fileName) throws IOException;
|
||||||
|
FileManager createDirectory() throws IOException;
|
||||||
|
FileManager createDirectory(String directoryName) throws IOException;
|
||||||
|
|
||||||
// Save
|
// Save
|
||||||
// XML
|
// XML
|
||||||
void saveXml(Document document, String fileName) throws IOException;
|
void saveXml(Document document, String fileName) throws IOException;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user