Package org.apache.commons.io.monitor
Class SerializableFileTime
java.lang.Object
org.apache.commons.io.monitor.SerializableFileTime
- All Implemented Interfaces:
Serializable
Wraps a
FileTime
and allows it to be Serializable.
Deprecating Serialization
Serialization is deprecated and will be removed in 3.0.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final SerializableFileTime
private FileTime
private static final long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EPOCH
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
fileTime
-
-
Constructor Details
-
SerializableFileTime
-
-
Method Details
-
compareTo
-
equals
-
hashCode
public int hashCode() -
readObject
- Throws:
ClassNotFoundException
IOException
-
to
-
toInstant
Instant toInstant() -
toMillis
long toMillis() -
toString
-
unwrap
FileTime unwrap() -
writeObject
- Throws:
IOException
-