Interface SizedDataSource
-
- All Superinterfaces:
javax.activation.DataSource
public interface SizedDataSource extends javax.activation.DataSource
An extension of thejavax.activation.DataSource
that provides the size information of the binary input stream.- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getSize()
Returns the number of bytes that can be retrieved bygetInputStream()
The method can be called more than once.
-