public enum WikiGenerator extends Enum<WikiGenerator>
| Modifier and Type | Method and Description |
|---|---|
abstract String |
generate(File file) |
abstract String |
generate(String content) |
protected String |
getContent(File file) |
static WikiGenerator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WikiGenerator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WikiGenerator HTML
public static final WikiGenerator RST
public static final WikiGenerator TEX
public static WikiGenerator[] values()
for (WikiGenerator c : WikiGenerator.values()) System.out.println(c);
public static WikiGenerator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract String generate(File file) throws IOException
IOExceptionpublic abstract String generate(String content) throws IOException
IOExceptionprotected String getContent(File file) throws IOException
IOExceptionCopyright © 2011–2014 Debux. All rights reserved.