|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFileStreamDataStream
| Method Summary | |
|---|---|
void |
close()
Close the stream; this makes further operations invalid. |
boolean |
eof()
Returns true if the stream has reached the end. |
int |
read(VoidPointer buf,
int count)
Read the requisite number of bytes from the stream, stopping at the end of the file. |
int |
readLine(BytePointer buf,
int maxCount,
java.lang.String delim)
Get a single line from the stream. |
void |
seek(int pos)
Repositions the read point to a specified byte. |
void |
skip(long count)
Skip a defined number of bytes. |
int |
tell()
Returns the current byte offset from beginning |
| Methods inherited from interface org.ogre4j.IDataStream |
|---|
getAsString, getLine, getName, size, skipLine |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
int read(VoidPointer buf,
int count)
IDataStream
read in interface IDataStream
int readLine(BytePointer buf,
int maxCount,
java.lang.String delim)
IDataStream
readLine in interface IDataStreamvoid skip(long count)
IDataStream
skip in interface IDataStreamvoid seek(int pos)
IDataStream
seek in interface IDataStreamint tell()
IDataStream
tell in interface IDataStreamboolean eof()
IDataStream
eof in interface IDataStreamvoid close()
IDataStream
close in interface IDataStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||