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

org.carlspring.commons.io.reloading.Repositioning Maven / Gradle / Ivy

package org.carlspring.commons.io.reloading;

import java.io.IOException;

/**
 * @author mtodorov
 */
public interface Repositioning
{

    /**
     * Reposition automatically based on the list of byte ranges.
     *
     * @throws IOException
     */
    void reposition() throws IOException;

    /**
     * Reposition manually.
     *
     * @param skipBytes
     */
    void reposition(long skipBytes);

    boolean hasMoreByteRanges();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy