Should FileTime be serializable?

Alan Bateman Alan.Bateman at Sun.COM
Tue Sep 1 05:10:29 PDT 2009


Mark Thornton wrote:
> I was contemplating a simple backup application to test out the new 
> api and decided to serialize the file metadata. Some it (e.g. 
> UserPrincipal) needs to be translated to another form, but I did not 
> see any good reason why FileTime could not serialize itself.
It's definitely worth consideration, with the String representation 
being a good candidate for its serialized form. Out of curiosity, what 
did you do for the UserPrincipals? Are you using the principal name?

-Alan.



More information about the nio-discuss mailing list