Skip navigation links
com.essbase.eas.ui.email
Class EMailFileDataSource
java.lang.Object
com.essbase.eas.ui.email.EMailFileDataSource
- All Implemented Interfaces:
- javax.activation.DataSource
-
public class EMailFileDataSource
- extends java.lang.Object
- implements javax.activation.DataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMailFileDataSource
public EMailFileDataSource(java.io.File file)
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, 2007, Oracle. All rights reserved.