
public class MessagesInterfaceCreator extends AbstractLocalizableInterfaceCreator
composer| Constructor and Description |
|---|
MessagesInterfaceCreator(String className,
String packageName,
File resourceBundle,
File targetLocation)
Constructor for
MessagesInterfaceCreator. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
genMethodArgs(String defaultValue)
Create method args based upon the default value.
|
protected void |
genValueAnnotation(String defaultValue)
Create an annotation to hold the default value.
|
protected String |
javaDocComment(String path)
Returns the javaDocComment for the class.
|
generate, genSimpleMethodDecl, makeJavaStringpublic MessagesInterfaceCreator(String className, String packageName, File resourceBundle, File targetLocation) throws IOException
MessagesInterfaceCreator.className - class namepackageName - package nameresourceBundle - resource bundletargetLocation - target locationIOExceptionprotected void genMethodArgs(String defaultValue)
AbstractLocalizableInterfaceCreatorgenMethodArgs in class AbstractLocalizableInterfaceCreatorprotected void genValueAnnotation(String defaultValue)
AbstractLocalizableInterfaceCreatorgenValueAnnotation in class AbstractLocalizableInterfaceCreatorprotected String javaDocComment(String path)
AbstractLocalizableInterfaceCreatorjavaDocComment in class AbstractLocalizableInterfaceCreatorpath - path of classCopyright © 2016. All rights reserved.