Servertec
File Upload
1.1.2 09/04/2005

stec.servlet.http
Class FileUpload

java.lang.Object
  extended by stec.servlet.http.FileUpload

public class FileUpload
extends java.lang.Object

Methods for accessing file upload object.

Since:
1.0.0 04/29/2001

Constructor Summary
FileUpload()
           
 
Method Summary
 byte[] getBuffer()
          Returns a byte array containing the uploaded file.
 java.lang.String getContentType()
          Returns the content type.
 java.lang.String getLocalFilePath()
          Returns the local file path and name.
 java.lang.String getRemoteFilePath()
          Returns the remote file path and name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUpload

public FileUpload()
Method Detail

getRemoteFilePath

public java.lang.String getRemoteFilePath()
Returns the remote file path and name.

Returns:
the remote file path and name.
Since:
1.0.0 04/29/2001

getLocalFilePath

public java.lang.String getLocalFilePath()
Returns the local file path and name.

Returns:
the local file path and name. null if not written to disk and in memory buffer that can be retrieved using getBuffer().
Since:
1.0.0 04/29/2001

getContentType

public java.lang.String getContentType()
Returns the content type.

Returns:
the content type.
Since:
1.0.0 04/29/2001

getBuffer

public byte[] getBuffer()
Returns a byte array containing the uploaded file.

Returns:
the uploaded file.
Since:
1.0.0 04/29/2001

Servertec
File Upload
1.1.2 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.