http://helma.org/bugs/show_bug.cgi?id=651 Summary: Changes to FileObject and ImageObject
Product: Helma
Version: CVS trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P1
Component: Extensions
AssignedTo:
helma-dev@...
ReportedBy:
lists@...
I know that FileObject is regarded deprecated in the Helma documentation, but
since it's still used in ImageObject, here a proposal of some simple changes
that make working with it a bit easier and that remove the dependency from
ImageObject:
I changed FileObject to implement Wrapper and return the real java.io.File
object in unwrap. Like this, ImageObject does not need to know about the
FileObject class any longer, and JavaScripts can use toJava(file) to get the
java.io.File object. We could also think of the same change to ImageObject, to
get the underlying java.awt.Image...
I also changed the FileObject concstructor to be more flexible about what it
receives.
Let me know what you think. I don't think this breaks any backward
compatibility.
--
Configure bugmail:
http://helma.org/bugs/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev