From d3a1a9f34b6e670634757e94f89edf8133c68a6a Mon Sep 17 00:00:00 2001 From: Matthias Eckert Date: Mon, 23 Jan 2023 10:45:43 +0100 Subject: [PATCH] Auto saved by Logseq --- journals/2023_01_23.md | 1 + 1 file changed, 1 insertion(+) diff --git a/journals/2023_01_23.md b/journals/2023_01_23.md index b57cbe3b..cb207247 100644 --- a/journals/2023_01_23.md +++ b/journals/2023_01_23.md @@ -29,6 +29,7 @@ - Check Mime Type [[Code Snippet]] [[Java]] - ``` java + public static void main(String[] args) throws IOException { final File file = new File("c:\\tmp\\tst.csv"); System.out.println(new FileDataSource(file).getContentType());