|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.flv.FLVStringParser
public class FLVStringParser
This class can split up a string based on FLV logic. Unlike in Java the indexes start at 1 (not 0)
| Field Summary | |
|---|---|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
FLVStringParser()
|
|
| Method Summary | |
|---|---|
void |
addField(FLVString type)
|
void |
addField(int idx,
FLVString type)
|
int |
findIdx(String name)
for using the named idx |
int |
getColumnSeparatorWidth()
ColumnSeparator |
String |
getData()
the data (string) to be processed |
Date |
getDate(int idx)
|
Date |
getDate(String name)
|
FLVString |
getField(int idx)
fields |
int |
getFieldCount()
|
BigDecimal |
getNumber(int idx)
|
BigDecimal |
getNumber(String name)
|
String |
getString(int idx)
wrappers for the type methods |
String |
getString(String name)
wrappers for the named-type methods |
int |
getTotalLength()
total length |
void |
removeField(FLVString type)
|
void |
removeField(int idx)
|
void |
setColumnSeparatorWidth(int value)
|
void |
setData(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SOURCECODE_VERSION
| Constructor Detail |
|---|
public FLVStringParser()
| Method Detail |
|---|
public FLVString getField(int idx)
public void addField(int idx,
FLVString type)
public void addField(FLVString type)
public void removeField(int idx)
public void removeField(FLVString type)
public int getFieldCount()
public int getColumnSeparatorWidth()
public void setColumnSeparatorWidth(int value)
public int getTotalLength()
public String getData()
public void setData(String value)
public String getString(int idx)
public BigDecimal getNumber(int idx)
public Date getDate(int idx)
public int findIdx(String name)
public String getString(String name)
public BigDecimal getNumber(String name)
public Date getDate(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||