public String toString(final boolean includeFileInfo) {
            final int topLevelFilesMaximumDisplayCount = 10;
            final String incompletePraefix = resultIsIncomplete ? ">=" : "";
            String result = "files:" + incompletePraefix + fileCount + ", dirs:" + incompletePraefix + dirCount + ", totalFileSize:" + incompletePraefix + Formatter.formatBytes(totalFileSize);

            if (includeFileInfo) {
                result +=
                        ", topLevel(" + (topLevelFiles.size() > topLevelFilesMaximumDisplayCount ? "first " + topLevelFilesMaximumDisplayCount + " of " : "") +
                                topLevelFiles.size() + "):[" + CollectionStream.of(topLevelFiles).limit(topLevelFilesMaximumDisplayCount).toJoinedString(";") + "]";
            }
            return result;
        }
Collection of higher-level utility functions for Folders.
<br>
Since Folders can be based several base types (Files, DOcuments etc) they can be used uniquely
for all those types
main/src/main/java/cgeo/geocaching/storage/FolderUtils.java