Package org.intellij.grammar.livePreview
Class LivePreviewFileType
- java.lang.Object
-
- com.intellij.openapi.fileTypes.LanguageFileType
-
- org.intellij.grammar.livePreview.LivePreviewFileType
-
- All Implemented Interfaces:
com.intellij.openapi.fileTypes.FileType,com.intellij.openapi.options.Scheme
public class LivePreviewFileType extends com.intellij.openapi.fileTypes.LanguageFileType
-
-
Field Summary
Fields Modifier and Type Field Description static com.intellij.openapi.fileTypes.FileTypeINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protectedLivePreviewFileType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.StringgetCharset(@NotNull com.intellij.openapi.vfs.VirtualFile file, byte @NotNull [] content)@NotNull java.lang.StringgetDefaultExtension()@NotNull java.lang.StringgetDescription()@Nullable javax.swing.IcongetIcon()@NotNull java.lang.StringgetName()booleanisReadOnly()-
Methods inherited from class com.intellij.openapi.fileTypes.LanguageFileType
extractCharsetFromFileContent, extractCharsetFromFileContent, getLanguage, isBinary, isJVMDebuggingSupported, isSecondary
-
-
-
-
Method Detail
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getDescription
@NotNull public @NotNull java.lang.String getDescription()
-
getDefaultExtension
@NotNull public @NotNull java.lang.String getDefaultExtension()
-
getIcon
@Nullable public @Nullable javax.swing.Icon getIcon()
-
isReadOnly
public boolean isReadOnly()
-
getCharset
@Nullable public @Nullable java.lang.String getCharset(@NotNull @NotNull com.intellij.openapi.vfs.VirtualFile file, byte @NotNull [] content)
-
-