size

public Long size()

Returns the size of this directory. The size of the directory will be the sum of all files and directories. This means the size will be calculated recursively. If the directory does not exist the size will be -1

Return

the summed size of all files and directories in this directory or -1 if this directory does not exist