org.apache.myfaces.trinidadinternal.config.upload
Class ErrorFile

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.config.upload.ErrorFile
All Implemented Interfaces:
java.io.Serializable, org.apache.myfaces.trinidad.model.UploadedFile

public class ErrorFile
extends java.lang.Object
implements org.apache.myfaces.trinidad.model.UploadedFile, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ErrorFile(java.lang.String errorMessage)
           
 
Method Summary
 void dispose()
           
 java.lang.String getContentType()
           
 java.lang.String getFilename()
           
 java.io.InputStream getInputStream()
           
 long getLength()
           
 java.lang.Object getOpaqueData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorFile

public ErrorFile(java.lang.String errorMessage)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.apache.myfaces.trinidad.model.UploadedFile

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface org.apache.myfaces.trinidad.model.UploadedFile

getFilename

public java.lang.String getFilename()
Specified by:
getFilename in interface org.apache.myfaces.trinidad.model.UploadedFile

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface org.apache.myfaces.trinidad.model.UploadedFile
Throws:
java.io.IOException

getLength

public long getLength()
Specified by:
getLength in interface org.apache.myfaces.trinidad.model.UploadedFile

getOpaqueData

public java.lang.Object getOpaqueData()
Specified by:
getOpaqueData in interface org.apache.myfaces.trinidad.model.UploadedFile


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.