|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.testgame.util.SimpleStream
A simple wrapper for InputStreams from the class path.
Constructor Summary | |
SimpleStream(java.lang.String file)
Create a new stream based on a file name. |
Method Summary | |
void |
close()
Closes the stream. |
java.io.InputStream |
getStream()
Returns the actual stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleStream(java.lang.String file)
file
- the file name.Method Detail |
public java.io.InputStream getStream()
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |