
Package ca.uhn.fhir.util
Class FileUtil
java.lang.Object
ca.uhn.fhir.util.FileUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringformatFileSize(long theBytes) static StringloadFileAsString(File theFile) Loads the contents of a File as a UTF-8 encoded string, and wraps any exceptions in an unchecked exception
- 
Constructor Details- 
FileUtilpublic FileUtil()
 
- 
- 
Method Details- 
formatFileSize
- 
loadFileAsStringLoads the contents of a File as a UTF-8 encoded string, and wraps any exceptions in an unchecked exception- Throws:
- InternalErrorException- If any IOException occurs
 
 
-