com.oreilly.servlet.multipart
类 Part

java.lang.Object
  继承者 com.oreilly.servlet.multipart.Part
直接已知子类:
FilePart, ParamPart

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.

版本:
1.0, 2000/10/27, initial revision
作者:
Geoff Soutter
另请参见:
FilePart, ParamPart

方法摘要
 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.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getName

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

返回:
the name of the form element that this Part corresponds to.

isFile

public boolean isFile()
Returns true if this Part is a FilePart.

返回:
true if this is a FilePart.

isParam

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

返回:
true if this is a ParamPart.


Copyright © 2013. All Rights Reserved.