Servoy 5.x Public API

com.servoy.j2db.plugins
Interface IUploadData


public interface IUploadData

Container object holding the data of the uploaded files. NOTE: don't implement directly, this interface can change.

Since:
5.1
See Also:
IMediaUploadCallback

Method Summary
 byte[] getBytes()
          The contents of this uploaded data.
 String getContentType()
          The content type of the data.
 File getFile()
          If this data maps to a file it will return the real file system file, null otherwise.
 String getName()
          The name of the file on the users machine.
 

Method Detail

getBytes

byte[] getBytes()
The contents of this uploaded data.

Returns:

getContentType

String getContentType()
The content type of the data.

Returns:

getFile

File getFile()
If this data maps to a file it will return the real file system file, null otherwise.

Returns:
File object

getName

String getName()
The name of the file on the users machine.

Returns:

Copyright © 2010 Servoy B.V.