 |
 |
 |
 |
Name |
|
openStream() |
 |
|
|
Examples |
|
|
Description |
|
Simplified method to open a Java InputStream. This function is useful if you want to easily open files from the data folder or from a URL, but want an InputStream object so that you can use other Java methods to take more control of how the stream is read. |
 |
|
|
Syntax |
|
openStream(file)
|
 |
|
|
Parameters |
|
file |
|
String: name of a file in the data folder, URL, or other local file with location
|
|
 |
|
|
Returns |
|
byte[] |
 |
|
|
Usage |
|
Web & Application |
 |
|
|
Related |
|
loadBytes() loadStrings() saveStrings() saveBytes() |
|
|