Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.archive.uid

A unique ID generator.

See:
Description

Interface Summary
Generator | A `record-id` generator.

Class Summary
GeneratorFactory | Factory that generates uids.
UUIDGenerator | Generates UUIDs, using `java.util.UUID`, formatted as URNs from the UUID namespace [See RFC4122].

## Package org.archive.uid Description

A unique ID generator. Default is `UUIDGenerator`. To use another ID Generator, set the System Property `org.archive.uid.GeneratorFactory.generator` to point at an alternate implementation of `Generator`.

## TODO

- MIME boundaries have upper-bound of 70 characters total including 'blank line' (`CRLFCRLF`) and two leading hyphens. Add to `Generator` interface an upper-bound on generated ID length.
- Add example of an actionable uid generator: e.g. `http://archive.org/UID-SCHEME/ID` where scheme might be `UUID` and an ID might be `f9472055-fbb6-4810-90e8-68fd39e145a6;type=metadata` or, using ARK: `http://archive.org/ark:/13030/f9472055-fbb6-4810-90e8-68fd39e145a6;type=metadata`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2003-2008 Internet Archive. All Rights Reserved.