Modifier and Type | Method and Description |
---|---|
FileBuilder |
FileBuilder.defaultMode(FileBuilder.Mode m)
Specifies the behaviour to be used when no
CreateFromTemplateHandler accepts the template. |
static FileBuilder |
FileBuilder.fromDescriptor(CreateDescriptor desc)
Creates a Builder based on the CreateDescriptor.
|
FileBuilder |
FileBuilder.name(String n)
Sets the desired target file's name.
|
FileBuilder |
FileBuilder.param(String n,
Object v)
Adds a parameter to the template.
|
FileBuilder |
FileBuilder.useFormat(Format def)
Uses the specified formatter for file creation.
|
FileBuilder |
FileBuilder.useLocale(Locale l)
Specifies the locale to be used during file creation.
|
FileBuilder |
FileBuilder.Lookup contextLookup)
Use specific Lookup for creation.
|
FileBuilder |
FileBuilder.withParameters(Map<String,?> params)
Includes parameters for the template.
|