Class 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.FileType INSTANCE  
      • Fields inherited from interface com.intellij.openapi.fileTypes.FileType

        EMPTY_ARRAY
      • Fields inherited from interface com.intellij.openapi.options.Scheme

        EDITABLE_COPY_PREFIX
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LivePreviewFileType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable java.lang.String getCharset​(@NotNull com.intellij.openapi.vfs.VirtualFile file, byte @NotNull [] content)  
      @NotNull java.lang.String getDefaultExtension()  
      @NotNull java.lang.String getDescription()  
      @Nullable javax.swing.Icon getIcon()  
      @NotNull java.lang.String getName()  
      boolean isReadOnly()  
      • Methods inherited from class com.intellij.openapi.fileTypes.LanguageFileType

        extractCharsetFromFileContent, extractCharsetFromFileContent, getLanguage, isBinary, isJVMDebuggingSupported, isSecondary
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.intellij.openapi.options.Scheme

        getDisplayName
    • Field Detail

      • INSTANCE

        public static final com.intellij.openapi.fileTypes.FileType INSTANCE
    • Constructor Detail

      • LivePreviewFileType

        protected LivePreviewFileType()
    • 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)