Class IOUtils

java.lang.Object
org.bgerp.util.IOUtils

public class IOUtils extends Object
  • Constructor Details

    • IOUtils

      public IOUtils()
  • Method Details

    • read

      public static final byte[] read(String path) throws IOException
      Reads byte array out of file with path case if exists, otherwise treats path 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