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
-
getName()
- Returns the name of the form element that this Part corresponds to.
-
isFile()
- Returns true if this Part is a FilePart.
-
isParam()
- Returns true if this Part is a ParamPart.
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.
isFile
public boolean isFile()
- Returns true if this Part is a FilePart.
- Returns:
- true if this is a FilePart.
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