|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsh3modtool.modpackage.FolderModPackage
public class FolderModPackage
A file path package. The mod is stored in a normal folder, all files are unpacked.
Constructor Summary | |
---|---|
FolderModPackage(java.io.File parentpath)
|
Method Summary | |
---|---|
boolean |
entryExists(java.lang.String entryName)
Returns whetever the entry exists or not. |
java.io.InputStream |
getEntry(java.lang.String entryName)
Returns an input stream for the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FolderModPackage(java.io.File parentpath) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.io.InputStream getEntry(java.lang.String entryName) throws java.io.IOException
ModPackage
getEntry
in interface ModPackage
entryName
- name of the entry to return as an input stream.
java.io.IOException
- thrown if the entry couldnt be found.public boolean entryExists(java.lang.String entryName)
ModPackage
entryExists
in interface ModPackage
entryName
- the name of the entry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |