com.itmill.toolkit.terminal
Interface UploadStream

All Known Implementing Classes:
HttpUploadStream

public interface UploadStream

Defines a variable type, that is used for passing uploaded files from terminal. Most often, file upload is implented using the Upload component.

Since:
3.0
Version:
5.3.0
Author:
IT Mill Ltd.

Method Summary
 String getContentName()
          Gets stream content name.
 String getContentType()
          Gets the input stream content type.
 InputStream getStream()
          Gets the input stream.
 String getStreamName()
          Gets the name of the stream.
 

Method Detail

getStreamName

String getStreamName()
Gets the name of the stream.

Returns:
the name of the stream.

getStream

InputStream getStream()
Gets the input stream.

Returns:
the Input stream.

getContentType

String getContentType()
Gets the input stream content type.

Returns:
the content type of the input stream.

getContentName

String getContentName()
Gets stream content name. Stream content name usually differs from the actual stream name. It is used to identify the content of the stream.

Returns:
the Name of the stream content.


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.