Package com.sun.xml.ws.encoding
Class DataSourceStreamingDataHandler
- java.lang.Object
-
- jakarta.activation.DataHandler
-
- org.jvnet.staxex.StreamingDataHandler
-
- com.sun.xml.ws.developer.StreamingDataHandler
-
- com.sun.xml.ws.encoding.DataSourceStreamingDataHandler
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class DataSourceStreamingDataHandler extends StreamingDataHandler
- Author:
- Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description DataSourceStreamingDataHandler(jakarta.activation.DataSource ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidmoveTo(File file)InputStreamreadOnce()-
Methods inherited from class jakarta.activation.DataHandler
getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTo
-
-
-
-
Method Detail
-
readOnce
public InputStream readOnce() throws IOException
- Specified by:
readOncein classorg.jvnet.staxex.StreamingDataHandler- Throws:
IOException
-
moveTo
public void moveTo(File file) throws IOException
- Specified by:
moveToin classorg.jvnet.staxex.StreamingDataHandler- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classorg.jvnet.staxex.StreamingDataHandler- Throws:
IOException
-
-