Package | Description |
---|---|
org.eclipse.core.resources |
Provides basic support for managing a workspace and
its resources.
|
org.eclipse.core.runtime.content |
Provides core support for content types.
|
org.eclipse.ui.ide |
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
|
Modifier and Type | Method and Description |
---|---|
IContentDescription |
IFile.getContentDescription()
Returns a description for this file's current contents.
|
Modifier and Type | Method and Description |
---|---|
IContentDescription |
IContentType.getDefaultDescription()
Returns the default content description for this content type.
|
IContentDescription |
IContentType.getDescriptionFor(InputStream contents,
QualifiedName[] options)
Tries to obtain a description for the given contents.
|
IContentDescription |
IContentTypeMatcher.getDescriptionFor(InputStream contents,
String fileName,
QualifiedName[] options)
Tries to obtain a description for the given contents and file name.
|
IContentDescription |
IContentType.getDescriptionFor(Reader contents,
QualifiedName[] options)
Tries to obtain a description for the given contents.
|
IContentDescription |
IContentTypeMatcher.getDescriptionFor(Reader contents,
String fileName,
QualifiedName[] options)
Tries to obtain a description for the given contents and file name.
|
Modifier and Type | Method and Description |
---|---|
int |
XMLRootElementContentDescriber.describe(InputStream contents,
IContentDescription description)
Deprecated.
|
int |
XMLContentDescriber.describe(InputStream input,
IContentDescription description) |
int |
XMLRootElementContentDescriber2.describe(InputStream contents,
IContentDescription description) |
int |
BinarySignatureDescriber.describe(InputStream contents,
IContentDescription description) |
int |
IContentDescriber.describe(InputStream contents,
IContentDescription description)
Tries to fill a description for the given contents.
|
int |
XMLRootElementContentDescriber.describe(InputStream contents,
IContentDescription description,
Map<String,Object> properties)
Deprecated.
|
int |
XMLRootElementContentDescriber2.describe(InputStream contents,
IContentDescription description,
Map<String,Object> properties) |
int |
ITextContentDescriber.describe(Reader contents,
IContentDescription description)
Tries to fill a description for the given contents.
|
int |
XMLRootElementContentDescriber.describe(Reader contents,
IContentDescription description)
Deprecated.
|
int |
XMLContentDescriber.describe(Reader input,
IContentDescription description) |
int |
XMLRootElementContentDescriber2.describe(Reader contents,
IContentDescription description) |
int |
XMLRootElementContentDescriber.describe(Reader contents,
IContentDescription description,
Map<String,Object> properties)
Deprecated.
|
int |
XMLRootElementContentDescriber2.describe(Reader contents,
IContentDescription description,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
static String |
IDEEncoding.getByteOrderMarkLabel(IContentDescription description)
Get the displayable string for the byte order marking from the supplied
file description.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.