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

de.schlichtherle.truezip.socket.OutputEntry 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;

/**
 * An entry which provides output sockets.
 *
 * @param    the type of this output entry.
 * @see     InputEntry
 * @author  Christian Schlichtherle
 */
public interface OutputEntry> extends Entry {

    /**
     * Returns an output socket for writing this entry.
     * The method {@link InputSocket#getLocalTarget()} of the returned socket
     * must return this entry.
     *
     * @return An output socket for writing this entry.
     */
    // TODO: Declare to return OutputSocket
    OutputSocket getOutputSocket();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy