package testgenerator; /** * @author Stevie (Admin) * * 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. */ public class Supplement { private String supplement; /** * Constructor for Supplement. */ public Supplement() { supplement = " \n"; } public void addMetaInfo(String mimeType, String description) { supplement += " \n" + " " + mimeType + ""; if (!(description==null)) { supplement+= " " + description + ""; } supplement+= " "; } public void addBase64Content(String fileName, String data) { supplement+= " \n"+ " "+data+"\n" + " \n"; } public void addXMLContent(String fileName, String data) { supplement+= " \n"+ " "+data+"\n" + " \n"; } public void closeSupplement() { supplement+= " \n"; } public String getSupplement() { return supplement; } }