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 TypeMethodDescriptionvoidclose()booleanexistsInDb(int fatId) intread()intread(byte[] result) intread(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:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
existsInDb
public boolean existsInDb(int fatId)
-