Class IOUtils

java.lang.Object
org.kopi.ebics.io.IOUtils

public final class IOUtils extends Object
Some IO utilities for EBICS files management. EBICS server
  • Method Details

    • createDirectories

      public static void createDirectories(File directory)
      Creates directories from a given full path. Path should use default separator like '/' for UNIX systems
    • getFileContent

      public static byte[] getFileContent(File file) throws EbicsException
      Returns the content of a file as byte array.
      Parameters:
      file - the file
      Returns:
      the byte array content of the file
      Throws:
      EbicsException
    • getFactoryContent

      public static byte[] getFactoryContent(ContentFactory content) throws EbicsException
      Returns the content of a ContentFactory as a byte array
      Parameters:
      content -
      Returns:
      content of a ContentFactory as a byte[]
      Throws:
      EbicsException