public class Helper extends Object
Constructor and Description |
---|
Helper() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
deepCopy(T obj) |
static char |
extractCharacterFromByteArray(byte[] byteArray,
int startIndex) |
static String |
extractParameter(byte[] bytes,
int startIndex) |
static byte[] |
extractParameterAsBytes(byte[] bytes,
int startIndex) |
static void |
extractVersion(String pdfDocumentPath,
String[] pdfVersion,
long[] documentStartIndex,
boolean[] isLinearized) |
static int |
fromHexDigitToNumber(byte b) |
static int |
fromHexDigitToNumber(char hexChar) |
static String |
getPdfNameFromExtractedName(String extractedName) |
static boolean |
isCorrectUtf8Text(String text) |
static boolean |
isDigit(byte b) |
static boolean |
isEndParameter(byte bt) |
static boolean |
isSpace(byte bt) |
static boolean |
isSpace(char ch) |
static byte[] |
subBytes(byte[] bytes,
int indexFrom,
int indexTo) |
static String |
subString(byte[] bytes,
int indexFrom,
int indexTo) |
public static boolean isSpace(byte bt)
public static boolean isSpace(char ch)
public static boolean isEndParameter(byte bt)
public static boolean isDigit(byte b)
public static <T> T deepCopy(T obj)
public static String subString(byte[] bytes, int indexFrom, int indexTo)
public static byte[] subBytes(byte[] bytes, int indexFrom, int indexTo)
public static String extractParameter(byte[] bytes, int startIndex)
public static byte[] extractParameterAsBytes(byte[] bytes, int startIndex)
public static char extractCharacterFromByteArray(byte[] byteArray, int startIndex)
public static int fromHexDigitToNumber(byte b)
public static int fromHexDigitToNumber(char hexChar)
public static void extractVersion(String pdfDocumentPath, String[] pdfVersion, long[] documentStartIndex, boolean[] isLinearized)
public static boolean isCorrectUtf8Text(String text)
Copyright © 2016 Aspose. All Rights Reserved.