public class DataSourceStreamingDataHandler extends StreamingDataHandler
| Constructor and Description |
|---|
DataSourceStreamingDataHandler(DataSource ds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
moveTo(File file) |
InputStream |
readOnce() |
getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTopublic DataSourceStreamingDataHandler(DataSource ds)
public InputStream readOnce() throws IOException
readOnce in class org.jvnet.staxex.StreamingDataHandlerIOExceptionpublic void moveTo(File file) throws IOException
moveTo in class org.jvnet.staxex.StreamingDataHandlerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.jvnet.staxex.StreamingDataHandlerIOExceptionCopyright © 2015 Oracle Corporation. All rights reserved.