META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF.RSA
META-INF/
META-INF/eclipse.inf
plugin.xml
.api_description
.options
about.html
plugin.properties
org/
org/eclipse/
org/eclipse/core/
org/eclipse/core/internal/
org/eclipse/core/internal/content/
org/eclipse/core/internal/content/Activator.classActivator.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.Activator extends java.lang.Object implements org.osgi.framework.BundleActivator org.osgi.util.tracker.ServiceTrackerCustomizer {
private static org.eclipse.core.internal.content.Activator singleton
private static org.osgi.framework.BundleContext bundleContext
private org.osgi.framework.ServiceRegistration contentManagerService
private org.osgi.util.tracker.ServiceTracker parserTracker
private org.osgi.util.tracker.ServiceTracker debugTracker
private org.osgi.util.tracker.ServiceTracker registryTracker
static Class class$0
static Class class$1
static Class class$2
static Class class$3
public void ()
public static org.eclipse.core.internal.content.Activator getDefault ()
public void start (org.osgi.framework.BundleContext) throws java.lang.Exception
org.osgi.framework.BundleContext context
public void stop (org.osgi.framework.BundleContext) throws java.lang.Exception
org.osgi.framework.BundleContext context
static org.osgi.framework.BundleContext getContext ()
public javax.xml.parsers.SAXParserFactory getFactory ()
javax.xml.parsers.SAXParserFactory theFactory
public boolean getBooleanDebugOption (java.lang.String, boolean)
String option
boolean defaultValue
org.eclipse.osgi.service.debug.DebugOptions options
String value
public java.lang.Object addingService (org.osgi.framework.ServiceReference)
org.osgi.framework.ServiceReference reference
org.eclipse.core.runtime.IExtensionRegistry registry
public void modifiedService (org.osgi.framework.ServiceReference, java.lang.Object)
org.osgi.framework.ServiceReference reference
Object service
public void removedService (org.osgi.framework.ServiceReference, java.lang.Object)
org.osgi.framework.ServiceReference reference
Object service
}
org/eclipse/core/internal/content/BasicDescription.classBasicDescription.java
package org.eclipse.core.internal.content
public abstract org.eclipse.core.internal.content.BasicDescription extends java.lang.Object implements org.eclipse.core.runtime.content.IContentDescription {
protected org.eclipse.core.internal.content.IContentTypeInfo contentTypeInfo
public void (org.eclipse.core.internal.content.IContentTypeInfo)
org.eclipse.core.internal.content.IContentTypeInfo contentTypeInfo
public org.eclipse.core.runtime.content.IContentType getContentType ()
org.eclipse.core.internal.content.ContentType contentType
public org.eclipse.core.internal.content.IContentTypeInfo getContentTypeInfo ()
}
org/eclipse/core/internal/content/ContentDescription.classContentDescription.java
package org.eclipse.core.internal.content
public final org.eclipse.core.internal.content.ContentDescription extends org.eclipse.core.internal.content.BasicDescription {
private static final String CHARSET_UTF_16
private static final String CHARSET_UTF_8
private static final byte FLAG_ALL_OPTIONS
private static final byte FLAG_IMMUTABLE
private byte flags
private Object keys
private Object values
public void (org.eclipse.core.runtime.QualifiedName[], org.eclipse.core.internal.content.IContentTypeInfo)
org.eclipse.core.runtime.QualifiedName[] requested
org.eclipse.core.internal.content.IContentTypeInfo contentTypeInfo
private void assertMutable ()
public java.lang.String getCharset ()
byte[] bom
private java.lang.Object getDescribedProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
org.eclipse.core.runtime.QualifiedName[] tmpKeys
int i
public java.lang.Object getProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
Object describedProperty
public boolean isRequested (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName propertyKey
org.eclipse.core.runtime.QualifiedName[] tmpKeys
int i
boolean isSet ()
Object[] tmpValues
int i
public void markImmutable ()
void setContentTypeInfo (org.eclipse.core.internal.content.IContentTypeInfo)
org.eclipse.core.internal.content.IContentTypeInfo info
public void setProperty (org.eclipse.core.runtime.QualifiedName, java.lang.Object)
org.eclipse.core.runtime.QualifiedName newKey
Object newValue
org.eclipse.core.runtime.QualifiedName[] tmpKeys
int i
int currentSize
Object[] tmpValues
public java.lang.String toString ()
StringBuffer result
org.eclipse.core.runtime.QualifiedName[] tmpKeys
Object[] tmpValues
boolean any
int i
}
org/eclipse/core/internal/content/ContentMessages.classContentMessages.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.ContentMessages extends org.eclipse.osgi.util.NLS {
public static final String OWNER_NAME
private static final String BUNDLE_NAME
public static String content_badInitializationData
public static String content_errorReadingContents
public static String content_errorLoadingSettings
public static String content_errorSavingSettings
public static String content_invalidContentDescriber
public static String content_invalidProperty
public static String content_missingIdentifier
public static String content_missingName
public static String content_parserConfiguration
static Class class$0
static void ()
public void ()
public static void reloadMessages ()
public static void message (java.lang.String)
String message
StringBuffer buffer
}
org/eclipse/core/internal/content/ContentType$InvalidDescriber.classContentType.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentType$InvalidDescriber extends java.lang.Object implements org.eclipse.core.runtime.content.IContentDescriber org.eclipse.core.runtime.content.ITextContentDescriber {
final org.eclipse.core.internal.content.ContentType this$0
private void (org.eclipse.core.internal.content.ContentType)
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription)
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription)
java.io.Reader contents
org.eclipse.core.runtime.content.IContentDescription description
public org.eclipse.core.runtime.QualifiedName[] getSupportedOptions ()
void (org.eclipse.core.internal.content.ContentType, org.eclipse.core.internal.content.ContentType$InvalidDescriber)
}
org/eclipse/core/internal/content/ContentType.classContentType.java
package org.eclipse.core.internal.content
public final org.eclipse.core.internal.content.ContentType extends java.lang.Object implements org.eclipse.core.runtime.content.IContentType org.eclipse.core.internal.content.IContentTypeInfo {
static final byte ASSOCIATED_BY_EXTENSION
static final byte ASSOCIATED_BY_NAME
private static final String DESCRIBER_ELEMENT
private static java.util.ArrayList EMPTY_LIST
private static final Object INHERITED_DESCRIBER
private static final Object NO_DESCRIBER
static final byte NOT_ASSOCIATED
public static final String PREF_DEFAULT_CHARSET
public static final String PREF_FILE_EXTENSIONS
public static final String PREF_FILE_NAMES
static final byte PRIORITY_HIGH
static final byte PRIORITY_LOW
static final byte PRIORITY_NORMAL
static final int SPEC_PRE_DEFINED
static final int SPEC_USER_DEFINED
static final byte STATUS_INVALID
static final byte STATUS_UNKNOWN
static final byte STATUS_VALID
private String aliasTargetId
private String baseTypeId
private boolean builtInAssociations
private org.eclipse.core.internal.content.ContentTypeCatalog catalog
private org.eclipse.core.runtime.IConfigurationElement contentTypeElement
private org.eclipse.core.internal.content.DefaultDescription defaultDescription
private java.util.Map defaultProperties
private Object describer
private java.util.ArrayList fileSpecs
String id
private org.eclipse.core.internal.content.ContentTypeManager manager
private String name
private byte priority
private org.eclipse.core.internal.content.ContentType target
private String userCharset
private byte validation
private org.eclipse.core.internal.content.ContentType baseType
private byte depth
static void ()
public static org.eclipse.core.internal.content.ContentType createContentType (org.eclipse.core.internal.content.ContentTypeCatalog, java.lang.String, java.lang.String, byte, java.lang.String[], java.lang.String[], java.lang.String, java.lang.String, java.util.Map, org.eclipse.core.runtime.IConfigurationElement)
org.eclipse.core.internal.content.ContentTypeCatalog catalog
String uniqueId
String name
byte priority
String[] fileExtensions
String[] fileNames
String baseTypeId
String aliasTargetId
java.util.Map defaultProperties
org.eclipse.core.runtime.IConfigurationElement contentTypeElement
org.eclipse.core.internal.content.ContentType contentType
int i
int i
static org.eclipse.core.internal.content.FileSpec createFileSpec (java.lang.String, int)
String fileSpec
int type
static java.lang.String getPreferenceKey (int)
int flags
private static java.lang.String getValidationString (byte)
byte validation
public static void log (java.lang.String, java.lang.Throwable)
String message
Throwable reason
org.eclipse.core.runtime.IStatus status
public void (org.eclipse.core.internal.content.ContentTypeManager)
org.eclipse.core.internal.content.ContentTypeManager manager
public void addFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
String fileSpec
int type
String[] userSet
String[] userSet
org.osgi.service.prefs.Preferences contentTypeNode
String newValue
org.osgi.service.prefs.BackingStoreException bse
String message
org.eclipse.core.runtime.IStatus status
int describe (org.eclipse.core.runtime.content.IContentDescriber, org.eclipse.core.internal.content.ILazySource, org.eclipse.core.internal.content.ContentDescription) throws java.io.IOException
org.eclipse.core.runtime.content.IContentDescriber selectedDescriber
org.eclipse.core.internal.content.ILazySource contents
org.eclipse.core.internal.content.ContentDescription description
RuntimeException re
Error e
org.eclipse.core.internal.content.LowLevelIOException llioe
java.io.IOException ioe
String message
public boolean equals (java.lang.Object)
Object another
public java.lang.String getAliasTargetId ()
public org.eclipse.core.runtime.content.IContentType getBaseType ()
java.lang.String getBaseTypeId ()
public org.eclipse.core.internal.content.ContentTypeCatalog getCatalog ()
public org.eclipse.core.internal.content.ContentType getContentType ()
public java.lang.String getDefaultCharset ()
public org.eclipse.core.runtime.content.IContentDescription getDefaultDescription ()
public java.lang.String getDefaultProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
String propertyValue
byte getDepth ()
byte tmpDepth
public org.eclipse.core.runtime.content.IContentDescriber getDescriber ()
Object tmpDescriber
String describerValue
org.eclipse.core.runtime.CoreException ce
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.InputStream, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.QualifiedName[] options
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.Reader, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.QualifiedName[] options
public java.lang.String[] getFileSpecs (int)
int typeMask
java.util.List result
java.util.Iterator i
org.eclipse.core.internal.content.FileSpec spec
public java.lang.String getId ()
public java.lang.String getName ()
byte getPriority ()
public org.eclipse.core.runtime.content.IContentTypeSettings getSettings (org.eclipse.core.runtime.preferences.IScopeContext)
org.eclipse.core.runtime.preferences.IScopeContext context
org.eclipse.core.internal.content.ContentType getAliasTarget (boolean)
boolean self
byte getValidation ()
boolean hasBuiltInAssociations ()
boolean hasFileSpec (org.eclipse.core.runtime.preferences.IScopeContext, java.lang.String, int)
org.eclipse.core.runtime.preferences.IScopeContext context
String text
int typeMask
String[] fileSpecs
int i
boolean hasFileSpec (java.lang.String, int, boolean)
String text
int typeMask
boolean strict
java.util.Iterator i
org.eclipse.core.internal.content.FileSpec spec
public int hashCode ()
boolean internalAddFileSpec (java.lang.String, int)
String fileSpec
int typeMask
org.eclipse.core.internal.content.FileSpec newFileSpec
java.util.ArrayList tmpFileSpecs
java.lang.String internalGetDefaultProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
String defaultValue
java.lang.String basicGetDefaultProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
org.eclipse.core.internal.content.BasicDescription internalGetDescriptionFor (org.eclipse.core.internal.content.ILazySource, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
org.eclipse.core.internal.content.ILazySource buffer
org.eclipse.core.runtime.QualifiedName[] options
org.eclipse.core.runtime.content.IContentDescriber tmpDescriber
org.eclipse.core.internal.content.ContentDescription description
byte internalIsAssociatedWith (java.lang.String, org.eclipse.core.runtime.preferences.IScopeContext)
String fileName
org.eclipse.core.runtime.preferences.IScopeContext context
String fileExtension
boolean internalRemoveFileSpec (java.lang.String, int)
String fileSpec
int typeMask
java.util.ArrayList tmpFileSpecs
java.util.Iterator i
org.eclipse.core.internal.content.FileSpec spec
public org.eclipse.core.runtime.content.IContentDescriber invalidateDescriber (java.lang.Throwable)
Throwable reason
String message
boolean isAlias ()
public boolean isAssociatedWith (java.lang.String)
String fileName
public boolean isAssociatedWith (java.lang.String, org.eclipse.core.runtime.preferences.IScopeContext)
String fileName
org.eclipse.core.runtime.preferences.IScopeContext context
public boolean isKindOf (org.eclipse.core.runtime.content.IContentType)
org.eclipse.core.runtime.content.IContentType another
boolean isValid ()
void processPreferences (org.osgi.service.prefs.Preferences)
org.osgi.service.prefs.Preferences contentTypeNode
String userSetFileNames
String[] fileNames
int i
String userSetFileExtensions
String[] fileExtensions
int i
public void removeFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
String fileSpec
int type
org.osgi.service.prefs.Preferences contentTypeNode
String[] userSet
String preferenceKey
String newValue
org.osgi.service.prefs.BackingStoreException bse
String message
org.eclipse.core.runtime.IStatus status
void setAliasTarget (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType newTarget
public void setDefaultCharset (java.lang.String) throws org.eclipse.core.runtime.CoreException
String newCharset
org.osgi.service.prefs.Preferences contentTypeNode
org.osgi.service.prefs.BackingStoreException bse
String message
org.eclipse.core.runtime.IStatus status
static void setPreference (org.osgi.service.prefs.Preferences, java.lang.String, java.lang.String)
org.osgi.service.prefs.Preferences node
String key
String value
void setValidation (byte)
byte validation
public java.lang.String toString ()
void setBaseType (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType baseType
}
org/eclipse/core/internal/content/ContentTypeBuilder$1.classContentTypeBuilder.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeBuilder$1 extends java.lang.Object implements org.eclipse.core.runtime.preferences.IPreferenceNodeVisitor {
final org.eclipse.core.internal.content.ContentTypeBuilder this$0
private final org.eclipse.core.runtime.preferences.IEclipsePreferences val$root
private final org.eclipse.core.internal.content.ContentTypeCatalog val$localCatalog
void (org.eclipse.core.internal.content.ContentTypeBuilder, org.eclipse.core.runtime.preferences.IEclipsePreferences, org.eclipse.core.internal.content.ContentTypeCatalog)
public boolean visit (org.eclipse.core.runtime.preferences.IEclipsePreferences)
org.eclipse.core.runtime.preferences.IEclipsePreferences node
org.eclipse.core.internal.content.ContentType contentType
}
org/eclipse/core/internal/content/ContentTypeBuilder.classContentTypeBuilder.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.ContentTypeBuilder extends java.lang.Object {
public static final String PT_CONTENTTYPES
private org.eclipse.core.internal.content.ContentTypeCatalog catalog
private static final org.eclipse.core.runtime.IConfigurationElement[] emptyConfArray
static void ()
private static java.lang.String getUniqueId (java.lang.String, java.lang.String)
String namespace
String baseTypeId
int separatorPosition
private static org.eclipse.core.runtime.QualifiedName parseQualifiedName (java.lang.String, java.lang.String)
String namespace
String value
int separatorPosition
String simpleValue
private static byte parsePriority (java.lang.String)
String priority
protected void (org.eclipse.core.internal.content.ContentTypeCatalog)
org.eclipse.core.internal.content.ContentTypeCatalog catalog
private void addFileAssociation (org.eclipse.core.runtime.IConfigurationElement, org.eclipse.core.internal.content.ContentType)
org.eclipse.core.runtime.IConfigurationElement fileAssociationElement
org.eclipse.core.internal.content.ContentType target
String[] fileNames
int i
String[] fileExtensions
int i
public void buildCatalog ()
org.eclipse.core.runtime.IConfigurationElement[] allContentTypeCEs
int i
int i
private void applyPreferences ()
org.eclipse.core.internal.content.ContentTypeCatalog localCatalog
org.eclipse.core.runtime.preferences.IEclipsePreferences root
org.osgi.service.prefs.BackingStoreException bse
private org.eclipse.core.internal.content.ContentType createContentType (org.eclipse.core.runtime.IConfigurationElement) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.IConfigurationElement contentTypeCE
String namespace
String simpleId
String name
String uniqueId
String uniqueId
byte priority
String[] fileNames
String[] fileExtensions
String baseTypeId
String aliasTargetTypeId
org.eclipse.core.runtime.IConfigurationElement[] propertyCEs
java.util.Map defaultProperties
int i
String defaultValue
String propertyKey
org.eclipse.core.runtime.QualifiedName qualifiedKey
String message
String defaultCharset
protected org.eclipse.core.runtime.IConfigurationElement[] getConfigurationElements ()
org.eclipse.core.runtime.IExtensionRegistry registry
org.eclipse.core.runtime.IConfigurationElement[] oldConfigElements
org.eclipse.core.runtime.IConfigurationElement[] newConfigElements
org.eclipse.core.runtime.IExtensionPoint oldPoint
org.eclipse.core.runtime.IExtensionPoint newPoint
org.eclipse.core.runtime.IConfigurationElement[] allContentTypeCEs
private void missingMandatoryAttribute (java.lang.String, java.lang.String) throws org.eclipse.core.runtime.CoreException
String messageKey
String argument
String message
private void registerContentType (org.eclipse.core.runtime.IConfigurationElement)
org.eclipse.core.runtime.IConfigurationElement contentTypeCE
org.eclipse.core.internal.content.ContentType contentType
org.eclipse.core.runtime.CoreException e
private void registerFileAssociation (org.eclipse.core.runtime.IConfigurationElement)
org.eclipse.core.runtime.IConfigurationElement fileAssociationElement
String contentTypeId
org.eclipse.core.internal.content.ContentType target
}
org/eclipse/core/internal/content/ContentTypeCatalog$1.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$1 extends java.lang.Object implements java.util.Comparator {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
void (org.eclipse.core.internal.content.ContentTypeCatalog)
public int compare (java.lang.Object, java.lang.Object)
Object o1
Object o2
org.eclipse.core.internal.content.ContentType type1
org.eclipse.core.internal.content.ContentType type2
int depthCriteria
int priorityCriteria
}
org/eclipse/core/internal/content/ContentTypeCatalog$2.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$2 extends java.lang.Object implements java.util.Comparator {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
void (org.eclipse.core.internal.content.ContentTypeCatalog)
public int compare (java.lang.Object, java.lang.Object)
Object o1
Object o2
org.eclipse.core.internal.content.ContentType type1
org.eclipse.core.internal.content.ContentType type2
int depthCriteria
int priorityCriteria
}
org/eclipse/core/internal/content/ContentTypeCatalog$3.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$3 extends java.lang.Object implements java.util.Comparator {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
void (org.eclipse.core.internal.content.ContentTypeCatalog)
public int compare (java.lang.Object, java.lang.Object)
Object o1
Object o2
org.eclipse.core.internal.content.ContentType type1
org.eclipse.core.internal.content.ContentType type2
int depthCriteria
int priorityCriteria
}
org/eclipse/core/internal/content/ContentTypeCatalog$4.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$4 extends java.lang.Object implements java.util.Comparator {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
void (org.eclipse.core.internal.content.ContentTypeCatalog)
public int compare (java.lang.Object, java.lang.Object)
Object o1
Object o2
org.eclipse.core.internal.content.ContentType type1
org.eclipse.core.internal.content.ContentType type2
}
org/eclipse/core/internal/content/ContentTypeCatalog$5.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$5 extends java.lang.Object implements java.util.Comparator {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
void (org.eclipse.core.internal.content.ContentTypeCatalog)
public int compare (java.lang.Object, java.lang.Object)
Object o1
Object o2
org.eclipse.core.internal.content.ContentType type1
org.eclipse.core.internal.content.ContentType type2
int depthCriteria
int priorityCriteria
}
org/eclipse/core/internal/content/ContentTypeCatalog$6.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$6 extends java.lang.Object implements org.eclipse.core.runtime.ISafeRunnable {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
private final org.eclipse.core.runtime.content.IContentType[][] val$result
private final org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy val$policy
private final org.eclipse.core.runtime.content.IContentType[] val$candidates
private final boolean val$fileName
private final boolean val$contents
void (org.eclipse.core.internal.content.ContentTypeCatalog, org.eclipse.core.runtime.content.IContentType[][], org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy, org.eclipse.core.runtime.content.IContentType[], boolean, boolean)
public void handleException (java.lang.Throwable)
Throwable exception
public void run () throws java.lang.Exception
}
org/eclipse/core/internal/content/ContentTypeCatalog$7.classContentTypeCatalog.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeCatalog$7 extends java.lang.Object implements org.eclipse.core.internal.content.ContentTypeVisitor {
final org.eclipse.core.internal.content.ContentTypeCatalog this$0
private final org.eclipse.core.internal.content.ContentType val$root
private final org.eclipse.core.runtime.preferences.IScopeContext val$context
private final String val$fileSpecText
private final int val$fileSpecType
private final java.util.Collection val$existing
private final java.util.Set val$destination
void (org.eclipse.core.internal.content.ContentTypeCatalog, org.eclipse.core.internal.content.ContentType, org.eclipse.core.runtime.preferences.IScopeContext, java.lang.String, int, java.util.Collection, java.util.Set)
public int visit (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType type
}
org/eclipse/core/internal/content/ContentTypeCatalog.classContentTypeCatalog.java
package org.eclipse.core.internal.content
public final org.eclipse.core.internal.content.ContentTypeCatalog extends java.lang.Object {
private static final org.eclipse.core.runtime.content.IContentType[] NO_CONTENT_TYPES
private final java.util.Map allChildren
private final java.util.Map contentTypes
private final java.util.Map fileExtensions
private final java.util.Map fileNames
private int generation
private org.eclipse.core.internal.content.ContentTypeManager manager
private final java.util.Comparator policyConstantGeneralIsBetter
private java.util.Comparator policyConstantSpecificIsBetter
private java.util.Comparator policyGeneralIsBetter
private java.util.Comparator policyLexicographical
private java.util.Comparator policySpecificIsBetter
static void ()
private static org.eclipse.core.runtime.content.IContentType[] concat (org.eclipse.core.runtime.content.IContentType[][])
org.eclipse.core.runtime.content.IContentType[][] types
org.eclipse.core.runtime.content.IContentType[] result
public void (org.eclipse.core.internal.content.ContentTypeManager, int)
org.eclipse.core.internal.content.ContentTypeManager manager
int generation
synchronized void addContentType (org.eclipse.core.runtime.content.IContentType)
org.eclipse.core.runtime.content.IContentType contentType
private org.eclipse.core.runtime.content.IContentType[] applyPolicy (org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy, org.eclipse.core.runtime.content.IContentType[], boolean, boolean)
org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy policy
org.eclipse.core.runtime.content.IContentType[] candidates
boolean fileName
boolean contents
org.eclipse.core.runtime.content.IContentType[][] result
private void associate (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType contentType
String[] builtInFileNames
int i
String[] builtInFileExtensions
int i
synchronized void associate (org.eclipse.core.internal.content.ContentType, java.lang.String, int)
org.eclipse.core.internal.content.ContentType contentType
String text
int type
java.util.Map fileSpecMap
String mappingKey
java.util.Set existing
private int collectMatchingByContents (int, org.eclipse.core.runtime.content.IContentType[], java.util.List, org.eclipse.core.internal.content.ILazySource, java.util.Map) throws java.io.IOException
int valid
org.eclipse.core.runtime.content.IContentType[] subset
java.util.List destination
org.eclipse.core.internal.content.ILazySource contents
java.util.Map properties
int i
org.eclipse.core.internal.content.ContentType current
org.eclipse.core.runtime.content.IContentDescriber describer
int status
int describe (org.eclipse.core.internal.content.ContentType, org.eclipse.core.internal.content.ILazySource, org.eclipse.core.internal.content.ContentDescription, java.util.Map) throws java.io.IOException
org.eclipse.core.internal.content.ContentType type
org.eclipse.core.internal.content.ILazySource contents
org.eclipse.core.internal.content.ContentDescription description
java.util.Map properties
org.eclipse.core.runtime.content.IContentDescriber describer
RuntimeException re
Error e
org.eclipse.core.internal.content.LowLevelIOException llioe
java.io.IOException ioe
String message
synchronized void dissociate (org.eclipse.core.internal.content.ContentType, java.lang.String, int)
org.eclipse.core.internal.content.ContentType contentType
String text
int type
java.util.Map fileSpecMap
String mappingKey
java.util.Set existing
private boolean ensureValid (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType type
org.eclipse.core.internal.content.ContentType baseType
org.eclipse.core.runtime.content.IContentType[] findContentTypesFor (org.eclipse.core.internal.content.ContentTypeMatcher, java.io.InputStream, java.lang.String) throws java.io.IOException
org.eclipse.core.internal.content.ContentTypeMatcher matcher
java.io.InputStream contents
String fileName
org.eclipse.core.internal.content.ILazySource buffer
org.eclipse.core.runtime.content.IContentType[] selected
org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy policy
org.eclipse.core.runtime.content.IContentType[] findContentTypesFor (org.eclipse.core.internal.content.ContentTypeMatcher, java.lang.String)
org.eclipse.core.internal.content.ContentTypeMatcher matcher
String fileName
org.eclipse.core.runtime.content.IContentType[] selected
org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy policy
public synchronized org.eclipse.core.runtime.content.IContentType[] getAllContentTypes ()
java.util.List result
java.util.Iterator i
org.eclipse.core.internal.content.ContentType type
private org.eclipse.core.internal.content.ContentType[] getChildren (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType parent
org.eclipse.core.internal.content.ContentType[] children
java.util.List result
java.util.Iterator i
org.eclipse.core.internal.content.ContentType next
public org.eclipse.core.internal.content.ContentType getContentType (java.lang.String)
String contentTypeIdentifier
org.eclipse.core.internal.content.ContentType type
private org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (org.eclipse.core.internal.content.ContentTypeMatcher, org.eclipse.core.internal.content.ILazySource, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
org.eclipse.core.internal.content.ContentTypeMatcher matcher
org.eclipse.core.internal.content.ILazySource contents
String fileName
org.eclipse.core.runtime.QualifiedName[] options
org.eclipse.core.runtime.content.IContentType[] selected
org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy policy
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (org.eclipse.core.internal.content.ContentTypeMatcher, java.io.InputStream, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
org.eclipse.core.internal.content.ContentTypeMatcher matcher
java.io.InputStream contents
String fileName
org.eclipse.core.runtime.QualifiedName[] options
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (org.eclipse.core.internal.content.ContentTypeMatcher, java.io.Reader, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
org.eclipse.core.internal.content.ContentTypeMatcher matcher
java.io.Reader contents
String fileName
org.eclipse.core.runtime.QualifiedName[] options
public int getGeneration ()
public org.eclipse.core.internal.content.ContentTypeManager getManager ()
private boolean internalAccept (org.eclipse.core.internal.content.ContentTypeVisitor, org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentTypeVisitor visitor
org.eclipse.core.internal.content.ContentType root
int result
org.eclipse.core.internal.content.ContentType[] children
int i
private org.eclipse.core.runtime.content.IContentType[] internalFindContentTypesFor (org.eclipse.core.internal.content.ILazySource, org.eclipse.core.runtime.content.IContentType[][], java.util.Comparator, java.util.Comparator) throws java.io.IOException
org.eclipse.core.internal.content.ILazySource buffer
org.eclipse.core.runtime.content.IContentType[][] subset
java.util.Comparator validPolicy
java.util.Comparator indeterminatePolicy
java.util.Map properties
java.util.List appropriate
int validFullName
int appropriateFullName
int validExtension
int appropriateExtension
org.eclipse.core.runtime.content.IContentType[] result
private org.eclipse.core.runtime.content.IContentType[] internalFindContentTypesFor (org.eclipse.core.internal.content.ContentTypeMatcher, org.eclipse.core.internal.content.ILazySource, java.lang.String, boolean) throws java.io.IOException
org.eclipse.core.internal.content.ContentTypeMatcher matcher
org.eclipse.core.internal.content.ILazySource buffer
String fileName
boolean forceValidation
org.eclipse.core.runtime.content.IContentType[][] subset
org.eclipse.core.runtime.content.IContentType[][] subset
java.util.Comparator validPolicy
java.util.Comparator validPolicy
java.util.Comparator indeterminatePolicy
java.util.Comparator indeterminatePolicy
int total
org.eclipse.core.runtime.content.IContentType[] found
org.eclipse.core.runtime.content.IContentDescriber describer
private synchronized org.eclipse.core.runtime.content.IContentType[][] internalFindContentTypesFor (org.eclipse.core.internal.content.ContentTypeMatcher, java.lang.String, java.util.Comparator)
org.eclipse.core.internal.content.ContentTypeMatcher matcher
String fileName
java.util.Comparator sortingPolicy
org.eclipse.core.runtime.preferences.IScopeContext context
org.eclipse.core.runtime.content.IContentType[][] result
java.util.Set allByFileName
java.util.Set allByFileName
java.util.Set selectedByName
String fileExtension
java.util.Set allByFileExtension
java.util.Set allByFileExtension
java.util.Set selectedByExtension
private java.util.Set getDirectlyAssociated (java.lang.String, int)
String text
int typeMask
java.util.Map associations
java.util.Set result
java.util.Set initialSet
java.util.Iterator i
org.eclipse.core.internal.content.ContentType contentType
synchronized org.eclipse.core.internal.content.ContentType internalGetContentType (java.lang.String)
String contentTypeIdentifier
private void makeAliases ()
java.util.Iterator i
org.eclipse.core.internal.content.ContentType type
String targetId
org.eclipse.core.internal.content.ContentType target
protected synchronized void organize ()
java.util.Iterator i
org.eclipse.core.internal.content.ContentType type
java.util.Iterator i
org.eclipse.core.internal.content.ContentType type
private java.util.Set selectMatchingByName (org.eclipse.core.runtime.preferences.IScopeContext, java.util.Collection, java.util.Collection, java.lang.String, int)
org.eclipse.core.runtime.preferences.IScopeContext context
java.util.Collection source
java.util.Collection existing
String fileSpecText
int fileSpecType
java.util.Set destination
java.util.Iterator i
org.eclipse.core.internal.content.ContentType root
}
org/eclipse/core/internal/content/ContentTypeHandler$DummyContentDescription.classContentTypeHandler.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeHandler$DummyContentDescription extends java.lang.Object implements org.eclipse.core.runtime.content.IContentDescription {
final org.eclipse.core.internal.content.ContentTypeHandler this$0
private void (org.eclipse.core.internal.content.ContentTypeHandler)
public java.lang.String getCharset ()
public org.eclipse.core.runtime.content.IContentType getContentType ()
public java.lang.Object getProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
public boolean isRequested (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
public void setProperty (org.eclipse.core.runtime.QualifiedName, java.lang.Object)
org.eclipse.core.runtime.QualifiedName key
Object value
void (org.eclipse.core.internal.content.ContentTypeHandler, org.eclipse.core.internal.content.ContentTypeHandler$DummyContentDescription)
}
org/eclipse/core/internal/content/ContentTypeHandler.classContentTypeHandler.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.ContentTypeHandler extends java.lang.Object implements org.eclipse.core.runtime.content.IContentType {
private int generation
String id
private java.lang.ref.SoftReference targetRef
void (org.eclipse.core.internal.content.ContentType, int)
org.eclipse.core.internal.content.ContentType target
int generation
public void addFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
String fileSpec
int type
org.eclipse.core.runtime.content.IContentType target
public boolean equals (java.lang.Object)
Object another
public org.eclipse.core.runtime.content.IContentType getBaseType ()
org.eclipse.core.internal.content.ContentType target
org.eclipse.core.internal.content.ContentType baseType
public java.lang.String getDefaultCharset ()
org.eclipse.core.runtime.content.IContentType target
public org.eclipse.core.runtime.content.IContentDescription getDefaultDescription ()
org.eclipse.core.runtime.content.IContentType target
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.InputStream, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.QualifiedName[] options
org.eclipse.core.runtime.content.IContentType target
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.Reader, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.QualifiedName[] options
org.eclipse.core.runtime.content.IContentType target
public java.lang.String[] getFileSpecs (int)
int type
org.eclipse.core.runtime.content.IContentType target
public java.lang.String getId ()
public java.lang.String getName ()
org.eclipse.core.runtime.content.IContentType target
public org.eclipse.core.runtime.content.IContentTypeSettings getSettings (org.eclipse.core.runtime.preferences.IScopeContext) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.preferences.IScopeContext context
org.eclipse.core.internal.content.ContentType target
org.eclipse.core.runtime.content.IContentTypeSettings settings
public org.eclipse.core.internal.content.ContentType getTarget ()
org.eclipse.core.internal.content.ContentType target
org.eclipse.core.internal.content.ContentTypeCatalog catalog
public int hashCode ()
public boolean isAssociatedWith (java.lang.String)
String fileName
org.eclipse.core.runtime.content.IContentType target
public boolean isAssociatedWith (java.lang.String, org.eclipse.core.runtime.preferences.IScopeContext)
String fileName
org.eclipse.core.runtime.preferences.IScopeContext context
org.eclipse.core.runtime.content.IContentType target
public boolean isKindOf (org.eclipse.core.runtime.content.IContentType)
org.eclipse.core.runtime.content.IContentType another
org.eclipse.core.runtime.content.IContentType target
public void removeFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
String fileSpec
int type
org.eclipse.core.runtime.content.IContentType target
public void setDefaultCharset (java.lang.String) throws org.eclipse.core.runtime.CoreException
String userCharset
org.eclipse.core.runtime.content.IContentType target
public java.lang.String toString ()
}
org/eclipse/core/internal/content/ContentTypeManager$1.classContentTypeManager.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeManager$1 extends java.lang.Object implements org.eclipse.core.runtime.ISafeRunnable {
final org.eclipse.core.internal.content.ContentTypeManager this$0
private final org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener val$listener
private final org.eclipse.core.runtime.content.IContentTypeManager$ContentTypeChangeEvent val$event
void (org.eclipse.core.internal.content.ContentTypeManager, org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener, org.eclipse.core.runtime.content.IContentTypeManager$ContentTypeChangeEvent)
public void handleException (java.lang.Throwable)
Throwable exception
public void run () throws java.lang.Exception
}
org/eclipse/core/internal/content/ContentTypeManager.classContentTypeManager.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.ContentTypeManager extends org.eclipse.core.internal.content.ContentTypeMatcher implements org.eclipse.core.runtime.content.IContentTypeManager org.eclipse.core.runtime.IRegistryChangeListener {
private static org.eclipse.core.internal.content.ContentTypeManager instance
public static final int BLOCK_SIZE
public static final String CONTENT_TYPE_PREF_NODE
private static final String OPTION_DEBUG_CONTENT_TYPES
static final boolean DEBUGGING
private org.eclipse.core.internal.content.ContentTypeCatalog catalog
private int catalogGeneration
protected final org.eclipse.core.runtime.ListenerList contentTypeListeners
static void ()
public static void startup ()
public static void addRegistryChangeListener (org.eclipse.core.runtime.IExtensionRegistry)
org.eclipse.core.runtime.IExtensionRegistry registry
public static void shutdown ()
public static void removeRegistryChangeListener (org.eclipse.core.runtime.IExtensionRegistry)
org.eclipse.core.runtime.IExtensionRegistry registry
public static org.eclipse.core.internal.content.ContentTypeManager getInstance ()
static java.lang.String getFileExtension (java.lang.String)
String fileName
int dotPosition
protected static org.eclipse.core.internal.content.ILazySource readBuffer (java.io.InputStream)
java.io.InputStream contents
protected static org.eclipse.core.internal.content.ILazySource readBuffer (java.io.Reader)
java.io.Reader contents
public void ()
protected org.eclipse.core.internal.content.ContentTypeBuilder createBuilder (org.eclipse.core.internal.content.ContentTypeCatalog)
org.eclipse.core.internal.content.ContentTypeCatalog newCatalog
public org.eclipse.core.runtime.content.IContentType[] getAllContentTypes ()
org.eclipse.core.internal.content.ContentTypeCatalog currentCatalog
org.eclipse.core.runtime.content.IContentType[] types
org.eclipse.core.runtime.content.IContentType[] result
int generation
int i
protected synchronized org.eclipse.core.internal.content.ContentTypeCatalog getCatalog ()
org.eclipse.core.internal.content.ContentTypeCatalog newCatalog
org.eclipse.core.internal.content.ContentTypeBuilder builder
public org.eclipse.core.runtime.content.IContentType getContentType (java.lang.String)
String contentTypeIdentifier
org.eclipse.core.internal.content.ContentTypeCatalog currentCatalog
org.eclipse.core.internal.content.ContentType type
public org.eclipse.core.runtime.content.IContentTypeMatcher getMatcher (org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy, org.eclipse.core.runtime.preferences.IScopeContext)
org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy customPolicy
org.eclipse.core.runtime.preferences.IScopeContext context
org.eclipse.core.runtime.preferences.IEclipsePreferences getPreferences ()
org.eclipse.core.runtime.preferences.IEclipsePreferences getPreferences (org.eclipse.core.runtime.preferences.IScopeContext)
org.eclipse.core.runtime.preferences.IScopeContext context
public void registryChanged (org.eclipse.core.runtime.IRegistryChangeEvent)
org.eclipse.core.runtime.IRegistryChangeEvent event
synchronized void invalidate ()
public void addContentTypeChangeListener (org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener)
org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener listener
public void removeContentTypeChangeListener (org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener)
org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener listener
public void fireContentTypeChangeEvent (org.eclipse.core.internal.content.ContentType)
org.eclipse.core.internal.content.ContentType type
Object[] listeners
org.eclipse.core.runtime.content.IContentType eventObject
int i
org.eclipse.core.runtime.content.IContentTypeManager$ContentTypeChangeEvent event
org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener listener
org.eclipse.core.runtime.ISafeRunnable job
public org.eclipse.core.runtime.content.IContentDescription getSpecificDescription (org.eclipse.core.internal.content.BasicDescription)
org.eclipse.core.internal.content.BasicDescription description
}
org/eclipse/core/internal/content/ContentTypeMatcher$1.classContentTypeMatcher.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.ContentTypeMatcher$1 extends java.lang.Object implements org.eclipse.core.runtime.preferences.IPreferenceNodeVisitor {
final org.eclipse.core.internal.content.ContentTypeMatcher this$0
private final org.eclipse.core.runtime.preferences.IEclipsePreferences val$root
private final int val$typeMask
private final String val$fileSpec
private final org.eclipse.core.internal.content.ContentTypeCatalog val$catalog
private final java.util.Set val$result
void (org.eclipse.core.internal.content.ContentTypeMatcher, org.eclipse.core.runtime.preferences.IEclipsePreferences, int, java.lang.String, org.eclipse.core.internal.content.ContentTypeCatalog, java.util.Set)
public boolean visit (org.eclipse.core.runtime.preferences.IEclipsePreferences)
org.eclipse.core.runtime.preferences.IEclipsePreferences node
String[] fileSpecs
int i
org.eclipse.core.internal.content.ContentType associated
}
org/eclipse/core/internal/content/ContentTypeMatcher.classContentTypeMatcher.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.ContentTypeMatcher extends java.lang.Object implements org.eclipse.core.runtime.content.IContentTypeMatcher {
private org.eclipse.core.runtime.preferences.IScopeContext context
private org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy policy
public void (org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy, org.eclipse.core.runtime.preferences.IScopeContext)
org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy policy
org.eclipse.core.runtime.preferences.IScopeContext context
public org.eclipse.core.runtime.content.IContentType findContentTypeFor (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.InputStream contents
String fileName
org.eclipse.core.internal.content.ContentTypeCatalog currentCatalog
org.eclipse.core.runtime.content.IContentType[] all
public org.eclipse.core.runtime.content.IContentType findContentTypeFor (java.lang.String)
String fileName
org.eclipse.core.internal.content.ContentTypeCatalog currentCatalog
org.eclipse.core.runtime.content.IContentType[] associated
public org.eclipse.core.runtime.content.IContentType[] findContentTypesFor (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.InputStream contents
String fileName
org.eclipse.core.internal.content.ContentTypeCatalog currentCatalog
org.eclipse.core.runtime.content.IContentType[] types
org.eclipse.core.runtime.content.IContentType[] result
int generation
int i
public org.eclipse.core.runtime.content.IContentType[] findContentTypesFor (java.lang.String)
String fileName
org.eclipse.core.internal.content.ContentTypeCatalog currentCatalog
org.eclipse.core.runtime.content.IContentType[] types
org.eclipse.core.runtime.content.IContentType[] result
int generation
int i
private org.eclipse.core.internal.content.ContentTypeCatalog getCatalog ()
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.InputStream, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
java.io.InputStream contents
String fileName
org.eclipse.core.runtime.QualifiedName[] options
public org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.Reader, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
java.io.Reader contents
String fileName
org.eclipse.core.runtime.QualifiedName[] options
public org.eclipse.core.runtime.preferences.IScopeContext getContext ()
public org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy getPolicy ()
public java.util.Collection getDirectlyAssociated (org.eclipse.core.internal.content.ContentTypeCatalog, java.lang.String, int)
org.eclipse.core.internal.content.ContentTypeCatalog catalog
String fileSpec
int typeMask
org.eclipse.core.runtime.preferences.IEclipsePreferences root
java.util.Set result
org.osgi.service.prefs.BackingStoreException bse
public org.eclipse.core.runtime.content.IContentDescription getSpecificDescription (org.eclipse.core.internal.content.BasicDescription)
org.eclipse.core.internal.content.BasicDescription description
}
org/eclipse/core/internal/content/ContentTypeSettings.classContentTypeSettings.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.ContentTypeSettings extends java.lang.Object implements org.eclipse.core.runtime.content.IContentTypeSettings org.eclipse.core.internal.content.IContentTypeInfo {
private org.eclipse.core.internal.content.ContentType contentType
private org.eclipse.core.runtime.preferences.IScopeContext context
static void addFileSpec (org.eclipse.core.runtime.preferences.IScopeContext, java.lang.String, java.lang.String, int) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.preferences.IScopeContext context
String contentTypeId
String fileSpec
int type
org.osgi.service.prefs.Preferences contentTypeNode
String key
java.util.List existingValues
int i
String newValue
org.osgi.service.prefs.BackingStoreException bse
String message
org.eclipse.core.runtime.IStatus status
static java.lang.String[] getFileSpecs (org.eclipse.core.runtime.preferences.IScopeContext, java.lang.String, int)
org.eclipse.core.runtime.preferences.IScopeContext context
String contentTypeId
int type
org.osgi.service.prefs.Preferences contentTypeNode
static java.lang.String[] getFileSpecs (org.osgi.service.prefs.Preferences, int)
org.osgi.service.prefs.Preferences contentTypeNode
int type
String key
String existing
public static java.lang.String internalGetDefaultProperty (org.eclipse.core.internal.content.ContentType, org.osgi.service.prefs.Preferences, org.eclipse.core.runtime.QualifiedName) throws org.osgi.service.prefs.BackingStoreException
org.eclipse.core.internal.content.ContentType current
org.osgi.service.prefs.Preferences contentTypePrefs
org.eclipse.core.runtime.QualifiedName key
String id
org.osgi.service.prefs.Preferences contentTypeNode
String propertyValue
String propertyValue
org.eclipse.core.internal.content.ContentType baseType
static void removeFileSpec (org.eclipse.core.runtime.preferences.IScopeContext, java.lang.String, java.lang.String, int) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.preferences.IScopeContext context
String contentTypeId
String fileSpec
int type
org.osgi.service.prefs.Preferences contentTypeNode
String key
String existing
java.util.List existingValues
int index
int existingCount
int i
String newValue
org.osgi.service.prefs.BackingStoreException bse
String message
org.eclipse.core.runtime.IStatus status
public void (org.eclipse.core.internal.content.ContentType, org.eclipse.core.runtime.preferences.IScopeContext)
org.eclipse.core.internal.content.ContentType contentType
org.eclipse.core.runtime.preferences.IScopeContext context
public void addFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
String fileSpec
int type
public org.eclipse.core.internal.content.ContentType getContentType ()
public java.lang.String getDefaultCharset ()
public java.lang.String getDefaultProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
org.osgi.service.prefs.Preferences contentTypePrefs
String propertyValue
public java.lang.String[] getFileSpecs (int)
int type
public java.lang.String getId ()
public void removeFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
String fileSpec
int type
public void setDefaultCharset (java.lang.String) throws org.eclipse.core.runtime.CoreException
String userCharset
org.osgi.service.prefs.Preferences contentTypeNode
org.osgi.service.prefs.BackingStoreException bse
String message
org.eclipse.core.runtime.IStatus status
}
org/eclipse/core/internal/content/ContentTypeVisitor.classContentTypeVisitor.java
package org.eclipse.core.internal.content
public abstract org.eclipse.core.internal.content.ContentTypeVisitor extends java.lang.Object {
public static final int CONTINUE
public static final int RETURN
public static final int STOP
public abstract int visit (org.eclipse.core.internal.content.ContentType)
}
org/eclipse/core/internal/content/DefaultDescription.classDefaultDescription.java
package org.eclipse.core.internal.content
public final org.eclipse.core.internal.content.DefaultDescription extends org.eclipse.core.internal.content.BasicDescription {
public void (org.eclipse.core.internal.content.IContentTypeInfo)
org.eclipse.core.internal.content.IContentTypeInfo contentTypeInfo
public boolean equals (java.lang.Object)
Object obj
public java.lang.String getCharset ()
public java.lang.Object getProperty (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
public int hashCode ()
public boolean isRequested (org.eclipse.core.runtime.QualifiedName)
org.eclipse.core.runtime.QualifiedName key
public void setProperty (org.eclipse.core.runtime.QualifiedName, java.lang.Object)
org.eclipse.core.runtime.QualifiedName key
Object value
public java.lang.String toString ()
}
org/eclipse/core/internal/content/FileSpec.classFileSpec.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.FileSpec extends java.lang.Object {
static final int BASIC_TYPE
private String text
private int type
public void (java.lang.String, int)
String text
int type
public java.lang.String getText ()
public int getType ()
public static int getBasicType (int)
int type
public boolean equals (java.lang.Object)
Object other
org.eclipse.core.internal.content.FileSpec otherFileSpec
public boolean equals (java.lang.String, int, boolean)
String text
int otherType
boolean strict
public int hashCode ()
public static java.lang.String getMappingKeyFor (java.lang.String)
String fileSpecText
public java.lang.String toString ()
}
org/eclipse/core/internal/content/IContentConstants.classIContentConstants.java
package org.eclipse.core.internal.content
public abstract org.eclipse.core.internal.content.IContentConstants extends java.lang.Object {
public static final String RUNTIME_NAME
public static final String CONTENT_NAME
}
org/eclipse/core/internal/content/IContentTypeInfo.classIContentTypeInfo.java
package org.eclipse.core.internal.content
public abstract org.eclipse.core.internal.content.IContentTypeInfo extends java.lang.Object {
public abstract org.eclipse.core.internal.content.ContentType getContentType ()
public abstract java.lang.String getDefaultProperty (org.eclipse.core.runtime.QualifiedName)
}
org/eclipse/core/internal/content/ILazySource.classILazySource.java
package org.eclipse.core.internal.content
public abstract org.eclipse.core.internal.content.ILazySource extends java.lang.Object {
public abstract boolean isText ()
public abstract void rewind ()
}
org/eclipse/core/internal/content/LazyInputStream.classLazyInputStream.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.LazyInputStream extends java.io.InputStream implements org.eclipse.core.internal.content.ILazySource {
private int blockCapacity
byte[][] blocks
private int bufferSize
private java.io.InputStream in
private int mark
private int offset
public void (java.io.InputStream, int)
java.io.InputStream in
int blockCapacity
public int available () throws java.io.IOException
java.io.IOException ioe
private int computeBlockSize (int)
int blockIndex
int blockSize
private int copyFromBuffer (byte[], int, int)
byte[] userBuffer
int userOffset
int needed
int copied
int current
int blockSize
int offsetInBlock
int availableInBlock
int toCopy
private void ensureAvailable (long) throws java.io.IOException
long bytesToRead
int loadedBlockSize
java.io.IOException e
protected int getBlockCount ()
protected int getBufferSize ()
protected int getMark ()
protected int getOffset ()
public boolean isText ()
private int loadBlock () throws java.io.IOException
byte[] newBlock
int readCount
byte[][] tmpBlocks
public synchronized void mark (int)
int readlimit
public boolean markSupported ()
public int read () throws java.io.IOException
int nextByte
public int read (byte[]) throws java.io.IOException
byte[] b
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
int copied
public synchronized void reset ()
public void rewind ()
public long skip (long) throws java.io.IOException
long toSkip
long skipped
}
org/eclipse/core/internal/content/LazyReader.classLazyReader.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.LazyReader extends java.io.Reader implements org.eclipse.core.internal.content.ILazySource {
private int blockCapacity
char[][] blocks
private int bufferSize
private java.io.Reader in
private int mark
private int offset
public void (java.io.Reader, int)
java.io.Reader in
int blockCapacity
public void close ()
private int computeBlockSize (int)
int blockIndex
int blockSize
private int copyFromBuffer (char[], int, int)
char[] userBuffer
int userOffset
int needed
int copied
int current
int blockSize
int offsetInBlock
int availableInBlock
int toCopy
private void ensureAvailable (long) throws java.io.IOException
long charsToRead
int loadedBlockSize
java.io.IOException ioe
protected int getBlockCount ()
protected int getBufferSize ()
protected int getMark ()
protected int getOffset ()
public boolean isText ()
private int loadBlock () throws java.io.IOException
char[] newBlock
int readCount
char[][] tmpBlocks
public void mark (int)
int readlimit
public boolean markSupported ()
public int read () throws java.io.IOException
char nextChar
public int read (char[]) throws java.io.IOException
char[] c
public int read (char[], int, int) throws java.io.IOException
char[] c
int off
int len
int copied
public boolean ready () throws java.io.IOException
java.io.IOException ioe
public void reset ()
public void rewind ()
public long skip (long) throws java.io.IOException
long toSkip
long skipped
}
org/eclipse/core/internal/content/LowLevelIOException.classLowLevelIOException.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.LowLevelIOException extends java.io.IOException {
private static final long serialVersionUID
private java.io.IOException actual
public void (java.io.IOException)
java.io.IOException actual
public java.io.IOException getActualException ()
}
org/eclipse/core/internal/content/TextContentDescriber.classTextContentDescriber.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.TextContentDescriber extends java.lang.Object implements org.eclipse.core.runtime.content.ITextContentDescriber {
private static final org.eclipse.core.runtime.QualifiedName[] SUPPORTED_OPTIONS
static void ()
public void ()
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.content.IContentDescription description
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
byte[] bom
public org.eclipse.core.runtime.QualifiedName[] getSupportedOptions ()
}
org/eclipse/core/internal/content/Util.classUtil.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.Util extends java.lang.Object {
public void ()
public static java.lang.String[] parseItems (java.lang.String)
String string
public static java.lang.String[] parseItems (java.lang.String, java.lang.String)
String string
String separator
java.util.StringTokenizer tokenizer
String first
boolean wasSeparator
java.util.ArrayList items
String current
boolean isSeparator
public static java.util.List parseItemsIntoList (java.lang.String)
String string
public static java.util.List parseItemsIntoList (java.lang.String, java.lang.String)
String string
String separator
java.util.List items
java.util.StringTokenizer tokenizer
String first
boolean wasSeparator
String current
boolean isSeparator
public static java.lang.String toListString (java.lang.Object[])
Object[] list
public static java.lang.String toListString (java.lang.Object[], java.lang.String)
Object[] list
String separator
StringBuffer result
int i
public static byte[] getByteOrderMark (java.io.InputStream) throws java.io.IOException
java.io.InputStream input
int first
int second
int third
}
org/eclipse/core/internal/content/XMLContentDescriber.classXMLContentDescriber.java
package org.eclipse.core.internal.content
public org.eclipse.core.internal.content.XMLContentDescriber extends org.eclipse.core.runtime.content.XMLContentDescriber {
public void ()
}
org/eclipse/core/internal/content/XMLRootHandler$StopParsingException.classXMLRootHandler.java
package org.eclipse.core.internal.content
org.eclipse.core.internal.content.XMLRootHandler$StopParsingException extends org.xml.sax.SAXException {
private static final long serialVersionUID
final org.eclipse.core.internal.content.XMLRootHandler this$0
public void (org.eclipse.core.internal.content.XMLRootHandler)
}
org/eclipse/core/internal/content/XMLRootHandler.classXMLRootHandler.java
package org.eclipse.core.internal.content
public final org.eclipse.core.internal.content.XMLRootHandler extends org.xml.sax.helpers.DefaultHandler implements org.xml.sax.ext.LexicalHandler {
private boolean checkRoot
private String dtdFound
private String elementFound
private String namespaceFound
public void (boolean)
boolean checkRoot
public final void comment (char[], int, int)
char[] ch
int start
int length
private final javax.xml.parsers.SAXParser createParser (javax.xml.parsers.SAXParserFactory) throws javax.xml.parsers.ParserConfigurationException org.xml.sax.SAXException org.xml.sax.SAXNotRecognizedException org.xml.sax.SAXNotSupportedException
javax.xml.parsers.SAXParserFactory parserFactory
javax.xml.parsers.SAXParser parser
org.xml.sax.XMLReader reader
public final void endCDATA ()
public final void endDTD ()
public final void endEntity (java.lang.String)
String name
public java.lang.String getDTD ()
public java.lang.String getRootName ()
public java.lang.String getRootNamespace ()
public boolean parseContents (org.xml.sax.InputSource) throws java.io.IOException javax.xml.parsers.ParserConfigurationException org.xml.sax.SAXException
org.xml.sax.InputSource contents
javax.xml.parsers.SAXParserFactory factory
javax.xml.parsers.SAXParser parser
public org.xml.sax.InputSource resolveEntity (java.lang.String, java.lang.String) throws org.xml.sax.SAXException
String publicId
String systemId
public final void startCDATA ()
public final void startDTD (java.lang.String, java.lang.String, java.lang.String) throws org.xml.sax.SAXException
String name
String publicId
String systemId
public final void startElement (java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) throws org.xml.sax.SAXException
String uri
String elementName
String qualifiedName
org.xml.sax.Attributes attributes
public final void startEntity (java.lang.String)
String name
}
org/eclipse/core/internal/content/messages.properties
org/eclipse/core/runtime/
org/eclipse/core/runtime/content/
org/eclipse/core/runtime/content/BinarySignatureDescriber.classBinarySignatureDescriber.java
package org.eclipse.core.runtime.content
public final org.eclipse.core.runtime.content.BinarySignatureDescriber extends java.lang.Object implements org.eclipse.core.runtime.content.IContentDescriber org.eclipse.core.runtime.IExecutableExtension {
private static final String SIGNATURE
private static final String OFFSET
private static final Object REQUIRED
private byte[] signature
private int offset
private boolean required
static Class class$0
static void ()
public void ()
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
byte[] buffer
int notValid
int i
public org.eclipse.core.runtime.QualifiedName[] getSupportedOptions ()
public void setInitializationData (org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.IConfigurationElement config
String propertyName
Object data
java.util.Hashtable parameters
String message
NumberFormatException nfe
String message
private static byte[] parseSignature (java.lang.String)
String data
java.util.List bytes
java.util.StringTokenizer tokenizer
byte[] signature
int i
}
org/eclipse/core/runtime/content/IContentDescriber.classIContentDescriber.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentDescriber extends java.lang.Object {
public static final int INDETERMINATE
public static final int INVALID
public static final int VALID
public abstract int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
public abstract org.eclipse.core.runtime.QualifiedName[] getSupportedOptions ()
}
org/eclipse/core/runtime/content/IContentDescription.classIContentDescription.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentDescription extends java.lang.Object {
public static final org.eclipse.core.runtime.QualifiedName CHARSET
public static final org.eclipse.core.runtime.QualifiedName BYTE_ORDER_MARK
public static final org.eclipse.core.runtime.QualifiedName[] ALL
public static final byte[] BOM_UTF_8
public static final byte[] BOM_UTF_16BE
public static final byte[] BOM_UTF_16LE
static void ()
public abstract boolean isRequested (org.eclipse.core.runtime.QualifiedName)
public abstract java.lang.String getCharset ()
public abstract org.eclipse.core.runtime.content.IContentType getContentType ()
public abstract java.lang.Object getProperty (org.eclipse.core.runtime.QualifiedName)
public abstract void setProperty (org.eclipse.core.runtime.QualifiedName, java.lang.Object)
}
org/eclipse/core/runtime/content/IContentType.classIContentType.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentType extends java.lang.Object implements org.eclipse.core.runtime.content.IContentTypeSettings {
public static final int IGNORE_PRE_DEFINED
public static final int IGNORE_USER_DEFINED
public static final int FILE_NAME_SPEC
public static final int FILE_EXTENSION_SPEC
public abstract org.eclipse.core.runtime.content.IContentType getBaseType ()
public abstract org.eclipse.core.runtime.content.IContentDescription getDefaultDescription ()
public abstract org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.InputStream, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
public abstract org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.Reader, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
public abstract java.lang.String getDefaultCharset ()
public abstract java.lang.String[] getFileSpecs (int)
public abstract java.lang.String getId ()
public abstract java.lang.String getName ()
public abstract boolean isAssociatedWith (java.lang.String)
public abstract boolean isAssociatedWith (java.lang.String, org.eclipse.core.runtime.preferences.IScopeContext)
public abstract boolean isKindOf (org.eclipse.core.runtime.content.IContentType)
public abstract org.eclipse.core.runtime.content.IContentTypeSettings getSettings (org.eclipse.core.runtime.preferences.IScopeContext) throws org.eclipse.core.runtime.CoreException
}
org/eclipse/core/runtime/content/IContentTypeManager$ContentTypeChangeEvent.classIContentTypeManager.java
package org.eclipse.core.runtime.content
public final org.eclipse.core.runtime.content.IContentTypeManager$ContentTypeChangeEvent extends java.util.EventObject {
private static final long serialVersionUID
private org.eclipse.core.runtime.preferences.IScopeContext context
public void (org.eclipse.core.runtime.content.IContentType)
org.eclipse.core.runtime.content.IContentType source
public void (org.eclipse.core.runtime.content.IContentType, org.eclipse.core.runtime.preferences.IScopeContext)
org.eclipse.core.runtime.content.IContentType source
org.eclipse.core.runtime.preferences.IScopeContext context
public org.eclipse.core.runtime.content.IContentType getContentType ()
public org.eclipse.core.runtime.preferences.IScopeContext getContext ()
}
org/eclipse/core/runtime/content/IContentTypeManager$IContentTypeChangeListener.classIContentTypeManager.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener extends java.lang.Object {
public abstract void contentTypeChanged (org.eclipse.core.runtime.content.IContentTypeManager$ContentTypeChangeEvent)
}
org/eclipse/core/runtime/content/IContentTypeManager$ISelectionPolicy.classIContentTypeManager.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy extends java.lang.Object {
public abstract org.eclipse.core.runtime.content.IContentType[] select (org.eclipse.core.runtime.content.IContentType[], boolean, boolean)
}
org/eclipse/core/runtime/content/IContentTypeManager.classIContentTypeManager.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentTypeManager extends java.lang.Object implements org.eclipse.core.runtime.content.IContentTypeMatcher {
public static final String CT_TEXT
public abstract void addContentTypeChangeListener (org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener)
public abstract org.eclipse.core.runtime.content.IContentType[] getAllContentTypes ()
public abstract org.eclipse.core.runtime.content.IContentType getContentType (java.lang.String)
public abstract org.eclipse.core.runtime.content.IContentTypeMatcher getMatcher (org.eclipse.core.runtime.content.IContentTypeManager$ISelectionPolicy, org.eclipse.core.runtime.preferences.IScopeContext)
public abstract void removeContentTypeChangeListener (org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener)
}
org/eclipse/core/runtime/content/IContentTypeMatcher.classIContentTypeMatcher.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentTypeMatcher extends java.lang.Object {
public abstract org.eclipse.core.runtime.content.IContentType findContentTypeFor (java.io.InputStream, java.lang.String) throws java.io.IOException
public abstract org.eclipse.core.runtime.content.IContentType findContentTypeFor (java.lang.String)
public abstract org.eclipse.core.runtime.content.IContentType[] findContentTypesFor (java.io.InputStream, java.lang.String) throws java.io.IOException
public abstract org.eclipse.core.runtime.content.IContentType[] findContentTypesFor (java.lang.String)
public abstract org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.InputStream, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
public abstract org.eclipse.core.runtime.content.IContentDescription getDescriptionFor (java.io.Reader, java.lang.String, org.eclipse.core.runtime.QualifiedName[]) throws java.io.IOException
}
org/eclipse/core/runtime/content/IContentTypeSettings.classIContentTypeSettings.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.IContentTypeSettings extends java.lang.Object {
public static final int FILE_EXTENSION_SPEC
public static final int FILE_NAME_SPEC
public abstract void addFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
public abstract java.lang.String getDefaultCharset ()
public abstract java.lang.String[] getFileSpecs (int)
public abstract java.lang.String getId ()
public abstract void removeFileSpec (java.lang.String, int) throws org.eclipse.core.runtime.CoreException
public abstract void setDefaultCharset (java.lang.String) throws org.eclipse.core.runtime.CoreException
}
org/eclipse/core/runtime/content/ITextContentDescriber.classITextContentDescriber.java
package org.eclipse.core.runtime.content
public abstract org.eclipse.core.runtime.content.ITextContentDescriber extends java.lang.Object implements org.eclipse.core.runtime.content.IContentDescriber {
public abstract int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
}
org/eclipse/core/runtime/content/XMLContentDescriber.classXMLContentDescriber.java
package org.eclipse.core.runtime.content
public org.eclipse.core.runtime.content.XMLContentDescriber extends org.eclipse.core.internal.content.TextContentDescriber implements org.eclipse.core.runtime.content.ITextContentDescriber {
private static final org.eclipse.core.runtime.QualifiedName[] SUPPORTED_OPTIONS
private static final String XML_PREFIX
private static final String XML_DECL_END
private static final String BOM
private static final String CHARSET
private static final String FULL_XML_DECL
private static final String RESULT
static void ()
public void ()
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.InputStream input
org.eclipse.core.runtime.content.IContentDescription description
int describe2 (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.InputStream input
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.Reader input
org.eclipse.core.runtime.content.IContentDescription description
int describe2 (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.Reader input
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
private boolean isProcessed (java.util.Map)
java.util.Map properties
Boolean result
private void fillContentProperties (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.InputStream input
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
byte[] bom
String xmlDeclEncoding
private void fillContentProperties (java.lang.String, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
String line
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
String charset
private int internalDescribe (org.eclipse.core.runtime.content.IContentDescription, java.util.Map)
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
byte[] bom
Boolean fullXMLDecl
String charset
private boolean isNonDefaultCharset (java.lang.String)
String charset
private boolean isFullXMLDecl (java.lang.String)
String xmlDecl
private java.lang.String readXMLDecl (java.io.InputStream, java.lang.String) throws java.io.IOException
java.io.InputStream input
String encoding
byte[] xmlDeclEndBytes
int xmlDeclSize
byte[] xmlDecl
int c
int read
int count
private java.lang.String readXMLDecl (java.io.Reader) throws java.io.IOException
java.io.Reader input
java.io.BufferedReader reader
String xmlDecl
String line
private java.lang.String getCharset (java.lang.String)
String firstLine
int encodingPos
char quoteChar
int firstQuote
int secondQuote
private int findEncodingPosition (java.lang.String)
String line
String encoding
int fromIndex
int position
boolean equals
int i
char c
private boolean isCharsetValid (java.lang.String)
String charset
char c
int i
public org.eclipse.core.runtime.QualifiedName[] getSupportedOptions ()
}
org/eclipse/core/runtime/content/XMLRootElementContentDescriber.classXMLRootElementContentDescriber.java
package org.eclipse.core.runtime.content
public final org.eclipse.core.runtime.content.XMLRootElementContentDescriber extends org.eclipse.core.runtime.content.XMLContentDescriber implements org.eclipse.core.runtime.IExecutableExtension {
private static final String DTD_TO_FIND
private static final String ELEMENT_TO_FIND
private String dtdToFind
private String elementToFind
static Class class$0
public void ()
private int checkCriteria (org.xml.sax.InputSource, java.util.Map) throws java.io.IOException
org.xml.sax.InputSource contents
java.util.Map properties
private int checkCriteria (java.util.Map) throws java.io.IOException
java.util.Map properties
Boolean result
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.content.IContentDescription description
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
public void setInitializationData (org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.IConfigurationElement config
String propertyName
Object data
java.util.Hashtable parameters
String message
}
org/eclipse/core/runtime/content/XMLRootElementContentDescriber2$QualifiedElement.classXMLRootElementContentDescriber2.java
package org.eclipse.core.runtime.content
org.eclipse.core.runtime.content.XMLRootElementContentDescriber2$QualifiedElement extends java.lang.Object {
private String namespace
private String element
private String dtd
final org.eclipse.core.runtime.content.XMLRootElementContentDescriber2 this$0
public void (org.eclipse.core.runtime.content.XMLRootElementContentDescriber2, java.lang.String)
String qualifiedElement
int openBrace
int closeBrace
int dtdSlash
public boolean matches (java.lang.String, java.lang.String, java.lang.String)
String someNamespace
String someElement
String someDtd
boolean nsMatch
boolean elementEquals
boolean dtdEquals
}
org/eclipse/core/runtime/content/XMLRootElementContentDescriber2.classXMLRootElementContentDescriber2.java
package org.eclipse.core.runtime.content
public final org.eclipse.core.runtime.content.XMLRootElementContentDescriber2 extends org.eclipse.core.runtime.content.XMLContentDescriber implements org.eclipse.core.runtime.IExecutableExtension {
static final String DTD
static final String NAMESPACE
static final String ELEMENT
static final String RESULT
private static final String ELEMENT_TO_FIND
private org.eclipse.core.runtime.content.XMLRootElementContentDescriber2$QualifiedElement[] elementsToFind
static Class class$0
public void ()
private int checkCriteria (org.xml.sax.InputSource, java.util.Map) throws java.io.IOException
org.xml.sax.InputSource contents
java.util.Map properties
private int checkCriteria (java.util.Map) throws java.io.IOException
java.util.Map properties
Boolean result
boolean foundOne
int i
String dtd
String namespace
String element
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
public int describe (java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.InputStream contents
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.content.IContentDescription description
public int describe (java.io.Reader, org.eclipse.core.runtime.content.IContentDescription, java.util.Map) throws java.io.IOException
java.io.Reader contents
org.eclipse.core.runtime.content.IContentDescription description
java.util.Map properties
static boolean isProcessed (java.util.Map)
java.util.Map properties
Boolean result
static void fillContentProperties (org.xml.sax.InputSource, java.util.Map) throws java.io.IOException
org.xml.sax.InputSource input
java.util.Map properties
org.eclipse.core.internal.content.XMLRootHandler xmlHandler
javax.xml.parsers.ParserConfigurationException e
String message
String element
String dtd
String namespace
public void setInitializationData (org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.IConfigurationElement config
String propertyName
Object data
java.util.List elements
org.eclipse.core.runtime.IConfigurationElement describerElement
org.eclipse.core.runtime.IConfigurationElement[] params
String pname
int i
java.util.List qualifiedElements
java.util.Iterator it
String message
}