public interface Layout
修飾子と型 | メソッドと説明 |
---|---|
default void | directory(StringSE name, Owner owner) コンテンツにディレクトリを追加します。 |
void | directory(StringSE name, Owner owner, int mode) コンテンツにディレクトリを追加します。 |
default void | file(StringSE name, Owner owner, Content content) コンテンツにファイルを書き込みます。 |
void | file(StringSE name, Owner owner, int mode, Content content) コンテンツにファイルを書き込みます。 |
default void directory(StringSE name, Owner owner) throws IOExceptionSE
name
- 追加するディレクトリのフルネーム owner
- ディレクトリの所有者 IOExceptionSE
- IO エラー時 void directory(StringSE name, Owner owner, int mode) throws IOExceptionSE
name
- 追加するディレクトリのフルネーム owner
- ディレクトリの所有者 mode
- ファイルの権限 IOExceptionSE
- IO エラー時 default void file(StringSE name, Owner owner, Content content) throws IOExceptionSE
name
- 追加するファイルのフルネーム owner
- ファイルの所有者 content
- 追加するコンテンツ IOExceptionSE
- IO エラー時 void file(StringSE name, Owner owner, int mode, Content content) throws IOExceptionSE
name
- 追加するファイルのフルネーム owner
- ファイルの所有者 mode
- ファイルの権限 content
- 追加するコンテンツ IOExceptionSE
- IO エラー時