Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.10.2
-
Component/s: Dev and Dep
-
Labels:
Description
Currently, supported file formats are handled as text strings (constants in AppletFormatAdapter).
This is fragile (updates needed in several places for a new format), verbose (if-then-else statements), not type safe, does not support plug-in of additional formats.
Enhance the code to use interfaces that describe file formats, with file format types as implementors of these interfaces.
This is fragile (updates needed in several places for a new format), verbose (if-then-else statements), not type safe, does not support plug-in of additional formats.
Enhance the code to use interfaces that describe file formats, with file format types as implementors of these interfaces.