java.lang.Object
com.pepperview.romzinger.GameDesc
com.pepperview.romzinger.Game
com.pepperview.romzinger.ZippedGame
- public class ZippedGame
- extends Game
Description of the Class
| Fields inherited from class com.pepperview.romzinger.Game |
newName |
| Fields inherited from class com.pepperview.romzinger.GameDesc |
|
|
Constructor Summary |
ZippedGame()
Constructor for the ZippedGame object |
| Methods inherited from class com.pepperview.romzinger.GameDesc |
addROM, getCloneOf, getCloneOfName, getDescription, getManufacturer, getROM, getROMOf, getROMOfName, getROMs, getSharedROMs, getSingleROMs, getYear, setCloneOf, setCloneOfName, setDescription, setManufacturer, setROMOf, setROMOfName, setYear, toString |
file
private java.io.File file
crcTable
private java.util.Hashtable crcTable
ZippedGame
public ZippedGame()
- Constructor for the ZippedGame object
- Since:
setROMName
public void setROMName(ROMDesc rom,
java.lang.String name)
- Sets the name of a ROM of this ZippedGame object
- Specified by:
setROMName in class Game
- Since:
getFile
public java.io.File getFile()
- Gets the File object corresponding to this game
- Specified by:
getFile in class Game
- Since:
getName
public java.lang.String getName()
- Gets the Name this game
- Overrides:
getName in class GameDesc
- Since:
saveModifications
public void saveModifications()
throws java.io.IOException
- Save all the modifications done to this game ROMs
- Specified by:
saveModifications in class Game
- Since:
renameTo
public void renameTo(java.lang.String name)
- Rename this game
- Specified by:
renameTo in class Game
- Since:
load
protected void load(java.io.File file)
throws java.io.IOException
- Get the game information from his file
- Specified by:
load in class Game
- Since:
getCrc
private long getCrc(java.lang.String name)
- During the saveModifications remember the crc value for that file
in case ZipInputStream is unable to figure it because the zip file is a
malformed.
- Since: