Class FileUtils
java.lang.Object
org.aksw.jena_sparql_api.conjure.utils.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathallocateTmpFile(Path tgt) static longAttempts to calculate the size of a file or directory.
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
size
Attempts to calculate the size of a file or directory.Since the operation is non-atomic, the returned value may be inaccurate. However, this method is quick and does its best. Source: https://stackoverflow.com/questions/2149785/get-size-of-folder-or-file/19877372#19877372
-
allocateTmpFile
-