001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.data.osm.pbf; 003 004import java.util.Arrays; 005import java.util.Collections; 006import java.util.List; 007 008/** 009 * A class used to determine whether or not a file may be an OSM PBF file 010 * @since 18695 011 */ 012public final class OsmPbfFile { 013 /** 014 * Extensions for OSM PBF files. 015 * {@code "osm.pbf"} is a SHOULD, <i>not</i> a MUST. 016 */ 017 public static final List<String> EXTENSION = Collections.unmodifiableList(Arrays.asList("osm.pbf", "pbf")); 018 019 /** 020 * mimetypes for OSM PBF files 021 */ 022 public static final List<String> MIMETYPE = Collections.emptyList(); 023 024 private OsmPbfFile() { 025 // Hide the constructor 026 } 027}