Package nl.vpro.util
Class FileMetadata
- java.lang.Object
-
- nl.vpro.util.FileMetadata
-
public class FileMetadata extends Object
An abstract representation of a File, it can e.g. also be a file on a different server.- Since:
- 1.78
- Author:
- Michiel Meeuwissen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileMetadata.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getFileName()
Instant
getLastModified()
Long
getSize()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
builder
public static FileMetadata.Builder builder()
-
getSize
public Long getSize()
-
getLastModified
public Instant getLastModified()
-
getFileName
public String getFileName()
-
canEqual
protected boolean canEqual(Object other)
-
-