Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt
Interface FileParameter

All Superinterfaces:
java.io.Serializable

public interface FileParameter
extends java.io.Serializable

The FileParameter class represents file parameters

FileParameters are constant; their values cannot be changed after they are created.

See Also:
Argument, ArgumentType

Field Summary
static java.lang.String DEFAULT_CONTENT_TYPE
           

 

Method Summary
 void delete()
          Deletes the file that is refered by this object
 java.lang.String getContentType()
          Returns the content type of the file
 java.io.File getFile()
          Returns a File object
 java.lang.String getOriginalFileName()
          Returns the original file name as specified by the client

 

Field Detail

DEFAULT_CONTENT_TYPE

public static final java.lang.String DEFAULT_CONTENT_TYPE
See Also:
Constant Field Values
Method Detail

getFile

public java.io.File getFile()
Returns a File object
Returns:
a File object for the named file.

getContentType

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

getOriginalFileName

public java.lang.String getOriginalFileName()
Returns the original file name as specified by the client
Returns:
the original file name.

delete

public void delete()
Deletes the file that is refered by this object

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.