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, makeJavaString
public MessagesInterfaceCreator(String className, String packageName, File resourceBundle, File targetLocation) throws IOException
MessagesInterfaceCreator
.className
- class namepackageName
- package nameresourceBundle
- resource bundletargetLocation
- target locationIOException
protected void genMethodArgs(String defaultValue)
AbstractLocalizableInterfaceCreator
genMethodArgs
in class AbstractLocalizableInterfaceCreator
protected void genValueAnnotation(String defaultValue)
AbstractLocalizableInterfaceCreator
genValueAnnotation
in class AbstractLocalizableInterfaceCreator
protected String javaDocComment(String path)
AbstractLocalizableInterfaceCreator
javaDocComment
in class AbstractLocalizableInterfaceCreator
path
- path of classCopyright © 2016. All rights reserved.