Interface ItemStreamDescriptor
-
- All Known Implementing Classes:
StreamDescriptor
public interface ItemStreamDescriptorThe Interface ItemStreamDescriptor.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Oct 4, 2018
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetItemName()Gets the item name.StringgetMimeType()Gets the mime type.LonggetSize()Gets the size.InputStreamgetStream()Gets the stream.
-
-
-
Method Detail
-
getStream
InputStream getStream()
Gets the stream.- Returns:
- the stream
-
getItemName
String getItemName()
Gets the item name. It can be a file or a folder- Returns:
- the item name
-
getSize
Long getSize()
Gets the size.- Returns:
- the size
-
getMimeType
String getMimeType()
Gets the mime type.- Returns:
- the mime type
-
-