|
Mylyn WikiText version 3.2.0.v20090617-0100 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.mylyn.wikitext.core.WikiText
public class WikiText
A utility class for accessing markup languages and validation. Use only in an Eclipse runtime environment. Programs
should use the ServiceLocator instead of this class if possible. Stand-alone programs (that is, those
programs that do not run in an Eclipse runtime) must not use this class.
ServiceLocator| Field Summary | |
|---|---|
static String |
CONTENT_TYPE
the content type id of wikitext files. |
| Method Summary | |
|---|---|
static Set<String> |
getMarkupFileExtensions()
Get the file extensions that are registered for markup languages. |
static MarkupLanguage |
getMarkupLanguage(String name)
Get a markup language by name. |
static MarkupLanguage |
getMarkupLanguageForFilename(String name)
Get a markup language for a file. |
static String |
getMarkupLanguageNameForFilename(String name)
Get a markup language name for a file. |
static Set<String> |
getMarkupLanguageNames()
Get the names of all known markup languages |
static MarkupValidator |
getMarkupValidator(String name)
Get a markup validator by language name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONTENT_TYPE
content type id of wikitext files.
| Method Detail |
|---|
public static Set<String> getMarkupFileExtensions()
public static MarkupLanguage getMarkupLanguage(String name)
name - the name of the markup language to retrieve
getMarkupLanguageNames()public static MarkupLanguage getMarkupLanguageForFilename(String name)
name - the name of the file for which a markup language is desired
getMarkupLanguageForFilename(String)public static String getMarkupLanguageNameForFilename(String name)
name - the name of the file for which a markup language is desired
getMarkupLanguageForFilename(String)public static Set<String> getMarkupLanguageNames()
getMarkupLanguage(String)public static MarkupValidator getMarkupValidator(String name)
name - the name of the markup language for which a validator is desired
getMarkupLanguageNames()
|
Mylyn WikiText version 3.2.0.v20090617-0100 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||