1 11 package org.eclipse.core.runtime.content; 12 13 import java.io.*; 14 import org.eclipse.core.runtime.QualifiedName; 15 import org.eclipse.core.runtime.preferences.IScopeContext; 16 17 26 public interface IContentTypeMatcher { 27 49 public IContentType findContentTypeFor(InputStream contents, String fileName) throws IOException; 50 51 59 public IContentType findContentTypeFor(String fileName); 60 61 82 public IContentType[] findContentTypesFor(InputStream contents, String fileName) throws IOException; 83 84 93 public IContentType[] findContentTypesFor(String fileName); 94 95 116 public IContentDescription getDescriptionFor(InputStream contents, String fileName, QualifiedName[] options) throws IOException; 117 118 139 public IContentDescription getDescriptionFor(Reader contents, String fileName, QualifiedName[] options) throws IOException; 140 } | Popular Tags |