Class Contents

java.lang.Object
  extended byContents

public class Contents
extends java.lang.Object

This class generate the contents of the rombank file, just after the TOC. The content is represented by the ROMs data plus some padding bytes, for the sectors.


Constructor Summary
Contents(RomsList roms)
          This is the class constructor!
 
Method Summary
 void writeContents(java.lang.String filename)
          Write the contents to the disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contents

public Contents(RomsList roms)
This is the class constructor! It requires a RomsList as parameter.

Parameters:
roms - The RomsList which will provide all the necessary data for the contents generating.
Method Detail

writeContents

public void writeContents(java.lang.String filename)
Write the contents to the disk. Note that this must be called before TOC.writeTOC, ok!!! :-)

Parameters:
filename - The file which the data should be written on! This must be the same file used by TOC.writeTOC!!