public static String getMimeType(Path file) {
		try {
			return Files.probeContentType(file);
		} catch (IOException ignore) {
			// issue#3179，使用OpenJDK可能抛出NoSuchFileException，此处返回null
			return null;
		}
	}
@Test
	@Disabled
	public void getMimeTypeTest(){
		String mimeType = PathUtil.getMimeType(Paths.get("d:/test/test.jpg"));
		assertEquals("image/jpeg", mimeType);

		mimeType = PathUtil.getMimeType(Paths.get("d:/test/test.mov"));
		assertEquals("video/quicktime", mimeType);
	}