Package net.fortuna.ical4j.util
Class FixedUidGenerator
java.lang.Object
net.fortuna.ical4j.util.FixedUidGenerator
- All Implemented Interfaces:
UidGenerator
$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.-
Constructor Summary
ConstructorsConstructorDescriptionFixedUidGenerator(String pid) FixedUidGenerator(HostInfo hostInfo, String pid) -
Method Summary
-
Constructor Details
-
FixedUidGenerator
- Parameters:
pid- a unique process identifier for the host machine- Throws:
SocketException- where host information cannot be retrieved
-
FixedUidGenerator
- Parameters:
hostInfo- custom host informationpid- a unique process identifier for the host machine
-
-
Method Details
-
generateUid
- Specified by:
generateUidin interfaceUidGenerator- Returns:
- a unique component identifier
-