1 11 package org.eclipse.core.runtime.content; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.core.runtime.preferences.IScopeContext; 15 16 26 public interface IContentTypeSettings { 27 30 public static final int FILE_EXTENSION_SPEC = 0x08; 31 34 public static final int FILE_NAME_SPEC = 0x04; 35 36 53 public void addFileSpec(String fileSpec, int type) throws CoreException; 54 55 62 public String getDefaultCharset(); 63 64 76 public String [] getFileSpecs(int type); 77 78 85 public String getId(); 86 87 104 public void removeFileSpec(String fileSpec, int type) throws CoreException; 105 106 117 public void setDefaultCharset(String userCharset) throws CoreException; 118 } 119 | Popular Tags |