X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Freactor%2Fstates%2FFileState.java;h=b3bb70ae2892ff36f9202b3c9d62703495b8eba7;hb=04055548ac603af9e296aaccaa045371d820e784;hp=b0c439e344f38d437e63c43aa4a4696b582a359f;hpb=5f895eb42e38f07fee110d0bcce0d5a576a0a9ce;p=rhynodge.git diff --git a/src/main/java/net/pterodactylus/reactor/states/FileState.java b/src/main/java/net/pterodactylus/reactor/states/FileState.java index b0c439e..b3bb70a 100644 --- a/src/main/java/net/pterodactylus/reactor/states/FileState.java +++ b/src/main/java/net/pterodactylus/reactor/states/FileState.java @@ -114,4 +114,16 @@ public class FileState extends AbstractState { return modificationTime; } + // + // OBJECT METHODS + // + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return String.format("%s[exists=%s,readable=%s,size=%s,modificationTime=%d(%5$tc)", getClass().getSimpleName(), exists(), readable(), size(), modificationTime()); + } + }