jxl.biff
Class BaseCompoundFile.PropertyStorage

java.lang.Object
  |
  +--jxl.biff.BaseCompoundFile.PropertyStorage
Enclosing class:
BaseCompoundFile

protected class BaseCompoundFile.PropertyStorage
extends java.lang.Object

Inner class to represent the property storage sets


Field Summary
 byte[] data
          The data that created this set
 int directory
          The directory for this property set
 java.lang.String name
          The name of this property set
 int next
          The next property set
 int previous
          The previous property set
 int size
          The size, in bytes, of this property set
 int startBlock
          The block number in the stream which this property sets starts at
 int type
          The type of the property set
 
Constructor Summary
BaseCompoundFile.PropertyStorage(byte[] d)
          Constructs a property set
BaseCompoundFile.PropertyStorage(java.lang.String name)
          Constructs an empty property set.
 
Method Summary
 void setDirectory(int dir)
          Sets the directory
 void setNext(int nxt)
          Sets the next block
 void setPrevious(int prev)
          Sets the previous block
 void setSize(int s)
          Sets the size of the file
 void setStartBlock(int sb)
          Sets the number of the start block
 void setType(int t)
          Sets the type
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of this property set

type

public int type
The type of the property set

startBlock

public int startBlock
The block number in the stream which this property sets starts at

size

public int size
The size, in bytes, of this property set

previous

public int previous
The previous property set

next

public int next
The next property set

directory

public int directory
The directory for this property set

data

public byte[] data
The data that created this set
Constructor Detail

BaseCompoundFile.PropertyStorage

public BaseCompoundFile.PropertyStorage(byte[] d)
Constructs a property set
Parameters:
d -  

BaseCompoundFile.PropertyStorage

public BaseCompoundFile.PropertyStorage(java.lang.String name)
Constructs an empty property set. Used when writing the file
Method Detail

setType

public void setType(int t)
Sets the type
Parameters:
t - the type

setStartBlock

public void setStartBlock(int sb)
Sets the number of the start block
Parameters:
sb - the number of the start block

setSize

public void setSize(int s)
Sets the size of the file
Parameters:
s - the size

setPrevious

public void setPrevious(int prev)
Sets the previous block
Parameters:
prev - the previous block

setNext

public void setNext(int nxt)
Sets the next block
Parameters:
nxt - the next block

setDirectory

public void setDirectory(int dir)
Sets the directory
Parameters:
dir - the directory