org.jasig.portal
Class MultipartDataSource

java.lang.Object
  extended by org.jasig.portal.MultipartDataSource
All Implemented Interfaces:
DataSource

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class MultipartDataSource
extends Object
implements DataSource


Constructor Summary
MultipartDataSource(MultipartFile multipartFile)
          Deprecated.  
MultipartDataSource(String fileName, String errorMessage)
          Deprecated.  
 
Method Summary
 void dispose()
          Deprecated. Releases tempfile associated with this object any memory they consume will be returned to the OS.
 String getContentType()
          Deprecated.  
 String getErrorMessage()
          Deprecated.  
 InputStream getInputStream()
          Deprecated.  
 String getName()
          Deprecated.  
 OutputStream getOutputStream()
          Deprecated.  
 boolean isAvailable()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartDataSource

public MultipartDataSource(MultipartFile multipartFile)
Deprecated. 

MultipartDataSource

public MultipartDataSource(String fileName,
                           String errorMessage)
Deprecated. 
Method Detail

isAvailable

public boolean isAvailable()
Deprecated. 

dispose

public void dispose()
Deprecated. 
Releases tempfile associated with this object any memory they consume will be returned to the OS.

Since:
uPortal 2.5. Prior to uPortal 2.5, tempfile deletion was a side effect of the finalizer.

getInputStream

public InputStream getInputStream()
                           throws IOException
Deprecated. 
Specified by:
getInputStream in interface DataSource
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Deprecated. 
Specified by:
getOutputStream in interface DataSource
Throws:
IOException

getContentType

public String getContentType()
Deprecated. 
Specified by:
getContentType in interface DataSource

getName

public String getName()
Deprecated. 
Specified by:
getName in interface DataSource

getErrorMessage

public String getErrorMessage()
Deprecated. 


Copyright © 2010 Jasig. All Rights Reserved.