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 DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public String getContentType()
getContentType
in interface DataSource
public DataSource getWrappedSource()
public static String encode(String str)
Copyright © 2003–2019 Atlassian. All rights reserved.