1 package org.codehaus.plexus.archiver.manager; 2 3 /* 4 * Copyright (C) 2011-2016, Neticoa SAS France - Tous droits réservés. 5 * Author(s) : Franck Bonin, Neticoa SAS France 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 */ 20 21 22 import java.io.File; 23 24 //import javax.annotation.Nonnull; 25 26 import org.codehaus.plexus.archiver.ArchiveContentLister; 27 28 /** 29 * @author Franck Bonin 30 * @version $Revision$ $Date$ 31 */ 32 public interface ArchiveContentListerManager 33 { 34 String ROLE = ArchiveContentListerManager.class.getName(); 35 36 ArchiveContentLister getArchiveContentLister( String archiveContentListerName ) 37 throws NoSuchArchiverException; 38 39 ArchiveContentLister getArchiveContentLister( File file ) 40 throws NoSuchArchiverException; 41 42 /*@Nonnull Archiver getArchiver( @Nonnull String archiverName ) 43 throws NoSuchArchiverException; 44 45 @Nonnull Archiver getArchiver( @Nonnull File file ) 46 throws NoSuchArchiverException; 47 48 @Nonnull UnArchiver getUnArchiver( @Nonnull String unArchiverName ) 49 throws NoSuchArchiverException; 50 51 @Nonnull UnArchiver getUnArchiver( @Nonnull File file ) 52 throws NoSuchArchiverException; 53 54 @Nonnull PlexusIoResourceCollection getResourceCollection( @Nonnull File file ) 55 throws NoSuchArchiverException; 56 57 @Nonnull 58 PlexusIoResourceCollection getResourceCollection( String unArchiverName ) 59 throws NoSuchArchiverException;*/ 60 }