Package uk.gov.nationalarchives.droid.core.interfaces.resource

Examples of uk.gov.nationalarchives.droid.core.interfaces.resource.ZipEntryIdentificationRequest


     * {@inheritDoc}
     */
    @Override
    public final ZipEntryIdentificationRequest newRequest(RequestMetaData metaData, RequestIdentifier identifier) {
       
        final ZipEntryIdentificationRequest request = new ZipEntryIdentificationRequest(
                metaData, identifier, getTempDirLocation());
        return request;
    }
View Full Code Here


                while ((entry = (ZipArchiveEntry) in.getNextZipEntry()) != null) {
                    final String name = entry.getName();
                    if (!entry.isDirectory()) {
                        final RequestMetaData metaData = new RequestMetaData(1L, 2L, name);
                        final RequestIdentifier identifier = new RequestIdentifier(uri);
                        final ZipEntryIdentificationRequest zipRequest =
                            new ZipEntryIdentificationRequest(metaData, identifier, tmpDir);
                       
                        zipRequest.open(in);
                        final IdentificationResultCollection zipResults =
                                binarySignatureIdentifier.matchBinarySignatures(zipRequest);
                        final ResultPrinter resultPrinter =
                                new ResultPrinter(binarySignatureIdentifier,
                                    containerSignatureDefinitions, newPath, slash, slash1, true);
View Full Code Here

TOP

Related Classes of uk.gov.nationalarchives.droid.core.interfaces.resource.ZipEntryIdentificationRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.