1 11 package org.eclipse.core.runtime.content; 12 13 import org.eclipse.core.internal.content.IContentConstants; 14 import org.eclipse.core.runtime.QualifiedName; 15 16 47 public interface IContentDescription { 48 51 public final static QualifiedName CHARSET = new QualifiedName(IContentConstants.RUNTIME_NAME, "charset"); 56 public final static QualifiedName BYTE_ORDER_MARK = new QualifiedName(IContentConstants.RUNTIME_NAME, "bom"); 60 public final static QualifiedName[] ALL = null; 61 65 public final static byte[] BOM_UTF_8 = {(byte) 0xEF, (byte) 0xBB, (byte) 0xBF}; 66 70 public final static byte[] BOM_UTF_16BE = {(byte) 0xFE, (byte) 0xFF}; 71 75 public final static byte[] BOM_UTF_16LE = {(byte) 0xFF, (byte) 0xFE}; 76 77 86 public boolean isRequested(QualifiedName key); 87 88 100 public String getCharset(); 101 102 108 public IContentType getContentType(); 109 110 122 public Object getProperty(QualifiedName key); 123 124 142 public void setProperty(QualifiedName key, Object value); 143 } 144 | Popular Tags |