org.millstone.base.ui
Class Upload.FinishedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.millstone.base.ui.Component.Event
              |
              +--org.millstone.base.ui.Upload.FinishedEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Upload.FailedEvent, Upload.SucceededEvent
Enclosing class:
Upload

public class Upload.FinishedEvent
extends Component.Event

Upload.Received event is sent when the upload receives a file, regardless if the receival was successfull.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Upload.FinishedEvent(Upload source, java.lang.String filename, java.lang.String MIMEType, long length)
           
 
Method Summary
 java.lang.String getFilename()
          Returns the filename.
 long getLength()
          Returns the length.
 java.lang.String getMIMEType()
          Returns the type.
 Upload getUpload()
          Upload where the event occurred
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Upload.FinishedEvent

public Upload.FinishedEvent(Upload source,
                            java.lang.String filename,
                            java.lang.String MIMEType,
                            long length)
Method Detail

getUpload

public Upload getUpload()
Upload where the event occurred

Returns:
Source of the event.

getFilename

public java.lang.String getFilename()
Returns the filename.


getLength

public long getLength()
Returns the length.


getMIMEType

public java.lang.String getMIMEType()
Returns the type.



Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.