code: public static String mask(final String mask, final String value)
      {
          return maskFormat(mask).format(value);
      }
docs: <p>
  Formats the given text with the mask specified.
  </p>
  
  @param mask
  The pattern mask.
  @param value
  The text to be masked
  @return The formatted text
  @see MaskFormat