public class ObjectUtils extends Object
| Constructor and Description |
|---|
ObjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
checkEndObject(byte[] array) |
static byte[] |
convertEscapedValues(int j,
int start,
byte[] data,
boolean keepReturns) |
static byte[] |
convertReturnsToSpaces(byte[] newValues) |
static boolean |
isEscaped(byte[] raw,
int i) |
static byte[] |
readEscapedValue(int j,
byte[] data,
int start,
boolean keepReturns) |
static byte[] |
readRawValue(int j,
byte[] data,
int start) |
static int |
setDirectValue(PdfObject pdfObject,
int i,
byte[] raw,
int PDFkeyInt) |
static PdfObject[] |
setupDecodeParms(PdfObject pdfObject,
PdfFileReader objReader)
ensure all objects resolved
|
static String |
showMixedValuesAsString(Object[] objectValues,
String values) |
static int |
skipToEndOfObject(int start,
byte[] data) |
public static byte[] checkEndObject(byte[] array)
public static byte[] readRawValue(int j,
byte[] data,
int start)
public static byte[] readEscapedValue(int j,
byte[] data,
int start,
boolean keepReturns)
public static byte[] convertEscapedValues(int j,
int start,
byte[] data,
boolean keepReturns)
throws NumberFormatException
NumberFormatExceptionpublic static PdfObject[] setupDecodeParms(PdfObject pdfObject, PdfFileReader objReader)
pdfObject - objReader - public static byte[] convertReturnsToSpaces(byte[] newValues)
public static boolean isEscaped(byte[] raw,
int i)
public static int setDirectValue(PdfObject pdfObject, int i, byte[] raw, int PDFkeyInt)
public static String showMixedValuesAsString(Object[] objectValues, String values)
public static int skipToEndOfObject(int start,
byte[] data)
Copyright © 2017. All rights reserved.