/** * Returns the number of unallocated bytes in the partition of that file. * @since 1.542 */ public long getFreeDiskSpace() throws IOException, InterruptedException { return act(new GetFreeDiskSpace()); } private static class GetFreeDiskSpace extends SecureFileCallable<Long> {