All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.schlichtherle.truezip.crypto.raes.RaesParametersProvider Maven / Gradle / Ivy

/*
 * Copyright (C) 2006-2011 Schlichtherle IT Services
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package de.schlichtherle.truezip.crypto.raes;

import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.DefaultAnnotation;
import edu.umd.cs.findbugs.annotations.NonNull;

/**
 * These {@link RaesParameters} delegate to some other instance of a
 * sibling interface or itself in order to locate the parameters required to
 * read or write a RAES file of a given type.
 * This enables implementations to retrieve RAES parameters on demand
 * rather than providing them upfront for any possible type.
 * 

* Implementations do not need to be safe for multi-threading. * * @author Christian Schlichtherle * @version $Id$ */ @DefaultAnnotation(NonNull.class) public interface RaesParametersProvider extends RaesParameters { /** * Returns {@link RaesParameters} of the given {@code type} * or {@code null} if not available. * * @param type the {@link RaesParameters} interface class which's * implementation is searched. * @return {@link RaesParameters} of the given {@code type} * or {@code null} if not available. */ @CheckForNull

P get(Class

type); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy