@Deprecated public class ScratchFileType extends LanguageFileType implements FileTypeIdentifiableByVirtualFile
Modifier and Type | Field and Description |
---|---|
static LanguageFileType |
INSTANCE
Deprecated.
|
ARRAY_FACTORY, EMPTY_ARRAY
EDITABLE_COPY_PREFIX
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultExtension()
Deprecated.
Returns the default extension for files of the type.
|
java.lang.String |
getDescription()
Deprecated.
Returns the user-readable description of the file type.
|
javax.swing.Icon |
getIcon()
Deprecated.
Returns the icon used for showing files of the type.
|
java.lang.String |
getName()
Deprecated.
Returns the name of the file type.
|
boolean |
isMyFileType(VirtualFile file)
Deprecated.
|
boolean |
isReadOnly()
Deprecated.
Returns
true if the specified file type is read-only. |
extractCharsetFromFileContent, extractCharsetFromFileContent, getCharset, getLanguage, isBinary, isJVMDebuggingSupported, isSecondary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCharset, isBinary
getDisplayName
public static final LanguageFileType INSTANCE
public boolean isMyFileType(VirtualFile file)
isMyFileType
in interface FileTypeIdentifiableByVirtualFile
public java.lang.String getName()
FileType
public java.lang.String getDescription()
FileType
getDescription
in interface FileType
public java.lang.String getDefaultExtension()
FileType
getDefaultExtension
in interface FileType
public javax.swing.Icon getIcon()
FileType
public boolean isReadOnly()
FileType
true
if the specified file type is read-only. Read-only file types are not shown in the "File Types" settings dialog,
and users cannot change the extensions associated with the file type.isReadOnly
in interface FileType
isReadOnly
in class LanguageFileType
true
if the file type is read-only, false
otherwise.