to.etc.domui.util.upload
Class MiniParser
java.lang.Object
to.etc.domui.util.upload.MiniParser
public class MiniParser
- extends java.lang.Object
Small parser which can decode the "parameter=value; param=value" format used
by the upload format.
Created on Nov 21, 2005
- Author:
- Frits Jalvingh
Method Summary |
java.lang.String |
getProperty()
|
java.lang.String |
getValue()
|
void |
init(java.lang.String in)
|
java.util.Map<java.lang.String,java.lang.String> |
parse(java.lang.String in,
boolean lcnames)
|
boolean |
parseNext()
Parses the next item at the location. |
void |
setProperty(java.lang.String property)
|
void |
setValue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiniParser
public MiniParser()
getProperty
public final java.lang.String getProperty()
setProperty
public final void setProperty(java.lang.String property)
getValue
public final java.lang.String getValue()
setValue
public final void setValue(java.lang.String value)
init
public void init(java.lang.String in)
parse
public java.util.Map<java.lang.String,java.lang.String> parse(java.lang.String in,
boolean lcnames)
parseNext
public boolean parseNext()
- Parses the next item at the location. It skips any separator then looks for
a property=value part.
- Returns: