Home » commons-httpclient-3.1-src » org.apache.commons » httpclient » methods » multipart » [javadoc | source]
abstract public class: PartBase [javadoc | source]

Direct Known Subclasses:
    StringPart, ContentTypeFilePart, FilePart

Provides setters and getters for the basic Part properties.
Fields inherited from org.apache.commons.httpclient.methods.multipart.Part:
 public PartBase(String name,
    String contentType,
    String charSet,
    String transferEncoding) 
    name - The name of the part
    contentType - The content type, or null
    charSet - The character encoding, or null
    transferEncoding - The transfer encoding, or null
Method from org.apache.commons.httpclient.methods.multipart.PartBase Summary:
getCharSet,   getContentType,   getName,   getTransferEncoding,   setCharSet,   setContentType,   setName,   setTransferEncoding
Methods from org.apache.commons.httpclient.methods.multipart.Part:
getBoundary,   getCharSet,   getContentType,   getLengthOfParts,   getLengthOfParts,   getName,   getPartBoundary,   getTransferEncoding,   isRepeatable,   length,   lengthOfData,   send,   sendContentTypeHeader,   sendData,   sendDispositionHeader,   sendEnd,   sendEndOfHeader,   sendParts,   sendParts,   sendStart,   sendTransferEncodingHeader,   setPartBoundary,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.httpclient.methods.multipart.PartBase Detail:
 public String getCharSet() 
    Return the character encoding of this part.
 public String getContentType() 
    Returns the content type of this part.
 public String getName() 
    Returns the name.
 public String getTransferEncoding() 
    Returns the transfer encoding of this part.
 public  void setCharSet(String charSet) 
    Sets the character encoding.
 public  void setContentType(String contentType) 
    Sets the content type.
 public  void setName(String name) 
    Sets the part name.
 public  void setTransferEncoding(String transferEncoding) 
    Sets the transfer encoding.