Home
What's
New?
com.oreilly.servlet
Servlet
Polls
Mailing
Lists
List
Archives
Servlet
Engines
Servlet
ISPs
Servlet
Tools
Documentation
Online
Articles
The
Soapbox
"Java
Servlet
Programming,
Second Edition"
"Java
Enterprise
Best Practices"
Speaking
& Slides
About
Jason
XQuery
Affiliate
Advertising
Info
|
com.oreilly.servlet.multipart
Class Part
java.lang.Object
|
+--com.oreilly.servlet.multipart.Part
- Direct Known Subclasses:
- FilePart, ParamPart
- public abstract class Part
- extends java.lang.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 Summary |
java.lang.String |
getName()
Returns the name of the form element that this Part corresponds to. |
boolean |
isFile()
Returns true if this Part is a FilePart. |
boolean |
isParam()
Returns true if this Part is a ParamPart. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getName
public java.lang.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.
|