Lines Matching defs:creator

35  * In addition to file name suffixes, Mac OS X can use Finder attributes like file <code>type</code> and <code>creator</code> codes to
42 * To identify the application that can handle a document, the Finder can look at the <code>creator</code>. For example, if a user
43 * double-clicks on a document with the <code>ttxt</code> <code>creator</code>, it opens up in Text Edit, the application registered
44 * with the <code>ttxt</code> <code>creator</code> code. Note that the <code>creator</code>
46 * use an editor to create an HTML document, you might want to assign a browser's <code>creator</code> code for the file rather than
47 * the HTML editor's <code>creator</code> code. Double-clicking on the document then opens the appropriate browser rather than the
50 * If you plan to publicly distribute your application, you must register its creator and any proprietary file types with the Apple
122 * Sets the file <code>type</code> and <code>creator</code> codes for a file or folder.
126 public static void setFileTypeAndCreator(String filename, int type, int creator) throws IOException {
131 _setFileTypeAndCreator(filename, type, creator);
133 private static native void _setFileTypeAndCreator(String filename, int type, int creator) throws IOException;
150 * Sets the file <code>creator</code> code for a file or folder.
154 public static void setFileCreator(String filename, int creator) throws IOException {
159 _setFileCreator(filename, creator);
161 private static native void _setFileCreator(String filename, int creator) throws IOException;
178 * Obtains the file <code>creator</code> code for a file or folder.