Package org.loboevolution.pdfview
Class PDFDebugger
java.lang.Object
org.loboevolution.pdfview.PDFDebugger
PDFDebugger class.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ConstantDEBUG_DCTDECODE_DATA="debugdctdecode"
static final boolean
ConstantDEBUG_IMAGES=false
static final boolean
ConstantDEBUG_OPERATORS=false
static final boolean
ConstantDEBUG_PATH=false
static final int
ConstantDEBUG_STOP_AT_INDEX=0
static final boolean
ConstantDEBUG_TEXT=false
static int
Constantdebuglevel=4000
static final boolean
ConstantDISABLE_CLIP=false
static final boolean
ConstantDISABLE_FORMS=false
static final boolean
ConstantDISABLE_IMAGES=false
static final boolean
ConstantDISABLE_PATH_FILL=false
static final boolean
ConstantDISABLE_PATH_STROKE=false
static final boolean
ConstantDISABLE_PATH_STROKE_FILL=false
static final boolean
ConstantDISABLE_SHADER=false
static final boolean
ConstantDISABLE_TEXT=false
static final boolean
ConstantDISABLE_THUMBNAILS=false
static final long
ConstantDRAW_DELAY=0
static final boolean
ConstantSHOW_TEXT_ANCHOR=false
static final boolean
ConstantSHOW_TEXT_REGIONS=false
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
debug.static void
debug.static void
debugImage
(BufferedImage image, String name) debugImage.static void
dump.static String
dumpStream
(byte[] stream) dumpStream.static String
escape.static void
logPath
(GeneralPath path, String operation) logPath.static void
setDebugLevel
(int level) setDebugLevel.
-
Field Details
-
DEBUG_DCTDECODE_DATA
ConstantDEBUG_DCTDECODE_DATA="debugdctdecode"
- See Also:
-
DEBUG_TEXT
public static final boolean DEBUG_TEXTConstantDEBUG_TEXT=false
- See Also:
-
DEBUG_IMAGES
public static final boolean DEBUG_IMAGESConstantDEBUG_IMAGES=false
- See Also:
-
DEBUG_OPERATORS
public static final boolean DEBUG_OPERATORSConstantDEBUG_OPERATORS=false
- See Also:
-
DEBUG_PATH
public static final boolean DEBUG_PATHConstantDEBUG_PATH=false
- See Also:
-
DEBUG_STOP_AT_INDEX
public static final int DEBUG_STOP_AT_INDEXConstantDEBUG_STOP_AT_INDEX=0
- See Also:
-
DISABLE_TEXT
public static final boolean DISABLE_TEXTConstantDISABLE_TEXT=false
- See Also:
-
DISABLE_IMAGES
public static final boolean DISABLE_IMAGESConstantDISABLE_IMAGES=false
- See Also:
-
DISABLE_PATH_STROKE
public static final boolean DISABLE_PATH_STROKEConstantDISABLE_PATH_STROKE=false
- See Also:
-
DISABLE_PATH_FILL
public static final boolean DISABLE_PATH_FILLConstantDISABLE_PATH_FILL=false
- See Also:
-
DISABLE_PATH_STROKE_FILL
public static final boolean DISABLE_PATH_STROKE_FILLConstantDISABLE_PATH_STROKE_FILL=false
- See Also:
-
DISABLE_CLIP
public static final boolean DISABLE_CLIPConstantDISABLE_CLIP=false
- See Also:
-
DISABLE_FORMS
public static final boolean DISABLE_FORMSConstantDISABLE_FORMS=false
- See Also:
-
DISABLE_SHADER
public static final boolean DISABLE_SHADERConstantDISABLE_SHADER=false
- See Also:
-
SHOW_TEXT_REGIONS
public static final boolean SHOW_TEXT_REGIONSConstantSHOW_TEXT_REGIONS=false
- See Also:
-
SHOW_TEXT_ANCHOR
public static final boolean SHOW_TEXT_ANCHORConstantSHOW_TEXT_ANCHOR=false
- See Also:
-
DISABLE_THUMBNAILS
public static final boolean DISABLE_THUMBNAILSConstantDISABLE_THUMBNAILS=false
- See Also:
-
DRAW_DELAY
public static final long DRAW_DELAYConstantDRAW_DELAY=0
- See Also:
-
debuglevel
public static int debuglevelConstantdebuglevel=4000
-
-
Constructor Details
-
PDFDebugger
public PDFDebugger()
-
-
Method Details
-
debugImage
debugImage.
- Parameters:
image
- aBufferedImage
object.name
- aString
object.
-
debug
debug.
-
debug
debug.
- Parameters:
msg
- aString
object.
-
escape
escape.
-
setDebugLevel
public static void setDebugLevel(int level) setDebugLevel.
- Parameters:
level
- aInteger
object.
-
dumpStream
dumpStream.
- Parameters:
stream
- an array ofinvalid reference
byte
- Returns:
- a
String
object.
-
logPath
logPath.
- Parameters:
path
- aGeneralPath
object.operation
- aString
object.
-
dump
dump.
- Parameters:
obj
- aPDFObject
object.- Throws:
IOException
- if any.
-