|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.uuid.VersionFourGenerator
public final class VersionFourGenerator
XXX begin modification by stefan@apache.org
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
VersionFourGenerator()
Deprecated. Constructs a new VersionFourGenerator. |
|
| Method Summary | |
|---|---|
UUID |
nextIdentifier()
Deprecated. Returns a new version four UUID. |
UUID |
nextIdentifier(boolean secure)
Deprecated. Returns a new version four UUID. |
static void |
setPRNGProvider(java.lang.String prngName,
java.lang.String packageName)
Deprecated. Allows clients to set the pseudo-random number generator implementation used when generating a version four uuid with the secure option. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionFourGenerator()
Constructs a new VersionFourGenerator.
| Method Detail |
|---|
public UUID nextIdentifier()
public UUID nextIdentifier(boolean secure)
Returns a new version four UUID.
This overloaded method may produce both UUID's using a SecureRandom as well as using normal
Random
secure - indicates whether or not to use SecureRandom in generating the random bits.
Random or SecureRandom.
public static void setPRNGProvider(java.lang.String prngName,
java.lang.String packageName)
Allows clients to set the pseudo-random number generator implementation used when generating a version four uuid with
the secure option. The secure option uses a SecureRandom. The packageName string may be null to specify
no preferred package.
prngName - the pseudo-random number generator implementation name. For example "SHA1PRNG".packageName - the package name for the PRNG provider. For example "SUN".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||