/** * 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; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.