Menu

#1 New Feature: implement java.io.Serializable

open
Jon Iles
None
5
2009-03-11
2009-02-10
No

It would be nice if ProjectFile implemented standard Serializable interface. While it is of lower importance given that projects can be written to and read from XML format, standard Java serialization would help e.g. when an object has a ProjectFile as its field. Currently, any such fields must be declared 'transient' and the object must deal with reading writing the project itself.

Additionally, parsing XML is slower (though I don't know how much slower) than just reading a Java-serialized and already built object.

Discussion

  • Jon Iles

    Jon Iles - 2009-03-10

    I'm planning to release a 3.0.1 version of MPXJ shortly just containing bug
    fixes, I'll then look at this as new functionality for inclusion in the
    3.1.0 release.

     
  • Jon Iles

    Jon Iles - 2009-03-10
    • assigned_to: nobody --> joniles
     
  • Jon Iles

    Jon Iles - 2009-03-10
    • summary: implement java.io.Serializable --> New Feature: implement java.io.Serializable
     
  • Jon Iles

    Jon Iles - 2009-03-11
    • assigned_to: joniles --> nobody
     
  • Jon Iles

    Jon Iles - 2009-03-11
    • assigned_to: nobody --> joniles
     

Log in to post a comment.