You can buy this project and download/modify it how often you want.
org.apache.fop.util.text Package Message formatting classes.
Message formatting classes.