public class DumbXMLParser extends Object
Constructor and Description |
---|
DumbXMLParser() |
Modifier and Type | Method and Description |
---|---|
int |
countTokens(String l) |
Rectangle2D |
getBoundingBox(String l) |
Rectangle2D |
getBoundingBox(TreeMap pairs) |
TreeMap |
getPairs(String l) |
String |
getToken(String l,
int num) |
String |
getValue(String l)
saca un valor double de una linea del tipo
|
double |
getValueDouble(String l)
saca un valor double de una linea del tipo
|
public Rectangle2D getBoundingBox(String l)
public Rectangle2D getBoundingBox(TreeMap pairs)
public double getValueDouble(String l)
l
- public String getValue(String l)
l
- public int countTokens(String l)