001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.data.projection.datum;
003
004import java.io.InputStream;
005
006/**
007 * Source of NTV2 grid shift files (local directory, download, etc.).
008 * @since 12777
009 */
010@FunctionalInterface
011public interface NTV2GridShiftFileSource {
012
013    /**
014     * Locate grid file with given name.
015     * @param gridFileName the name of the grid file
016     * @return an input stream for the file data
017     */
018    InputStream getNTV2GridShiftFile(String gridFileName);
019}