Index
All Classes|All Packages
C
- CachedSeekableStream - Class in uk.bl.wa.util
-
Seekable stream which uses block-based caching.
- CachedSeekableStream(SeekableStream, int, URI) - Constructor for class uk.bl.wa.util.CachedSeekableStream
- close() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
-
Releases resources for this resource.
- close() - Method in class uk.bl.wa.util.CachedSeekableStream
- close() - Method in class uk.bl.wa.util.SeekableStream
- CustomResultPrinter - Class in uk.gov.nationalarchives.droid.core
-
File identification results printer.
- CustomResultPrinter(BinarySignatureIdentifier, ContainerSignatureDefinitions, String, String, String, boolean) - Constructor for class uk.gov.nationalarchives.droid.core.CustomResultPrinter
-
Store signature files.
D
- detect(File) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- detect(InputStream, Metadata) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- detectPUIDs(File) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- detectPUIDs(InputStream, Metadata) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- DroidDetector - Class in uk.bl.wa.nanite.droid
-
Currently, this is the most complete DROID identifier code, that only uses DROID code.
- DroidDetector() - Constructor for class uk.bl.wa.nanite.droid.DroidDetector
-
Set up DROID resources
- DroidDetector(File, File) - Constructor for class uk.bl.wa.nanite.droid.DroidDetector
-
Allow caller to provide signature files rather than use the embedded ones.
- DroidDetectorUsageExample - Class in uk.bl.wa.nanite.droid
-
Example of using the DroidDetector directly.
- DroidDetectorUsageExample() - Constructor for class uk.bl.wa.nanite.droid.DroidDetectorUsageExample
- DroidSigUtils - Class in uk.gov.nationalarchives.droid.core
- DroidSigUtils() - Constructor for class uk.gov.nationalarchives.droid.core.DroidSigUtils
E
- eof() - Method in class uk.bl.wa.util.CachedSeekableStream
- eof() - Method in class uk.bl.wa.util.SeekableStream
- example() - Static method in class uk.bl.wa.util.Unpack
G
- getBinarySignatureFileVersion() - Method in class uk.bl.wa.nanite.droid.DroidDetector
-
Get the version of the binary signature file
- getBinarySignatureFileVersion() - Method in class uk.gov.nationalarchives.droid.core.CustomResultPrinter
- getBinarySignatures() - Method in class uk.bl.wa.nanite.droid.DroidDetector
-
Allow the binary signature file to be accessed directly.
- getByte(long) - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- getContainerSignatures() - Method in class uk.bl.wa.nanite.droid.DroidDetector
-
Allow the container signatures to be accessed directly.
- getExtension() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- getFileName() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- getIdentifier() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- getMaxBytesToScan() - Method in class uk.bl.wa.nanite.droid.DroidDetector
- getMimeTypeFromResult(IdentificationResult) - Static method in class uk.bl.wa.nanite.droid.DroidDetector
- getMimeTypeFromResults(List<IdentificationResult>) - Static method in class uk.bl.wa.nanite.droid.DroidDetector
-
TODO Choose 'vnd' Vendor-style MIME types over other options when there are many in each Result.
- getRequestMetaData() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- getResult() - Method in class uk.gov.nationalarchives.droid.core.CustomResultPrinter
- getSigFile(BinarySignatureIdentifier) - Static method in class uk.gov.nationalarchives.droid.core.DroidSigUtils
-
Allow external code to access the signature file directly.
- getSource() - Method in class uk.bl.wa.util.CachedSeekableStream
- getSource() - Method in class uk.bl.wa.util.SeekableStream
- getSourceInputStream() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- getWindowReader() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
I
- identify(byte[]) - Method in class uk.bl.wa.nanite.Nanite
- identify(InputStream, Metadata) - Method in class uk.bl.wa.nanite.Nanite
-
TODO How best to do this? Is this the right place to do the wrapping?
- InputStreamIdentificationRequest - Class in uk.bl.wa.nanite.droid
-
Just like WebArchiveEntryIdentificationRequest
- InputStreamIdentificationRequest(RequestMetaData, RequestIdentifier) - Constructor for class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- isAllowMatchByFileExtension() - Method in class uk.bl.wa.nanite.droid.DroidDetector
- isBinarySignaturesOnly() - Method in class uk.bl.wa.nanite.droid.DroidDetector
- isMatchAllExtensions() - Method in class uk.bl.wa.nanite.droid.DroidDetector
- isPassFilenameWithInputStream() - Method in class uk.bl.wa.nanite.droid.DroidDetector
L
- length() - Method in class uk.bl.wa.util.CachedSeekableStream
- length() - Method in class uk.bl.wa.util.SeekableStream
M
- main(String[]) - Static method in class uk.bl.wa.nanite.droid.DroidDetector
- main(String[]) - Static method in class uk.bl.wa.nanite.droid.DroidDetectorUsageExample
- main(String[]) - Static method in class uk.bl.wa.nanite.Nanite
- main(String[]) - Static method in class uk.bl.wa.util.Unpack
N
- Nanite - Class in uk.bl.wa.nanite
- Nanite() - Constructor for class uk.bl.wa.nanite.Nanite
O
- oldmain(String[]) - Static method in class uk.bl.wa.util.Unpack
- open(InputStream) - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
P
- position() - Method in class uk.bl.wa.util.CachedSeekableStream
- position() - Method in class uk.bl.wa.util.SeekableStream
- print(IdentificationResultCollection, IdentificationRequest) - Method in class uk.gov.nationalarchives.droid.core.CustomResultPrinter
-
Output identification for this file.
R
- read() - Method in class uk.bl.wa.util.CachedSeekableStream
-
Deprecated.
- read(byte[], int, int) - Method in class uk.bl.wa.util.CachedSeekableStream
- read(byte[], int, int) - Method in class uk.bl.wa.util.SeekableStream
- readFully(byte[]) - Method in class uk.bl.wa.util.SeekableStream
-
Read enough bytes to fill the input buffer.
- removeTempDir() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
-
Removes Tempdir
S
- seek(long) - Method in class uk.bl.wa.util.CachedSeekableStream
- seek(long) - Method in class uk.bl.wa.util.SeekableStream
- SeekableStream - Class in uk.bl.wa.util
- SeekableStream() - Constructor for class uk.bl.wa.util.SeekableStream
- setAllowMatchByFileExtension(boolean) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- setBinarySignaturesOnly(boolean) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- setMatchAllExtensions(boolean) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- setMaxBytesToScan(long) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- setPassFilenameWithInputStream(boolean) - Method in class uk.bl.wa.nanite.droid.DroidDetector
- size() - Method in class uk.bl.wa.nanite.droid.InputStreamIdentificationRequest
- streamToTemp(Class, String, boolean) - Static method in class uk.bl.wa.util.Unpack
U
- uk.bl.wa.nanite - package uk.bl.wa.nanite
- uk.bl.wa.nanite.droid - package uk.bl.wa.nanite.droid
- uk.bl.wa.util - package uk.bl.wa.util
- uk.gov.nationalarchives.droid.core - package uk.gov.nationalarchives.droid.core
- Unpack - Class in uk.bl.wa.util
- Unpack() - Constructor for class uk.bl.wa.util.Unpack
All Classes|All Packages
read(byte[] buffer, int offset, int length)
works correctly.