All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.oreilly.servlet.multipart.Part

java.lang.Object
   |
   +----com.oreilly.servlet.multipart.Part

public abstract class Part
extends Object
A Part is an abstract upload part which represents an INPUT form element in a multipart/form-data form submission.

Version:
1.0, 2000/10/27, initial revision
Author:
Geoff Soutter
See Also:
FilePart, ParamPart

Method Index

 o getName()
Returns the name of the form element that this Part corresponds to.
 o isFile()
Returns true if this Part is a FilePart.
 o isParam()
Returns true if this Part is a ParamPart.

Methods

 o getName
 public String getName()
Returns the name of the form element that this Part corresponds to.

Returns:
the name of the form element that this Part corresponds to.
 o isFile
 public boolean isFile()
Returns true if this Part is a FilePart.

Returns:
true if this is a FilePart.
 o isParam
 public boolean isParam()
Returns true if this Part is a ParamPart.

Returns:
true if this is a ParamPart.

All Packages  Class Hierarchy  This Package  Previous  Next  Index