List of usage examples for javax.activation DataSource interface-usage
From source file org.mule.transport.email.transformers.PlainTextDataSource.java
public class PlainTextDataSource implements DataSource { public static final String CONTENT_TYPE = "text/plain"; private final String name; private byte[] data; private ByteArrayOutputStream os;
From source file org.apache.padaf.preflight.util.ByteArrayDataSource.java
public class ByteArrayDataSource implements DataSource { private ByteArrayOutputStream data; private String type = null; private String name = null; public ByteArrayDataSource(InputStream is) throws IOException {
From source file org.apache.pdfbox.preflight.util.ByteArrayDataSource.java
public class ByteArrayDataSource implements DataSource { private ByteArrayOutputStream data; private String type = null; private String name = null; public ByteArrayDataSource(InputStream is) throws IOException {
From source file org.apache.pdfbox.preflight.utils.ByteArrayDataSource.java
public class ByteArrayDataSource implements DataSource { private ByteArrayOutputStream data; private String type = null; private String name = null; public ByteArrayDataSource(InputStream is) throws IOException {
From source file net.padaf.preflight.util.ByteArrayDataSource.java
public class ByteArrayDataSource implements DataSource { private ByteArrayOutputStream data; private String type = null; private String name = null; public ByteArrayDataSource(InputStream is) throws IOException {
From source file com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.XOPPartDataSource.java
/**
* DataSource for XOP/MTOM attachments
*
* @author ole.matzura
*/
From source file net.dataforte.cohesive.CSVExporter.java
/** * This class implements a CSV exporter * * @author Tristan Tarrant */ public class CSVExporter implements DataSource {
From source file com.adaptris.util.text.mime.ReadonlyFileDataSource.java
class ReadonlyFileDataSource implements DataSource, Closeable, MimeConstants, MimeHeaders { private transient File wrappedFile; private transient List<SharedFileInputStream> children; private transient InternetHeaders headers; private transient String contentType = null;
From source file com.youxifan.utils.ByteArrayDataSource.java
/**
* A DataSource based on the Java Mail Example.
* This class implements a DataSource from:
* an InputStream
* a byte array
* a String
From source file com.gamesalutes.utils.StreamDataSource.java
/**
* <code>DataSource</code> for an arbitrary stream. MIME type will be "application/octet-stream" unless
* indicated otherwise.
*
* @author Justin Montgomery
* @version $Id:$