uPortal 2.3.2
API Documentation

org.jasig.portal
Class MultipartDataSource

java.lang.Object
  extended byorg.jasig.portal.MultipartDataSource
All Implemented Interfaces:
javax.activation.DataSource

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


Constructor Summary
MultipartDataSource(com.oreilly.servlet.multipart.FilePart filePart)
           
 
Method Summary
 void finalize()
           
 java.lang.String getContentType()
           
 java.io.File getFile()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 void setFileTypeMap(javax.activation.FileTypeMap p0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartDataSource

public MultipartDataSource(com.oreilly.servlet.multipart.FilePart filePart)
                    throws java.io.IOException
Method Detail

finalize

public void finalize()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface javax.activation.DataSource
Throws:
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Specified by:
getOutputStream in interface javax.activation.DataSource
Throws:
java.io.IOException

getContentType

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

getName

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

getFile

public java.io.File getFile()
                     throws java.lang.Exception
Throws:
java.lang.Exception

setFileTypeMap

public void setFileTypeMap(javax.activation.FileTypeMap p0)
                    throws java.lang.Exception
Throws:
java.lang.Exception

uPortal 2.3.2
API Documentation