Package sk.iway.iwcm.io
Class IwcmInputStream
java.lang.Object
java.io.InputStream
sk.iway.iwcm.io.IwcmInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
IwcmInputStream.java
-
Constructor Summary
ConstructorsConstructorDescriptionIwcmInputStream
(File f, int fatId) IwcmInputStream
(String filename) IwcmInputStream
(String virtualPath, boolean isVirtualPath) IwcmInputStream
(String virtualPath, int fatId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
existsInDb
(int fatId) int
read()
int
read
(byte[] result) int
read
(byte[] b, int off, int len) Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
IwcmInputStream
- Throws:
FileNotFoundException
-
IwcmInputStream
- Throws:
FileNotFoundException
-
IwcmInputStream
-
IwcmInputStream
-
IwcmInputStream
- Throws:
FileNotFoundException
-
IwcmInputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
existsInDb
public boolean existsInDb(int fatId)
-