Class IOUtils
java.lang.Object
org.kopi.ebics.io.IOUtils
Some IO utilities for EBICS files management.
EBICS server
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateDirectories(File directory) Creates directories from a given full path.static byte[]getFactoryContent(ContentFactory content) Returns the content of aContentFactoryas a byte arraystatic byte[]getFileContent(File file) Returns the content of a file as byte array.
-
Method Details
-
createDirectories
Creates directories from a given full path. Path should use default separator like '/' for UNIX systems -
getFileContent
Returns the content of a file as byte array.- Parameters:
file- the file- Returns:
- the byte array content of the file
- Throws:
EbicsException
-
getFactoryContent
Returns the content of aContentFactoryas a byte array- Parameters:
content-- Returns:
- content of a
ContentFactoryas abyte[] - Throws:
EbicsException
-