public class SSIProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER_SIZE |
protected static String |
COMMAND_END |
protected static String |
COMMAND_START |
protected HashMap<String,SSICommand> |
commands |
protected int |
debug |
protected SSIExternalResolver |
ssiExternalResolver |
| Constructor and Description |
|---|
SSIProcessor(SSIExternalResolver ssiExternalResolver,
int debug) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBuiltinCommands() |
void |
addCommand(String name,
SSICommand command) |
protected boolean |
charCmp(String buf,
int index,
String command) |
protected boolean |
isQuote(char c) |
protected boolean |
isSpace(char c) |
protected String[] |
parseParamNames(StringBuffer cmd,
int start) |
protected String[] |
parseParamValues(StringBuffer cmd,
int start,
int count) |
long |
process(Reader reader,
long lastModifiedDate,
PrintWriter writer) |
protected static final String COMMAND_START
protected static final String COMMAND_END
protected static final int BUFFER_SIZE
protected SSIExternalResolver ssiExternalResolver
protected HashMap<String,SSICommand> commands
protected int debug
public SSIProcessor(SSIExternalResolver ssiExternalResolver, int debug)
protected void addBuiltinCommands()
public void addCommand(String name, SSICommand command)
public long process(Reader reader, long lastModifiedDate, PrintWriter writer) throws IOException
IOExceptionprotected String[] parseParamNames(StringBuffer cmd, int start)
protected String[] parseParamValues(StringBuffer cmd, int start, int count)
protected boolean isSpace(char c)
protected boolean isQuote(char c)
Copyright © 2016. All Rights Reserved.