1 20 21 package org.jdesktop.jdic.filetypes.internal; 22 23 24 33 34 90 91 public class GnomeVfsWrapper { 92 static { 93 System.loadLibrary("jdic"); 94 } 95 96 97 public final static String GNOME_VFS_MIME_KEY_DESCRIPTION = "description"; 98 public final static String GNOME_VFS_MIME_DEFAULT_KEY_ICON_FILENAME = "icon_filename"; 99 100 103 private GnomeVfsWrapper() {} 104 105 113 public static native String gnome_vfs_get_mime_type(String uri); 114 115 122 public static native String gnome_vfs_mime_get_description(String mimeType); 123 124 131 public static native String gnome_vfs_mime_get_icon(String mimeType); 132 133 150 public static native String [] gnome_vfs_mime_get_key_list(String mimeType); 151 152 163 public static native String gnome_vfs_mime_get_value(String mimeType, String key); 164 165 173 public static native String gnome_vfs_mime_get_default_application_command(String mimeType); 174 175 178 public static native String [] gnome_vfs_get_registered_mime_types(); 179 180 188 public static native String [] gnome_vfs_mime_get_extensions_list(String mimeType); 189 190 194 public static native String getenv(String envName); 195 } 196 | Popular Tags |