EmptyDataSource¶
-
public class
EmptyDataSource
implements DataSource¶ NullDataSource is an implementation of the javax.activation.DataSource that represents a empty, but not null. datasource Creation Date: 7/11/2006
Author: Twinsen Tsang
Constructors¶
Methods¶
getInputStream¶
-
public InputStream
getInputStream
()¶ This method will return an InputStream representing the the data and will throw an IOException if it can not do so. This method will return a new instance of NullInputStream with each invocation
See also:
hk.hku.cecid.edi.sfrm.io.NullInputStream
getOutputStream¶
-
public OutputStream
getOutputStream
()¶ This method always throw IO exception.
Throws: - IOException – as output stream is not supported by this data source.