## File Type: File Recognition

See Also

The New File Type wizard creates a new File Type. You open the New File Type wizard by right-clicking a module project, choosing New > File/Folder and selecting File Type from the NetBeans Plug-in Module category.

In the File Recognition page, you have to set the following:

- MIME Type. Specifies a unique Multipurpose Internet Mail Extension (MIME) that enables the file type to be registered in the `layer.xml` file. Together, the MIME type and the filename extension or XML root element enable the IDE to distinguish one file type from another.
- by
  - Filename Extension. Specifies one or more file extensions that the IDE will recognize as belonging to the specified MIME type. The file extension can optionally be preceded by a dot. Separators are commas, spaces, or both. Therefore, all of the following are valid:
    - .abc,.def
    - .abc .def
    - abc def
    - abc,.def ghi, .wow
  - XML Root Element. Specifies a unique namespace that distinguishes the XML file type from all other XML file types.

See Also
  About NetBeans Platform and Module Development
  About the NetBeans Platform

Legal Notices