Package net.fortuna.ical4j.util
Class FixedUidGenerator
- java.lang.Object
-
- net.fortuna.ical4j.util.FixedUidGenerator
-
- All Implemented Interfaces:
UidGenerator
public class FixedUidGenerator extends Object implements UidGenerator
$Id$ Created on 11/03/2007 GeneratesUid
properties in a similar fashion to that recommended in section 4.8.4.7 of the specification.
-
-
Constructor Summary
Constructors Constructor Description FixedUidGenerator(String pid)
FixedUidGenerator(HostInfo hostInfo, String pid)
-
-
-
Constructor Detail
-
FixedUidGenerator
public FixedUidGenerator(String pid) throws SocketException
- Parameters:
pid
- a unique process identifier for the host machine- Throws:
SocketException
- where host information cannot be retrieved
-
-
Method Detail
-
generateUid
public Uid generateUid()
- Specified by:
generateUid
in interfaceUidGenerator
- Returns:
- a unique component identifier
-
-