jorkin / js-builder

Automatically exported from code.google.com/p/js-builder
0 stars 0 forks source link

Change SourceFile to abstract #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Make it an abstract base class and add implementation classes as needed: 
JSFile, CssFile, ImageFile, etc.

Original issue reported on code.google.com by bmoes...@gmail.com on 21 Nov 2006 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by bmoes...@gmail.com on 21 Nov 2006 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by bmoes...@gmail.com on 21 Nov 2006 at 9:16

GoogleCodeExporter commented 9 years ago
Changed default implementation to not support file parsing by default, and made
relevant methods virtual so that subclasses can override them to implement 
custom
source parsing.  Also added SourceFileFactory class.  No need for a specific
ImageFile as it now simply defaults to SourceFile as the generic, non-parsed 
file type.

Original comment by bmoes...@gmail.com on 22 Nov 2006 at 2:36