Back to project page Aspose_for_Android.
The source code is released under:
MIT License
If you think the Android project Aspose_for_Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.aspose.email.android.common; // w w w . jav a 2 s. co m import java.util.LinkedHashMap; import com.aspose.email.MessageFormat; /** * Controls the File Formats that are to be supported by the application */ public class SupportedFormat { LinkedHashMap<String, MessageFormat> saveFormats; public static String formats[]; public static MessageFormat[] formatValues; public void setFormats() { saveFormats = new LinkedHashMap<String, MessageFormat>(); //=========================================================== saveFormats.put("EML" , MessageFormat.getEml()); saveFormats.put("EMLX", MessageFormat.getEmlx()); saveFormats.put("MHT" , MessageFormat.getMht()); saveFormats.put("MSG" , MessageFormat.getMsg()); //=========================================================== formats = saveFormats.keySet().toArray(new String[0]); formatValues = saveFormats.values().toArray(new MessageFormat[0]); } }