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

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

There is a newer version: 1.1
Show newest version
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
     * @throws IOException
     */
    void reposition(long skipBytes) throws IOException;

    boolean hasMoreByteRanges();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy