org.millstone.base.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:
3.0.3
Author:
IT Mill Ltd.

Method Summary
 java.lang.String getContentName()
          Get stream content name.
 java.lang.String getContentType()
          Get input stream content type.
 java.io.InputStream getStream()
          Get input stream.
 java.lang.String getStreamName()
          Get the name of the stream.
 

Method Detail

getStreamName

public java.lang.String getStreamName()
Get the name of the stream.

Returns:
name of the stream.

getStream

public java.io.InputStream getStream()
Get input stream.

Returns:
Input stream.

getContentType

public java.lang.String getContentType()
Get input stream content type.

Returns:
content type of the input stream.

getContentName

public java.lang.String getContentName()
Get stream content name. Stream content name usually differs from the actual stream name. it is used toi identify the content of the stream.

Returns:
Name of the stream content.


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