resourcebundle


How do I have to format a choice in ResourceBundle?


How do I have to format an entry in a ResourceBundle to get values less than 0, 0 and greater than 0?
I tried it this way:
my.key = Data for ''{1}'' {0,choice,0>{0,number,integer} could not be modified|0#successfully modified|0<{0,number,integer could not be modified}!
But I always get an java.lang.Illegal ArgumentException.
I use MessageFormat this way:
int status = init with for instance -1 / 0 / 1...
mf.format(new Object[]{status, name});

Related Links

How do I have to format a choice in ResourceBundle?

Categories

HOME
deep-learning
jmeter
character-encoding
vscode-extensions
ms-access-2016
static-site
yandex
visual-studio-emulator
echo
azure-container-service
extjs4.2
augeas
google-schemas
owin
github-enterprise
ycsb
intercom
comsol
atlassian
google-content-api
google-container-registry
cfml
rubymotion
angular-routing
easeljs
event-store
flask-sqlalchemy
xunit
data.stackexchange.com
flooding
jasmine-node
calculation
recurring-events
quickfixj
android-maps-extensions
browser-extension
parse-tree
nohup
filesystemwatcher
resolution
stringtokenizer
softmax
naming
android-checkbox
importerror
clang++
apache-directory
rfc3339
phpdbg
vaadin-elements
ovf
launchctl
tinymce-3
bluez
wpas
subnet
django-1.10
ampps
sandcastle
qtplugin
gogs
cassia
turbo-prolog
findfirst
spring-retry
tfs-workitem
iokit
avisynth
fuelcms
coda
evolus-pencil
eoferror
haskell-warp
ocra
git-ftp
grouping-sets
ejb-2.x
buffering
cfcache
script#
nebula
epiceditor
twisted.web
mkv
dajaxice
adobe-media-server
usertype
kqueue
role
exponentiation
multiplatform
http-daemon
mtu
application-verifier
dojo-dnd
xslcompiledtransform
contentpresenter
cardspace

Resources

Encrypt Message