php.java.bridge
Class Parser
java.lang.Object
php.java.bridge.Parser
class Parser
- extends java.lang.Object
|
Method Summary |
(package private) void |
APPEND(byte c)
|
(package private) void |
CALL_BEGIN()
|
(package private) void |
CALL_END()
|
(package private) short |
initOptions(java.io.InputStream in)
|
(package private) short |
parse(java.io.InputStream in)
|
(package private) void |
PUSH(int t)
|
void |
reset()
Reset the internal state. |
(package private) void |
RESET()
|
void |
setBridge(JavaBridge bridge)
Set the current bridge object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RECV_SIZE
static final int RECV_SIZE
- See Also:
- Constant Field Values
MAX_ARGS
static final int MAX_ARGS
- See Also:
- Constant Field Values
SLEN
static final int SLEN
- See Also:
- Constant Field Values
OK
static final short OK
- See Also:
- Constant Field Values
PING
static final short PING
- See Also:
- Constant Field Values
EOF
static final short EOF
- See Also:
- Constant Field Values
IO_ERROR
static final short IO_ERROR
- See Also:
- Constant Field Values
handler
IDocHandler handler
bridge
JavaBridge bridge
type
short type
in_dquote
boolean in_dquote
eot
boolean eot
Parser
Parser(JavaBridge bridge,
IDocHandler handler)
initOptions
short initOptions(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
RESET
void RESET()
APPEND
void APPEND(byte c)
CALL_BEGIN
void CALL_BEGIN()
CALL_END
void CALL_END()
PUSH
void PUSH(int t)
parse
short parse(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
reset
public void reset()
- Reset the internal state. Useful if you want to switch the
input stream for the next packet.
setBridge
public void setBridge(JavaBridge bridge)
- Set the current bridge object
- Parameters:
bridge - The bridge