Here you can find the source of getRandomNumberStringBase36(int strLen)
public static String getRandomNumberStringBase36(int strLen)
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { private static Random rnd = new Random(); private final static String digitsBase36 = "0123456789abcdefghijklmnopqrstuvwxyz"; public static String getRandomNumberStringBase36(int strLen) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < strLen; i++) { sb.append(digitsBase36.charAt(rnd.nextInt(36))); }/*from w w w.j a v a2s . c om*/ return sb.toString(); } }