org.carlspring.commons.io.reloading.Repositioning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-io Show documentation
Show all versions of commons-io Show documentation
A set of common IO classes
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();
}