Modifier and Type | Method | Description |
---|---|---|
static FileBuilder.Mode |
FileBuilder.Mode.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FileBuilder.Mode[] |
FileBuilder.Mode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static org.openide.filesystems.FileObject |
FileBuilder.createFromTemplate(org.openide.filesystems.FileObject f,
org.openide.filesystems.FileObject folder,
String name,
Map<String,?> attributes,
FileBuilder.Mode defaultMode) |
Creates a new file based on the template.
|
FileBuilder |
FileBuilder.defaultMode(FileBuilder.Mode m) |
Specifies the behaviour to be used when no
CreateFromTemplateHandler accepts the template. |
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.