com.sun.xml.ws.encoding
Class DataSourceStreamingDataHandler

java.lang.Object
  extended by javax.activation.DataHandler
      extended by org.jvnet.staxex.StreamingDataHandler
          extended by com.sun.xml.ws.developer.StreamingDataHandler
              extended by com.sun.xml.ws.encoding.DataSourceStreamingDataHandler
All Implemented Interfaces:
Transferable, Closeable

public class DataSourceStreamingDataHandler
extends StreamingDataHandler


Constructor Summary
DataSourceStreamingDataHandler(javax.activation.DataSource ds)
           
 
Method Summary
 void close()
           
 void moveTo(File file)
           
 InputStream readOnce()
           
 
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
 

Constructor Detail

DataSourceStreamingDataHandler

public DataSourceStreamingDataHandler(javax.activation.DataSource ds)
Method Detail

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.