@Internal public final class SprmUtils extends java.lang.Object
Constructor and Description |
---|
SprmUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
addSpecialSprm(short instruction,
byte[] varParam,
java.util.List<byte[]> list) |
static int |
addSprm(short instruction,
boolean param,
java.util.List<byte[]> list) |
static int |
addSprm(short instruction,
int param,
byte[] varParam,
java.util.List<byte[]> list) |
static int |
convertBrcToInt(short[] brc) |
static byte[] |
getGrpprl(java.util.List<byte[]> sprmList,
int size) |
static int |
getMaxRecordLength() |
static void |
setMaxRecordLength(int length) |
static byte[] |
shortArrayToByteArray(short[] convert)
Deprecated.
unused by POI internally
|
public static void setMaxRecordLength(int length)
length
- the max record length allowed for SPRM datapublic static int getMaxRecordLength()
@Removal(version="6.0.0") public static byte[] shortArrayToByteArray(short[] convert)
public static int addSpecialSprm(short instruction, byte[] varParam, java.util.List<byte[]> list)
public static int addSprm(short instruction, boolean param, java.util.List<byte[]> list)
public static int addSprm(short instruction, int param, byte[] varParam, java.util.List<byte[]> list)
public static byte[] getGrpprl(java.util.List<byte[]> sprmList, int size)
public static int convertBrcToInt(short[] brc)
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.