Interface Binding

  • All Known Subinterfaces:
    GfxBinding

    public interface Binding
    A Binding is a component that translates abstract operations to concrete, framework-specific operations in order to manipulate the screen or play sounds.
    • Method Detail

      • getSupportedFileFormats

        java.lang.String[] getSupportedFileFormats()
        Returns all resource file extensions (in lowercase, without dot) supported by this binding.
        Returns:
        all resource file extensions (in lowercase, without dot) supported by this binding
      • isFileFormatSupported

        default boolean isFileFormatSupported​(java.lang.String extension)
        Checks if the given resource file extension is supported by this binding.
        Parameters:
        extension - the resource file extension (without dot) to check
        Returns:
        true if the given resource file extension is supported by this binding