net.sourceforge.jsh3modtool.mod
Class DefaultModGameFile

java.lang.Object
  extended by net.sourceforge.jsh3modtool.mod.DefaultModGameFile
All Implemented Interfaces:
ModGameFile

public class DefaultModGameFile
extends java.lang.Object
implements ModGameFile

Default implementation of a game file.

Author:
redsolo

Constructor Summary
DefaultModGameFile(ModPackage modPackage, java.lang.String entryNameInPackage, java.lang.String gameFilename)
           
 
Method Summary
 java.io.InputStream getData()
          Returns an input stream that contains the file.
 java.lang.String getGameFilename()
          Returns the name of the game file that this file is going to modify.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModGameFile

public DefaultModGameFile(ModPackage modPackage,
                          java.lang.String entryNameInPackage,
                          java.lang.String gameFilename)
Parameters:
modPackage -
entryNameInPackage -
gameFilename -
Method Detail

getData

public java.io.InputStream getData()
                            throws java.io.IOException
Description copied from interface: ModGameFile
Returns an input stream that contains the file.

Specified by:
getData in interface ModGameFile
Returns:
an input stream that contains the file.
Throws:
java.io.IOException

getGameFilename

public java.lang.String getGameFilename()
Description copied from interface: ModGameFile
Returns the name of the game file that this file is going to modify.

Specified by:
getGameFilename in interface ModGameFile
Returns:
the name of the game file that this file is going to modify.


Copyright © 2005 sourceforge.net. All Rights Reserved.