
com.adobe.forms.common.service.PrefillData Maven / Gradle / Ivy
/*
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2016 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by all applicable intellectual property
* laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
*/
package com.adobe.forms.common.service;
import java.io.InputStream;
/**
* The PrefillData captures the set of parameters returned by the FormDataProviderRegistry.
* The following options are supported currently
* contentType : content type of the data.
* inputStream : input stream of the service.
*/
public class PrefillData{
private InputStream inputStream;
private ContentType contentType;
public PrefillData() {
}
public PrefillData(InputStream inputStream, ContentType contentType) {
this.inputStream = inputStream;
this.contentType = contentType;
}
/**
* Returns the content type
* @return content type
*/
public ContentType getContentType() {
return contentType;
}
/**
* Returns the input stream
* @return input stream
*/
public InputStream getInputStream() {
return inputStream;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy