Uses of Class
org.overviewproject.mime_types.GetBytesException
-
Uses of GetBytesException in org.overviewproject.mime_types
Methods in org.overviewproject.mime_types that throw GetBytesExceptionModifier and TypeMethodDescriptionMimeTypeDetector.detectMimeType(File file) Determines the MIME type of file.MimeTypeDetector.detectMimeType(String filename, InputStream is) Determines the MIME type of file with a given input stream.MimeTypeDetector.detectMimeType(String filename, Callable<byte[]> getBytes) Synchronously detects a MIME type from a filename and bytes.MimeTypeDetector.detectMimeType(Path path) Determines the MIME type of file.static voidprivate static StringMimeTypeDetector.unwrapFutureString(CompletionStage<String> future) Waits for a CompletionStage, for non-async methods.