com.sun.xml.ws.encoding
Class DataSourceStreamingDataHandler
java.lang.Object
javax.activation.DataHandler
org.jvnet.staxex.StreamingDataHandler
com.sun.xml.ws.developer.StreamingDataHandler
com.sun.xml.ws.encoding.DataSourceStreamingDataHandler
- All Implemented Interfaces:
- Transferable, Closeable
public class DataSourceStreamingDataHandler
- extends StreamingDataHandler
| Methods inherited from class javax.activation.DataHandler |
getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceStreamingDataHandler
public DataSourceStreamingDataHandler(DataSource ds)
readOnce
public InputStream readOnce()
throws IOException
- Specified by:
readOnce in class org.jvnet.staxex.StreamingDataHandler
- Throws:
IOException
moveTo
public void moveTo(File file)
throws IOException
- Specified by:
moveTo in class org.jvnet.staxex.StreamingDataHandler
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in class org.jvnet.staxex.StreamingDataHandler
- Throws:
IOException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.