net.ontopia.topicmaps.webed.core
Interface FileValueIF


public interface FileValueIF

PUBLIC: Represents files passed as parameters to forms.

Since:
2.0

Method Summary
 java.io.InputStream getContents()
          PUBLIC: Returns an input stream from which the file can be retrieved.
 java.lang.String getContentType()
          PUBLIC: Returns the content type given for this file in the request.
 java.lang.String getFileName()
          PUBLIC: Returns the name of the file as given in the request.
 long getLength()
          PUBLIC: Returns the length of the file in bytes.
 

Method Detail

getFileName

java.lang.String getFileName()
PUBLIC: Returns the name of the file as given in the request.


getContents

java.io.InputStream getContents()
                                throws java.io.IOException
PUBLIC: Returns an input stream from which the file can be retrieved.

Throws:
java.io.IOException

getLength

long getLength()
PUBLIC: Returns the length of the file in bytes.


getContentType

java.lang.String getContentType()
PUBLIC: Returns the content type given for this file in the request. May be null.



Copyright © 2000-2012 Ontopia.