All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jongsoft.FlagSupport Maven / Gradle / Ivy

The newest version!
package com.jongsoft;

/**
 * A class implementing FlagSupport will provide access to obtain the byte[] representation of the flag
 * for a region in the world.
 * 
 * @author gjongerius
 * @since 1.0.0
 */
@FunctionalInterface
public interface FlagSupport {

    /**
     * Get the flag that belongs to this entity.
     * 
     * @throws RegionalityException when the flag cannot be loaded from disk
     * @return the byte[] containing the flag
     */
    byte[] getFlag() throws RegionalityException;
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy