effect Groups From File
open fun <P : Position2D<out P>?> effectGroupsFromFile(effectFile: File): List<EffectGroup<P>>
Content copied to clipboard
Get a list of EffectGroup from the specified file. It tries to deserialize a JSON file.
Return
List of the effect groups collected from the file
Parameters
<P>
the position type
effect File
Source file
Throws
If the file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading
com. google. gson. Json IOException
If there was a problem reading from the Reader
com. google. gson. Json Syntax Exception
If JSON is not a valid representation for an object of type
If some other I/O error occurs