org.apache.poi.hwpf.sprm
Class CharacterSprmUncompressor

java.lang.Object
  extended by org.apache.poi.hwpf.sprm.CharacterSprmUncompressor

public final class CharacterSprmUncompressor
extends java.lang.Object


Constructor Summary
CharacterSprmUncompressor()
           
 
Method Summary
static boolean getFlag(int x)
          Converts an int into a boolean.
static CharacterProperties uncompressCHP(CharacterProperties parent, byte[] grpprl, int offset)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterSprmUncompressor

public CharacterSprmUncompressor()
Method Detail

uncompressCHP

public static CharacterProperties uncompressCHP(CharacterProperties parent,
                                                byte[] grpprl,
                                                int offset)

getFlag

public static boolean getFlag(int x)
Converts an int into a boolean. If the int is non-zero, it returns true. Otherwise it returns false.

Parameters:
x - The int to convert.
Returns:
A boolean whose value depends on x.