35 lines
515 B
Java
35 lines
515 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.common.storagehubwrapper.shared.tohl.items;
|
|
|
|
import java.io.InputStream;
|
|
|
|
|
|
/**
|
|
* The Interface ItemStreamDescriptor.
|
|
*
|
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
|
* Oct 4, 2018
|
|
*/
|
|
public interface ItemStreamDescriptor {
|
|
|
|
/**
|
|
* Gets the stream.
|
|
*
|
|
* @return the stream
|
|
*/
|
|
public InputStream getStream();
|
|
|
|
|
|
/**
|
|
* Gets the item name.
|
|
* It can be a file or a folder
|
|
*
|
|
* @return the item name
|
|
*/
|
|
public String getItemName();
|
|
|
|
|
|
}
|