|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModPackage
A mod package. A package contains one or more files for a game mod. The package can be any repository, such as a jar file, a file directory, a website, etc.
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. |
Method Detail |
---|
java.io.InputStream getEntry(java.lang.String entryName) throws java.io.IOException
entryName
- name of the entry to return as an input stream.
java.io.IOException
- thrown if the entry couldnt be found.boolean entryExists(java.lang.String entryName)
entryName
- the name of the entry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |