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

org.springframework.content.commons.io.DeletableResource Maven / Gradle / Ivy

There is a newer version: 3.0.15
Show newest version
package org.springframework.content.commons.io;

import java.io.IOException;

import org.springframework.core.io.Resource;

public interface DeletableResource extends Resource {

	/**
	 * Deletes the resource. 
*
* Returns true if the deletion was successful, otherwise false. If the operation * returns true then the resource handle itself must be considered unreliable and * should be discarded. * @throws IOException when the resource cant be deleted */ void delete() throws IOException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy