com.intellij.openapi.fileTypes
Class UserBinaryFileType

java.lang.Object
  extended by com.intellij.openapi.fileTypes.UserFileType<UserBinaryFileType>
      extended by com.intellij.openapi.fileTypes.UserBinaryFileType
All Implemented Interfaces:
FileType, java.lang.Cloneable

public class UserBinaryFileType
extends UserFileType<UserBinaryFileType>


Field Summary
 
Fields inherited from interface com.intellij.openapi.fileTypes.FileType
EMPTY_ARRAY
 
Constructor Summary
UserBinaryFileType()
           
 
Method Summary
 SettingsEditor<UserBinaryFileType> getEditor()
           
 SyntaxHighlighter getHighlighter(Project project)
          Returns the syntax highlighter for the files of the type.
 boolean isBinary()
          Returns true if files of the specified type contain binary data.
 
Methods inherited from class com.intellij.openapi.fileTypes.UserFileType
clone, copyFrom, getCharset, getDefaultExtension, getDescription, getIcon, getLanguage, getName, getStructureViewBuilder, isReadOnly, setDescription, setIcon, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBinaryFileType

public UserBinaryFileType()
Method Detail

getEditor

public SettingsEditor<UserBinaryFileType> getEditor()
Specified by:
getEditor in class UserFileType<UserBinaryFileType>

isBinary

public boolean isBinary()
Description copied from interface: FileType
Returns true if files of the specified type contain binary data. Used for source control, to-do items scanning and other purposes.

Returns:
true if the file is binary, false if the file is plain text.

getHighlighter

public SyntaxHighlighter getHighlighter(Project project)
Description copied from interface: FileType
Returns the syntax highlighter for the files of the type.

Parameters:
project - The project in which the highligher will work, or null if the highlighter is not tied to any project.
Returns:
The highlighter implementation.