Skip navigation links


com.essbase.eas.ui.email
Class EMailFileDataSource

java.lang.Object
  extended by com.essbase.eas.ui.email.EMailFileDataSource

All Implemented Interfaces:
javax.activation.DataSource

public class EMailFileDataSource
extends java.lang.Object
implements javax.activation.DataSource

Constructor Summary
EMailFileDataSource(java.io.File file)
           

 

Method Summary
 void dispose()
           
 java.lang.String getContentType()
           
 java.io.File getFile()
           
 java.io.InputStream getInputStream()
          Get the input stream.
 java.lang.String getName()
          Get the name.
 java.io.OutputStream getOutputStream()
          Get the output stream.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EMailFileDataSource

public EMailFileDataSource(java.io.File file)

Method Detail

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.activation.DataSource

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Get the input stream.
Specified by:
getInputStream in interface javax.activation.DataSource
Returns:
An InputStream.
Throws:
IOException.
java.io.IOException

getName

public java.lang.String getName()
Get the name.
Specified by:
getName in interface javax.activation.DataSource
Returns:
A String.

getFile

public java.io.File getFile()

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Get the output stream.
Specified by:
getOutputStream in interface javax.activation.DataSource
Returns:
An OutputStream.
Throws:
IOException.
java.io.IOException

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.