org.tbee.flv
Class FLVNumber

java.lang.Object
  extended by org.tbee.flv.FLVString
      extended by org.tbee.flv.FLVNumber

public class FLVNumber
extends FLVString

Version:
$Revision: 1.5 $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
FLVNumber()
           
FLVNumber(int length)
           
FLVNumber(int length, int numberOfDecimals)
           
FLVNumber(String name, int length)
           
FLVNumber(String name, int length, int numberOfDecimals)
           
 
Method Summary
protected  void configureProperty(String key, String value)
          configure one property
 BigDecimal getNumber(String line)
           
 int getNumberOfDecimals()
          numberOfDecimals (counted from the right), so 1234 and separator at 1 means 123.4
 void setNumberOfDecimals(int value)
           
 
Methods inherited from class org.tbee.flv.FLVString
configure, getLength, getName, getNameForDebug, getStartIdx, getString, setLength, setName, setStartIdx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

FLVNumber

public FLVNumber()

FLVNumber

public FLVNumber(int length)
Parameters:
length -

FLVNumber

public FLVNumber(String name,
                 int length)
Parameters:
name -
length -

FLVNumber

public FLVNumber(int length,
                 int numberOfDecimals)
Parameters:
length -
numberOfDecimals -

FLVNumber

public FLVNumber(String name,
                 int length,
                 int numberOfDecimals)
Parameters:
name -
length -
numberOfDecimals -
Method Detail

getNumberOfDecimals

public int getNumberOfDecimals()
numberOfDecimals (counted from the right), so 1234 and separator at 1 means 123.4


setNumberOfDecimals

public void setNumberOfDecimals(int value)

getNumber

public BigDecimal getNumber(String line)

configureProperty

protected void configureProperty(String key,
                                 String value)
configure one property

Overrides:
configureProperty in class FLVString
Parameters:
key -
value -


Copyright © 2011 KnowledgePlaza. All Rights Reserved.