Java Code Examples for com.sun.javafx.binding.StringFormatter

The following examples show how to use com.sun.javafx.binding.StringFormatter. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
public String marketLink(@RequestParam String petId, HttpServletResponse response) {
    Pet pet = store.queryPetById(petId);
    if (pet == null) {
        return "没有在市场上找到这只狗狗。";
    response.sendRedirect(StringFormatter.format(MARKET_LINK_FORMAT, pet.getPetId(), pet.getValidCode()).getValue());
    return "";