org.jetbrains.kotlin.idea
Class KotlinModuleFileType

java.lang.Object
  extended by org.jetbrains.kotlin.idea.KotlinModuleFileType
All Implemented Interfaces:
com.intellij.openapi.fileTypes.FileType, com.intellij.openapi.options.Scheme

public class KotlinModuleFileType
extends java.lang.Object
implements com.intellij.openapi.fileTypes.FileType


Field Summary
static java.lang.String EXTENSION
           
static KotlinModuleFileType INSTANCE
           
 
Fields inherited from interface com.intellij.openapi.fileTypes.FileType
EMPTY_ARRAY
 
Method Summary
 java.lang.String getCharset(com.intellij.openapi.vfs.VirtualFile file, byte[] content)
           
 java.lang.String getDefaultExtension()
           
 java.lang.String getDescription()
           
 javax.swing.Icon getIcon()
           
 java.lang.String getName()
           
 boolean isBinary()
           
 boolean isReadOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION

public static final java.lang.String EXTENSION
See Also:
Constant Field Values

INSTANCE

public static final KotlinModuleFileType INSTANCE
Method Detail

getName

@NotNull
public java.lang.String getName()
Specified by:
getName in interface com.intellij.openapi.fileTypes.FileType
Specified by:
getName in interface com.intellij.openapi.options.Scheme

getDescription

@NotNull
public java.lang.String getDescription()
Specified by:
getDescription in interface com.intellij.openapi.fileTypes.FileType

getDefaultExtension

@NotNull
public java.lang.String getDefaultExtension()
Specified by:
getDefaultExtension in interface com.intellij.openapi.fileTypes.FileType

getIcon

public javax.swing.Icon getIcon()
Specified by:
getIcon in interface com.intellij.openapi.fileTypes.FileType

isBinary

public boolean isBinary()
Specified by:
isBinary in interface com.intellij.openapi.fileTypes.FileType

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface com.intellij.openapi.fileTypes.FileType

getCharset

@Nullable
public java.lang.String getCharset(@NotNull
                                            com.intellij.openapi.vfs.VirtualFile file,
                                            @NotNull
                                            byte[] content)
Specified by:
getCharset in interface com.intellij.openapi.fileTypes.FileType