1 11 12 package org.eclipse.team.core; 13 14 import org.eclipse.core.resources.IStorage; 15 16 48 public interface IFileContentManager { 49 50 60 int getType(IStorage storage); 61 62 70 boolean isKnownFilename(String filename); 71 72 80 boolean isKnownExtension(String extension); 81 82 89 int getTypeForName(String filename); 90 91 98 int getTypeForExtension(String extension); 99 100 112 void addNameMappings(String [] names, int[] types); 113 114 126 void addExtensionMappings(String [] extensions, int[] types); 127 128 140 void setNameMappings(String [] names, int[] types); 141 142 154 void setExtensionMappings(String [] extensions, int[] types); 155 156 163 IStringMapping [] getNameMappings(); 164 165 172 IStringMapping [] getExtensionMappings(); 173 174 181 IStringMapping [] getDefaultNameMappings(); 182 183 190 IStringMapping [] getDefaultExtensionMappings(); 191 } 192 | Popular Tags |