S
Sebastian
Hello there,
I seem to misunderstand a thing about java.io.File. I wanted to use
the File object to transport information files existing in one place
(basically, a directory listing) to another place.
The API says File serves as an abstract representation of a file, and
that it implements Serializable.
However, after Serialization/Deserialization (in another JVM) the
methods lastModified() and length() return 0. This is not what I
expected.
Is there a standard object to transport this information, or do I have
to define my own?
-- Sebastian
I seem to misunderstand a thing about java.io.File. I wanted to use
the File object to transport information files existing in one place
(basically, a directory listing) to another place.
The API says File serves as an abstract representation of a file, and
that it implements Serializable.
However, after Serialization/Deserialization (in another JVM) the
methods lastModified() and length() return 0. This is not what I
expected.
Is there a standard object to transport this information, or do I have
to define my own?
-- Sebastian