Package de.vatrasoft.vatralib
Interface Binding
-
- All Known Subinterfaces:
GfxBinding
public interface BindingABindingis a component that translates abstract operations to concrete, framework-specific operations in order to manipulate the screen or play sounds.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String[]getSupportedFileFormats()Returns all resource file extensions (in lowercase, without dot) supported by this binding.default booleanisFileFormatSupported(java.lang.String extension)Checks if the given resource file extension is supported by this binding.
-
-
-
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:
trueif the given resource file extension is supported by this binding
-
-