net.fortuna.ical4j.util
Class UidGenerator
java.lang.Object
net.fortuna.ical4j.util.UidGenerator
public class UidGenerator
- extends Object
$Id$
Created on 11/03/2007
Generates Uid properties in a similar fashion to that recommended in section 4.8.4.7 of the specification.
- Author:
- Ben Fortuna
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UidGenerator
public UidGenerator(String pid)
throws SocketException
- Parameters:
pid - a unique process identifier for the host machine
- Throws:
SocketException - where host information cannot be retrieved
UidGenerator
public UidGenerator(HostInfo hostInfo,
String pid)
- Parameters:
hostInfo - custom host informationpid - a unique process identifier for the host machine
generateUid
public Uid generateUid()
- Returns:
- a unique component identifier
Copyright © 2004-2011 Micronode. All Rights Reserved.