protected static class DataSourceProvider.SequencedDataSource extends Object implements DataSource
| Modifier | Constructor and Description |
|---|---|
protected |
SequencedDataSource(byte[] byteBuffer,
int byteBufferOffset,
int byteBufferLength,
File tempFile,
String type) |
protected |
SequencedDataSource(byte[] byteBuffer,
int byteBufferOffset,
int byteBufferLength,
Path tempFile,
String type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
protected SequencedDataSource(byte[] byteBuffer,
int byteBufferOffset,
int byteBufferLength,
File tempFile,
String type)
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionCopyright © 2023 JBoss by Red Hat. All rights reserved.