Package de.bytestore.hostinger.handler
Klasse FileHandler
java.lang.Object
de.bytestore.hostinger.handler.FileHandler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidaddExtension(String extension, String mimeType) static com.vaadin.flow.component.icon.VaadinIconstatic com.vaadin.flow.component.icon.VaadinIconstatic StringgetMIMEType(File file) static StringgetMIMEType(String fileName) static booleanisImage(io.jmix.core.FileRef fileIO) Checks if the given file has an image MIME type.static voidload()
-
Konstruktordetails
-
FileHandler
public FileHandler()
-
-
Methodendetails
-
load
public static void load() -
getIcon
-
getIcon
-
addExtension
-
getMIMEType
-
getMIMEType
-
isImage
public static boolean isImage(io.jmix.core.FileRef fileIO) Checks if the given file has an image MIME type.- Parameter:
fileIO- the name of the file to check the MIME type of- Gibt zurück:
- true if the file has an image MIME type, false otherwise
-