Drag[en]gine Script Module DragonScript
1.21
|
File extension for use with file browsers. More...
Public Member Functions | |
String | getName () |
Name to display. More... | |
Array | getPatterns () |
Array of file pattern strings in the form ".xyz". More... | |
String | getPatternsString () |
File pattern as single string typically used in file browsers. More... | |
String | getPatternsString (String delimiter) |
File pattern as single string typically used in file browsers. More... | |
FileExtension | new (String name, Array patterns, String defaultExtension) |
Create file type. More... | |
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.