Example usage for javax.activation DataSource interface-usage

List of usage examples for javax.activation DataSource interface-usage

Introduction

In this page you can find the example usage for javax.activation DataSource interface-usage.

Usage

From source file com.enonic.esl.activation.FileItemDataSource.java

/**
 * File item data source.
 */
public final class FileItemDataSource implements DataSource {

    /**

From source file org.collectionspace.chain.csp.persistence.services.StreamDataSource.java

public class StreamDataSource implements DataSource {
    private String mime_type;
    private byte[] data;

    public StreamDataSource(InputStream source, String mime_type) throws IOException {
        this.mime_type = mime_type;

From source file com.webbfontaine.valuewebb.irms.impl.data.AttachedDocDataSource.java

public class AttachedDocDataSource implements DataSource, EncodingAware {

    private static final Logger LOGGER = LoggerFactory.getLogger(AttachedDocDataSource.class);

    private static final String SELECT_QUERY = "SELECT DOC_RES FROM TT_DOC WHERE DOC_ID=?";

From source file org.wso2.carbon.utils.FileItemDataSource.java

public class FileItemDataSource implements DataSource {

    private FileItem fileItem;

    public FileItemDataSource(FileItem fileItem) {
        this.fileItem = fileItem;

From source file org.sakaiproject.feedback.util.FileItemDataSource.java

/**
 * Proxy to allow FileItems to be used as DataSources for attachments.
 */
public class FileItemDataSource implements DataSource {

    private FileItem fileItem;

From source file lucee.runtime.net.smtp.StringDataSource.java

public class StringDataSource implements DataSource {

    private String text;
    private String ct;
    private String charset;

From source file org.apache.axis2.builder.FileItemDataSource.java

public class FileItemDataSource implements DataSource {

    private final FileItem fileItem;

    public FileItemDataSource(FileItem diskFileItem) {
        this.fileItem = diskFileItem;

From source file org.apache.axis2.builder.DiskFileDataSource.java

public class DiskFileDataSource implements DataSource {

    private DiskFileItem diskFileItem;

    public DiskFileDataSource(DiskFileItem diskFileItem) {
        this.diskFileItem = diskFileItem;

From source file ddf.common.ResourceDataSource.java

/**
 * The Class ProductDataSource.
 */
public class ResourceDataSource implements DataSource {

    /** The content type. */

From source file com.bradmcevoy.http.upload.FileItemExt.java

public class FileItemExt implements DataSource, FileItem {

    private static final long serialVersionUID = 1L;

    private final FileItem item;