public final class XOPPartDataSource extends Object implements DataSource
Constructor and Description |
---|
XOPPartDataSource(File source,
String contentType,
org.apache.xmlbeans.SchemaType schemaType) |
XOPPartDataSource(String content,
String contentType,
org.apache.xmlbeans.SchemaType schemaType) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public XOPPartDataSource(String content, String contentType, org.apache.xmlbeans.SchemaType schemaType)
public String getContentType()
getContentType
in interface DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
Copyright © 2019. All Rights Reserved.