tools.file
Class BinaryBitSwap

java.lang.Object
  extended by tools.file.BinaryBitSwap

public class BinaryBitSwap
extends java.lang.Object

This class performs the bit-swapping for eprom chips that have data lines swapped.


Constructor Summary
BinaryBitSwap()
           
 
Method Summary
static int doSwap(int value, java.lang.String pattern)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryBitSwap

public BinaryBitSwap()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

doSwap

public static int doSwap(int value,
                         java.lang.String pattern)