org.gcube.application.framework.contentmanagement.content.impl
Class MyFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.gcube.application.framework.contentmanagement.content.impl.MyFileInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class MyFileInputStream
- extends java.io.FileInputStream
Method Summary |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
Methods inherited from class java.io.FileInputStream |
available, close, getChannel, getFD, skip |
Methods inherited from class java.io.InputStream |
mark, markSupported, reset |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyFileInputStream
public MyFileInputStream(java.io.File file,
long length)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.FileInputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.FileInputStream
- Throws:
java.io.IOException
read
public int read(byte[] b)
throws java.io.IOException
- Overrides:
read
in class java.io.FileInputStream
- Throws:
java.io.IOException