/** * Determines whether or not the specified element represents a map package. * * @param element * the element to validate * @return <code>true</code> only when this element represents a map package and has the type of {@link File}. */ public static boolean isMapPackage(Object element) { if (element instanceof File) { return ((File) element).getName().endsWith(".mpk"); } return false; }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.