Project

General

Profile

Download (742 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy 
4
* http://www.e-taxonomy.eu
5
* 
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.common;
10

    
11
import java.util.UUID;
12

    
13
import org.apache.log4j.Logger;
14

    
15
/**
16
 * 
17
 * @author a.mueller
18
 */
19
public class UuidGenerator {
20
	private static final Logger logger = Logger.getLogger(UuidGenerator.class);
21
	
22
	/**
23
	 * @param args
24
	 */
25
	public static void main(String[] args) {
26
		if (logger.isDebugEnabled()){logger.debug("create UUIDs");}
27
		for (int i = 0; i < 10; i++){
28
			System.out.println(UUID.randomUUID());
29
		}
30
	}
31

    
32
}
(3-3/4)