|
Drag[en]gine Script Module DragonScript 1.32.1
|
File extension for use with file browsers. More...
Public Member Functions | |
| String | getName () |
| Name to display. | |
| Array | getPatterns () |
| Array of file pattern strings in the form ".xyz". | |
| String | getPatternsString () |
| File pattern as single string typically used in file browsers. | |
| String | getPatternsString (String delimiter) |
| File pattern as single string typically used in file browsers. | |
| FileExtension | new (String name, Array patterns, String defaultExtension) |
| Create file type. | |
File extension for use with file browsers.
Immutable class.
| String Dragengine.FileExtension.getName | ( | ) |
Name to display.
| Array Dragengine.FileExtension.getPatterns | ( | ) |
Array of file pattern strings in the form ".xyz".
| String Dragengine.FileExtension.getPatternsString | ( | ) |
File pattern as single string typically used in file browsers.
Returned string is in the form "*.abc,*.xyz,...".
| String Dragengine.FileExtension.getPatternsString | ( | String | delimiter | ) |
File pattern as single string typically used in file browsers.
Returned string is in the form "*.abc{delimiter}*.xyz,..." where "{delimiter}" is the string provided by delimiter. "*" is only prepended if pattern starts with a period.
| FileExtension Dragengine.FileExtension.new | ( | String | name, |
| Array | patterns, | ||
| String | defaultExtension | ||
| ) |
Create file type.