Lines Matching defs:domain

196          * one domain. For example, although there is only one <code>root</code> folder, there are multiple <code>pref</code>
199 * domain use <code>findFolder(short domain, int folderType)</code> or <code>findFolder(short domain, int folderType,
211 * Locates a folder of a particular type, within a given domain. Similar to <code>findFolder(int folderType)</code>
212 * except that the domain to look in can be specified. Valid values for <code>domain</code>include:
215 * <dd>The User domain contains resources specific to the user who is currently logged in</dd>
217 * <dd>The Local domain contains resources shared by all users of the system but are not needed for the system
220 * <dd>The Network domain contains resources shared by users of a local area network.</dd>
222 * <dd>The System domain contains the operating system resources installed by Apple.</dd>
229 public static String findFolder(short domain, int folderType) throws FileNotFoundException {
230 return findFolder(domain, folderType, false);
234 * Locates a folder of a particular type within a given domain and optionally creating the folder if it does
236 * <code>findFolder(short domain, int folderType)</code> except that it can create the folder if it does not already exist.
240 * same as <code>findFolder(short domain, int folderType, boolean createIfNeeded)</code>
245 public static String findFolder(short domain, int folderType, boolean createIfNeeded) throws FileNotFoundException {
251 final String foundFolder = _findFolder(domain, folderType, createIfNeeded);
255 private static native String _findFolder(short domain, int folderType, boolean createIfNeeded);