Package org.bgerp.util
Class IOUtils
java.lang.Object
org.bgerp.util.IOUtils
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IOUtils
public IOUtils()
-
-
Method Details
-
read
Reads byte array out of file withpath
case if exists, otherwise treatspath
as Java resource and reads it.- Parameters:
path
- file path or Java resource identifier, examples:/org/bgerp/util/SomeFile.data
or/tmp/SomeFile.data
.- Returns:
- Throws:
IOException
-