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
FieldsFields inherited from interface com.intellij.openapi.fileTypes.FileType
EMPTY_ARRAYFields inherited from interface com.intellij.openapi.options.Scheme
EDITABLE_COPY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.intellij.openapi.fileTypes.LanguageFileType
extractCharsetFromFileContent, extractCharsetFromFileContent, getDisplayName, getLanguage, isBinary, isJVMDebuggingSupported, isSecondary
-
Field Details
-
INSTANCE
public static final com.intellij.openapi.fileTypes.FileType INSTANCE
-
-
Constructor Details
-
LivePreviewFileType
protected LivePreviewFileType()
-
-
Method Details
-
getName
-
getDescription
-
getDefaultExtension
-
getIcon
-
isReadOnly
public boolean isReadOnly() -
getCharset
@Nullable public @Nullable String getCharset(@NotNull @NotNull com.intellij.openapi.vfs.VirtualFile file, byte @NotNull [] content)
-