com.sapportals.wcm.util.mmparser

Class AbstractPart

java.lang.Object
  extended bycom.sapportals.wcm.util.mmparser.AbstractPart
Direct Known Subclasses:
FilePart, ParamPart

public abstract class AbstractPart
extends Object

A part is an abstract upload part which represents an input form element in a multipart/form-data form submission.

See Also:
FilePart, ParamPart

Method Summary
 String getName()
          Returns the name of the form element that this Part corresponds to.
 boolean isFile()
          Returns true if this Part is a FilePart.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright 2006 SAP AG Complete Copyright Notice