public class PropertyCatalogFactory extends Object implements MessageCatalogFactory
MessageCatalogFactory.Context, MessageCatalogFactory.Writer
Constructor and Description |
---|
PropertyCatalogFactory() |
Modifier and Type | Method and Description |
---|---|
String |
getExtension()
Returns the extension to use for this file type, including the dot.
|
MessageCatalogFactory.Writer |
getWriter(MessageCatalogFactory.Context context,
String fileName)
Return a
MessageCatalogFactory.Writer that can be used to write the source
of the messages to be translated for this class. |
public String getExtension()
MessageCatalogFactory
getExtension
in interface MessageCatalogFactory
public MessageCatalogFactory.Writer getWriter(MessageCatalogFactory.Context context, String fileName)
MessageCatalogFactory
MessageCatalogFactory.Writer
that can be used to write the source
of the messages to be translated for this class.getWriter
in interface MessageCatalogFactory
fileName
- relative path for output file, though implementations may
ignore this value and use something else, such as an annotation giving
a database key, for exampleCopyright © 2018. All rights reserved.