org.kabeja.parser
Class DXFValue

java.lang.Object
  extended by org.kabeja.parser.DXFValue

public final class DXFValue
extends java.lang.Object

This is a helper class, which convert to different output formats.

Author:
Constructor Summary
DXFValue()
           
DXFValue(java.lang.String value)
           
 
Method Summary
 boolean getBooleanValue()
          Convert the DXF value to boolean 0 -> false 1 -> true
 double getDoubleValue()
           
 int getIntegerValue()
           
 java.lang.String getValue()
           
 boolean isBitSet(int pos)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DXFValue

public DXFValue()

DXFValue

public DXFValue(java.lang.String value)
Method Detail

getValue

public java.lang.String getValue()

getDoubleValue

public double getDoubleValue()

getIntegerValue

public int getIntegerValue()

getBooleanValue

public boolean getBooleanValue()
Convert the DXF value to boolean 0 -> false 1 -> true

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isBitSet

public boolean isBitSet(int pos)