net.ontopia.topicmaps.webed.core
Interface FileValueIF


public interface FileValueIF

PUBLIC: Represents files passed as parameters to forms.

Since:
2.0

Method Summary
 InputStream getContents()
          PUBLIC: Returns an input stream from which the file can be retrieved.
 String getContentType()
          PUBLIC: Returns the content type given for this file in the request.
 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

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


getContents

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

Throws:
IOException

getLength

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


getContentType

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



Copyright © 2000-2012 Ontopia.