public class PRFileDataSource
extends java.lang.Object
implements javax.activation.DataSource
javax.activation.DataSource
for PRFile streams.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Constructor and Description |
---|
PRFileDataSource(java.lang.String aContentType,
PRFile aSource) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.io.OutputStream |
getOutputStream() |
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public PRFileDataSource(java.lang.String aContentType, PRFile aSource)
public java.lang.String getContentType()
getContentType
in interface javax.activation.DataSource
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.activation.DataSource
java.io.IOException
public java.lang.String getName()
getName
in interface javax.activation.DataSource
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface javax.activation.DataSource
java.io.IOException
Copyright © 2018 Pegasystems Inc. All Rights Reserved.