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

com.peterphi.std.io.ICopyProgressMonitor Maven / Gradle / Ivy

There is a newer version: 10.1.5
Show newest version
package com.peterphi.std.io;

public interface ICopyProgressMonitor
{
	/**
	 * A method which MAY be called to inform the monitor of the total size
	 *
	 * @param bytes
	 */
	public void size(long bytes);


	public void start();


	/**
	 * A method which MAY be called to inform the monitor of the block size
	 *
	 * @param size
	 */
	public void blocksize(int size);


	public void progress(long bytes);


	public void failure();


	public void complete();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy