Here you can find the source of str(final String messageFormat, final Object... args)
public static String str(final String messageFormat, final Object... args)
//package com.java2s; //License from project: Open Source License import java.text.MessageFormat; public class Main { /**/*from w w w .ja va 2 s . com*/ * Convenience shortcut for {@link MessageFormat#format(String, Object...)}. Great for static imports. */ public static String str(final String messageFormat, final Object... args) { return MessageFormat.format(messageFormat, args); } }