com.iver.cit.jdwglib.dwg
Class DwgSectionOffset

java.lang.Object
  extended bycom.iver.cit.jdwglib.dwg.DwgSectionOffset

public class DwgSectionOffset
extends java.lang.Object

The DwgSectionOffset class is useful to store the key of a DWG section with its seek (or offset) and with its size

Author:
jmorell

Constructor Summary
DwgSectionOffset(java.lang.String key, int seek, int size)
          Creates a new DwgSectionOffset object
 
Method Summary
 java.lang.String getKey()
           
 int getSeek()
           
 void setKey(java.lang.String key)
           
 void setSeek(int seek)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DwgSectionOffset

public DwgSectionOffset(java.lang.String key,
                        int seek,
                        int size)
Creates a new DwgSectionOffset object

Parameters:
key - Section key
seek - Seeker or offset in the DWG file for this section
size - Size of this section
Method Detail

getKey

public java.lang.String getKey()
Returns:
Returns the key.

setKey

public void setKey(java.lang.String key)
Parameters:
key - The key to set.

getSeek

public int getSeek()
Returns:
Returns the seek.

setSeek

public void setSeek(int seek)
Parameters:
seek - The seek to set.