|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContentParser
ContentParser interface for content streams.
| Method Summary | |
|---|---|
GraphicsState |
getGraphicsState()
Gets the graphic state object associated with the parser. |
Shapes |
getShapes()
Gets the shapes parsed by the last run of parse. |
java.util.Stack<java.lang.Object> |
getStack()
Gets the stack used by the content parser. |
ContentParser |
parse(byte[][] streamBytes)
Parse the given stream bytes. |
Shapes |
parseTextBlocks(byte[][] source)
Optimized text parsing call which will ignore any instructions that are not related to text extraction. |
void |
setGlyph2UserSpaceScale(float scale)
Sets the scale factor used by some graphic state parameters so that the to users space CTM scale factor can be applied. |
void |
setGraphicsState(GraphicsState graphicState)
Sets the external graphics state object associated with Form's and Tiling Patterns. |
| Method Detail |
|---|
Shapes getShapes()
parse.
java.util.Stack<java.lang.Object> getStack()
GraphicsState getGraphicsState()
void setGraphicsState(GraphicsState graphicState)
graphicState - graphic state to pass to parser.
ContentParser parse(byte[][] streamBytes)
throws java.lang.InterruptedException,
java.io.IOException
streamBytes - bytes that make of one or more content streams.
java.lang.InterruptedException - thread was interrupted.
java.io.IOException - io exception during the pars.
Shapes parseTextBlocks(byte[][] source)
throws java.io.UnsupportedEncodingException
source - byte source to parse.
java.io.UnsupportedEncodingException - encoding error.void setGlyph2UserSpaceScale(float scale)
scale - scale factor to apply to various graphic state parameters.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||