public class MimeBodyPartDataSource extends Object implements DataSource
| Constructor and Description |
|---|
MimeBodyPartDataSource(DataSource source) |
| Modifier and Type | Method and Description |
|---|---|
static String |
encode(String str)
Plugin datasources often include : as a separator, e.g.
|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
DataSource |
getWrappedSource() |
public MimeBodyPartDataSource(DataSource source)
public String getName()
getName in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic String getContentType()
getContentType in interface DataSourcepublic DataSource getWrappedSource()
public static String encode(String str)
Copyright © 2003–2017 Atlassian. All rights reserved.