Class SprmUtils

    • Constructor Detail

      • SprmUtils

        public SprmUtils()
    • Method Detail

      • setMaxRecordLength

        public static void setMaxRecordLength​(int length)
        Parameters:
        length - the max record length allowed for SPRM data
      • getMaxRecordLength

        public static int getMaxRecordLength()
        Returns:
        the max record length allowed for SPRM data
      • shortArrayToByteArray

        @Removal(version="6.0.0")
        public static byte[] shortArrayToByteArray​(short[] convert)
        Deprecated.
        unused by POI internally
      • addSpecialSprm

        public static int addSpecialSprm​(short instruction,
                                         byte[] varParam,
                                         List<byte[]> list)
      • addSprm

        public static int addSprm​(short instruction,
                                  boolean param,
                                  List<byte[]> list)
      • addSprm

        public static int addSprm​(short instruction,
                                  int param,
                                  byte[] varParam,
                                  List<byte[]> list)
      • getGrpprl

        public static byte[] getGrpprl​(List<byte[]> sprmList,
                                       int size)
      • convertBrcToInt

        public static int convertBrcToInt​(short[] brc)