Class CLAbstractStrings
java.lang.Object
com.io7m.changelog.cmdline.internal.CLAbstractStrings
- All Implemented Interfaces:
CLStringsType
- Direct Known Subclasses:
CLMessages
An abstract implementation of the
CLStringsType interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringFormat a message.protected static ResourceBundleofXML(InputStream stream) protected static ResourceBundleofXMLResource(Class<?> clazz, String resource) final ResourceBundle
-
Constructor Details
-
CLAbstractStrings
-
-
Method Details
-
ofXML
-
ofXMLResource
-
resources
- Specified by:
resourcesin interfaceCLStringsType- Returns:
- The underlying resource bundle
-
format
Description copied from interface:CLStringsTypeFormat a message.- Specified by:
formatin interfaceCLStringsType- Parameters:
id- The string resource IDargs- Any required string format arguments- Returns:
- A formatted string
- See Also:
-