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.cells.android.common; //from w w w .java 2s .c o m import java.util.LinkedHashMap; /** * Controls the File Formats that are to be supported by the application */ public class SupportedFormat { LinkedHashMap<String, Integer> saveFormats; public static String formats[]; public static Integer formatValues[]; public void setFormats() { saveFormats = new LinkedHashMap<String, Integer>(); //=========================================================== saveFormats.put("CSV", com.aspose.cells.FileFormatType.CSV); saveFormats.put("PDF", com.aspose.cells.FileFormatType.PDF); saveFormats.put("HTML", com.aspose.cells.FileFormatType.HTML); //=========================================================== formats = saveFormats.keySet().toArray(new String[0]); formatValues = saveFormats.values().toArray(new Integer[0]); } }