java.lang.Object
de.uni_halle.informatik.biodata.mp.io.parsers.cobra.COBRAUtils

public class COBRAUtils extends Object
  • Constructor Details

    • COBRAUtils

      public COBRAUtils()
  • Method Details

    • isEmptyString

      public static boolean isEmptyString(String string)
      Parameters:
      string - the String to be tested.
      Returns:
      true if the given String is either null or empty or equals empty square brackets.
    • checkId

      public static String checkId(String id)
      Necessary to check for a special whitespace (code 160) at beginning of id (iCHOv1.mat, possibly other models) and to remove trailing ';'
      Returns:
      trimmed id without ';' at the end
    • exists

      public static boolean exists(us.hebi.matlab.mat.types.Array cell, int i)
    • asString

      public static String asString(us.hebi.matlab.mat.types.Array array)
    • asString

      public static String asString(us.hebi.matlab.mat.types.Array array, String parentName, int parentIndex)