Package com.basis.filesystem
Class FilesystemInputStream
java.lang.Object
java.io.InputStream
com.basis.filesystem.FilesystemInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
InputStream
for STRING and PROGRAM files.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
debug
public static final boolean debug- See Also:
-
-
Constructor Details
-
FilesystemInputStream
Constructor from aFilePosition
.- Parameters:
p_fpos
-FilePosition
to read from.- Throws:
FilesystemException
- If a filesystem problem occurs.
-
-
Method Details
-
available
public int available()- Overrides:
available
in classInputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
mark
in classInputStream
-
reset
- Overrides:
reset
in classInputStream
- Throws:
IOException
-
DBG
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classInputStream
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-