de.schlichtherle.truezip.socket.InputShop Maven / Gradle / Ivy
/*
* Copyright (C) 2005-2015 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package de.schlichtherle.truezip.socket;
import de.schlichtherle.truezip.entry.Entry;
import edu.umd.cs.findbugs.annotations.CleanupObligation;
import edu.umd.cs.findbugs.annotations.DischargesObligation;
import java.io.Closeable;
import java.io.IOException;
/**
* A closable input service.
*
* @param the type of the entries.
* @see OutputShop
* @author Christian Schlichtherle
*/
//TODO: Consider renaming to InputArchive
@CleanupObligation
public interface InputShop extends Closeable, InputService {
@Override
@DischargesObligation
void close() throws IOException;
}