Here you can find the source of generateUri()
public static String generateUri()
//package com.java2s; //License from project: Open Source License import java.util.UUID; public class Main { private static final String PREFIX = "scipub:"; public static String generateUri() { return PREFIX + UUID.randomUUID().toString(); }/*from w w w . j av a 2 s.c om*/ }