|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
nextapp.echo.filetransfer.event.UploadEvent
public class UploadEvent
An event that describes a file upload.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
UploadEvent(java.lang.Object source,
java.io.InputStream inputStream,
int size,
java.lang.String contentType,
java.lang.String fileName)
Creates a new UploadEvent |
Method Summary | |
---|---|
java.lang.String |
getContentType()
Returns the content type of the uploaded file. |
java.lang.String |
getFileName()
Returns the file name of the uploaded file. |
java.io.InputStream |
getInputStream()
Returns an input stream containing the uploaded file. |
int |
getSize()
Returns the size of the uploaded file, in bytes. |
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 |
---|
public UploadEvent(java.lang.Object source, java.io.InputStream inputStream, int size, java.lang.String contentType, java.lang.String fileName)
UploadEvent
source
- The source of the event.inputStream
- An input stream referencing the uploaded file.size
- The size of the input stream.contentType
- The content type of the uploaded file.fileName
- The file name of the uploaded file.Method Detail |
---|
public java.lang.String getContentType()
public java.lang.String getFileName()
public java.io.InputStream getInputStream()
public int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |