ca.disassembly
Class BinTextPair

java.lang.Object
  extended by ca.disassembly.BinTextPair

public class BinTextPair
extends java.lang.Object

This class encapsulates the data from a binary file and the dissassembly text that goes with it.


Field Summary
 int[] data
           
 java.util.List<java.lang.String> lines
           
 int origin
           
 
Constructor Summary
BinTextPair(java.lang.String textName, int origin, java.lang.String binName)
          This constructs a new BinTextPair and loads the data from the two files.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public int[] data

origin

public int origin

lines

public java.util.List<java.lang.String> lines
Constructor Detail

BinTextPair

public BinTextPair(java.lang.String textName,
                   int origin,
                   java.lang.String binName)
            throws java.io.IOException
This constructs a new BinTextPair and loads the data from the two files.

Parameters:
textName - name of the text disassembly file
origin - the origin of the binary file
binName - the name of the binary file
Throws:
java.io.IOException - if something goes wrong reading the files