com.atlassian.jira.screenshot.applet
Class MultiPartForm

java.lang.Object
  extended by com.atlassian.jira.screenshot.applet.MultiPartForm

public class MultiPartForm
extends Object

Author:
hchirino

To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.


Constructor Summary
MultiPartForm(String encoding)
           
 
Method Summary
 void addPart(String name, String fileName, String type, byte[] value)
           
 String getBoundary()
          Returns the boundary.
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPartForm

public MultiPartForm(String encoding)
Method Detail

addPart

public void addPart(String name,
                    String fileName,
                    String type,
                    byte[] value)
             throws IOException
Throws:
IOException

toByteArray

public byte[] toByteArray()
                   throws IOException
Throws:
IOException

getBoundary

public String getBoundary()
Returns the boundary.

Returns:
String


Copyright © 2002-2012 Atlassian. All Rights Reserved.