com.pega.pegarules.pub.util
Class PRFileDataSource
java.lang.Object
com.pega.pegarules.pub.util.PRFileDataSource
- All Implemented Interfaces:
- javax.activation.DataSource
public class PRFileDataSource
- extends java.lang.Object
- implements javax.activation.DataSource
Implementation of javax.activation.DataSource
for PRFile streams.
- Version:
- $Revision: 2 $
- Author:
- dassu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
PRFileDataSource
public PRFileDataSource(java.lang.String aContentType,
PRFile aSource)
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface javax.activation.DataSource
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Specified by:
getName
in interface javax.activation.DataSource
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface javax.activation.DataSource
- Throws:
java.io.IOException
Copyright © 2012 Pegasystems Inc. All Rights Reserved.