Here you can find the source of generatorTransactionPath(String namespace)
public static String generatorTransactionPath(String namespace)
//package com.java2s; //License from project: Apache License import java.util.UUID; public class Main { public static String generatorTransactionPath() { StringBuilder builder = new StringBuilder(); builder.append("/").append(generateStringUuid()); return builder.toString(); }// w w w. j a va2 s .co m public static String generatorTransactionPath(String namespace) { StringBuilder builder = new StringBuilder(); builder.append("/").append(namespace).append("/").append(generateStringUuid()); return builder.toString(); } /** * String uuid */ public static String generateStringUuid() { return UUID.randomUUID().toString().replace("-", "").toUpperCase(); } }