Package com.io7m.jwheatsheaf.ui
Class JWStrings
- java.lang.Object
-
- com.io7m.jwheatsheaf.ui.JWStrings
-
public final class JWStrings extends java.lang.ObjectThe default application string provider.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateDirectoryTitle()java.lang.StringenterDirectoryName()java.lang.StringenterPath()java.lang.StringenterPathTitle()java.lang.StringfileSelect()java.lang.StringfilesSelect()java.lang.StringfilterAllFilesDescription()java.lang.StringfilterOnlyDirectoriesDescription()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.static JWStringsof(java.util.ResourceBundle bundle)Create a new string provider from the given bundle.java.lang.Stringopen()java.lang.StringrecentItems()java.lang.Stringsave()java.lang.StringtooltipDirectory(java.nio.file.Path path)java.lang.StringtooltipFile(java.nio.file.Path path)
-
-
-
Method Detail
-
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
public static JWStrings of(java.util.ResourceBundle bundle)
Create a new string provider from the given bundle.- Parameters:
bundle- The resource bundle- Returns:
- A string provider
-
createDirectoryTitle
public java.lang.String createDirectoryTitle()
-
recentItems
public java.lang.String recentItems()
-
filterAllFilesDescription
public java.lang.String filterAllFilesDescription()
-
filterOnlyDirectoriesDescription
public java.lang.String filterOnlyDirectoriesDescription()
-
enterDirectoryName
public java.lang.String enterDirectoryName()
-
fileSelect
public java.lang.String fileSelect()
-
filesSelect
public java.lang.String filesSelect()
-
open
public java.lang.String open()
-
save
public java.lang.String save()
-
enterPathTitle
public java.lang.String enterPathTitle()
-
enterPath
public java.lang.String enterPath()
-
tooltipDirectory
public java.lang.String tooltipDirectory(java.nio.file.Path path)
-
tooltipFile
public java.lang.String tooltipFile(java.nio.file.Path path)
-
-