f4b6a3 / uuid-creator

UUID Creator is a Java library for generating Universally Unique Identifiers.
MIT License
430 stars 44 forks source link

add UuidCreator namespace somewhere #15

Closed xenoterracide closed 4 years ago

xenoterracide commented 4 years ago

for some reason intellij didn't want to auto import, so I had to go digging in the source. Would be good to add it to the doc.

fabiolimace commented 4 years ago

@xenoterracide Caleb Cushing,

I added public constants into UuidCreator to hold the predefined name spaces and local domains. I hope it can fix the problem for Intellij developers.

I also 'unlocked' more methods into UuidCreator to generate name-based and DCE security UUIDs. Maybe it will be useful for developers that need more than the predefined name spaces and local domains. Now they can use their own custom values, with no need to import the internal UUID creators (NameBasedMd5UuidCreator, NameBasedSha1UuidCreator and DceSecuriteUuidCreator).

Add public constants to 'UuidCreator':

Add methods to 'UuidCreator':

Thank you!

fabiolimace commented 4 years ago

Version 2.3.0 will be available on maven central today.