@Deprecated public class ScratchFileType extends LanguageFileType implements FileTypeIdentifiableByVirtualFile
| Modifier and Type | Field and Description |
|---|---|
static LanguageFileType |
INSTANCE
Deprecated.
|
ARRAY_FACTORY, EMPTY_ARRAYEDITABLE_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, isSecondaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCharset, isBinarygetDisplayNamepublic static final LanguageFileType INSTANCE
public boolean isMyFileType(VirtualFile file)
isMyFileType in interface FileTypeIdentifiableByVirtualFilepublic java.lang.String getName()
FileTypepublic java.lang.String getDescription()
FileTypegetDescription in interface FileTypepublic java.lang.String getDefaultExtension()
FileTypegetDefaultExtension in interface FileTypepublic javax.swing.Icon getIcon()
FileTypepublic boolean isReadOnly()
FileTypetrue 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 FileTypeisReadOnly in class LanguageFileTypetrue if the file type is read-only, false otherwise.