IP*Works! V8

ipworks
Class FileVar

java.lang.Object
  |
  +--ipworks.FileVar

public class FileVar
extends java.lang.Object

The file variable for the current request.

This type describes a file that is to be posted when an upload action is performed. The type contains fields which describe this variable's name, and the filename of the file being uploaded.

File: Field containing the path and filename of each file.

When the bean is used as an upload client, this property must point to valid file name that will be sent to the server.

InputStream: This field is set when a stream is to be used for the data of the current filevar.

Name: Field containing the name of each form variable which corresponds to the file in the File field.

See Also:
Atom, Atom.FileVar

Constructor Summary
FileVar()
           
FileVar(java.lang.String name, java.io.InputStream inputStream)
           
FileVar(java.lang.String name, java.lang.String file)
           
 
Method Summary
 java.lang.String getFile()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 void setFile(java.lang.String value)
           
 void setInputStream(java.io.InputStream value)
           
 void setName(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileVar

public FileVar()

FileVar

public FileVar(java.lang.String name,
               java.lang.String file)

FileVar

public FileVar(java.lang.String name,
               java.io.InputStream inputStream)
Method Detail

getFile

public java.lang.String getFile()

setFile

public void setFile(java.lang.String value)

getInputStream

public java.io.InputStream getInputStream()

setInputStream

public void setInputStream(java.io.InputStream value)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String value)

IP*Works! V8

Copyright (c) 2007 /n software inc. - All rights reserved.