public static String getRepeatString(int repeatTime, String metaString)
  {
    String repeatString = null;
    if ((repeatTime > 0) && (metaString != null)) {
      int intMetatStringLength = metaString.length();
      if (intMetatStringLength == 0) {
        repeatString = "";
      } else {
        StringBuffer tempStringBuffer = new StringBuffer(repeatTime * intMetatStringLength);

        for (int i = 0; i < repeatTime; i++) {
          tempStringBuffer.append(metaString);
        }
        repeatString = tempStringBuffer.toString();
      }
    }
    return repeatString;
  }