我正在使用这段代码来获取文件类型-FileSystemViewfilesystem=FileSystemView.getFileSystemView();StringsFileType=filesystem.getSystemTypeDescription(file))在Windows下,这段代码可以处理文件,正确显示文件类型。但在MacOSX下,此代码不显示任何内容。方法getSystemTypeDescription说:OverrideforplatformswithnativeShellFolderimplementations.如何在MacOSX上获取文件类型?