Class CoffeePickStrings
java.lang.Object
com.io7m.coffeepick.client.vanilla.internal.CoffeePickStrings
public final class CoffeePickStrings
extends java.lang.Object
The default string provider.
-
Method Summary
Modifier and Type Method Description java.lang.StringcatalogDownload(java.lang.String id)java.lang.StringcatalogSearch()java.lang.Stringformat(java.lang.String id, java.lang.Object... args)static java.util.ResourceBundlegetResourceBundle()Retrieve the resource bundle for the current locale.static java.util.ResourceBundlegetResourceBundle(java.util.Locale locale)Retrieve the resource bundle for the given locale.java.lang.StringinventoryDelete(java.lang.String id)java.lang.StringinventoryPathOf(java.lang.String id)java.lang.StringinventorySearch()java.lang.StringinventoryUnpack(java.lang.String id, java.nio.file.Path path)java.lang.StringinventoryVerify(java.lang.String id)static CoffeePickStringsof(java.util.ResourceBundle bundle)Create a new string provider from the given bundle.java.lang.StringrepositoryExport(java.net.URI repository, java.net.URI format, java.nio.file.Path output_path)java.lang.StringrepositoryList()java.lang.StringrepositoryUpdate(java.net.URI uri)java.util.ResourceBundleresourceBundle()java.lang.StringtoString()
-
Method Details
-
getResourceBundle
public static java.util.ResourceBundle getResourceBundle(java.util.Locale locale)Retrieve the resource bundle for the given locale.- Parameters:
locale- The locale- Returns:
- The resource bundle
-
getResourceBundle
public static java.util.ResourceBundle getResourceBundle()Retrieve the resource bundle for the current locale.- Returns:
- The resource bundle
-
of
Create a new string provider from the given bundle.- Parameters:
bundle- The resource bundle- Returns:
- A string provider
-
resourceBundle
public java.util.ResourceBundle resourceBundle() -
format
public java.lang.String format(java.lang.String id, java.lang.Object... args) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
inventoryDelete
public java.lang.String inventoryDelete(java.lang.String id) -
inventoryVerify
public java.lang.String inventoryVerify(java.lang.String id) -
inventorySearch
public java.lang.String inventorySearch() -
catalogSearch
public java.lang.String catalogSearch() -
catalogDownload
public java.lang.String catalogDownload(java.lang.String id) -
inventoryPathOf
public java.lang.String inventoryPathOf(java.lang.String id) -
inventoryUnpack
public java.lang.String inventoryUnpack(java.lang.String id, java.nio.file.Path path) -
repositoryUpdate
public java.lang.String repositoryUpdate(java.net.URI uri) -
repositoryList
public java.lang.String repositoryList() -
repositoryExport
public java.lang.String repositoryExport(java.net.URI repository, java.net.URI format, java.nio.file.Path output_path)
-