|
eXo JCR :: Component :: Webdav Service 1.15.4-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.exoplatform.services.jcr.webdav.util.RangedInputStream
public class RangedInputStream
Created by The eXo Platform SAS Author : Vitaly Guly.
| Constructor Summary | |
|---|---|
RangedInputStream(InputStream nativeInputStream,
long startRange,
long endRange)
|
|
| Method Summary | |
|---|---|
int |
available()
|
void |
close()
|
void |
mark(int markVal)
|
boolean |
markSupported()
|
int |
read()
|
int |
read(byte[] buffer)
|
int |
read(byte[] buffer,
int offset,
int size)
|
void |
reset()
|
long |
skip(long skipVal)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangedInputStream(InputStream nativeInputStream,
long startRange,
long endRange)
throws IOException
nativeInputStream - Input Stream.startRange - range startendRange - range end
IOException - IOException| Method Detail |
|---|
public int read()
throws IOException
read in class InputStreamIOException
public int read(byte[] buffer)
throws IOException
read in class InputStreamIOException
public int read(byte[] buffer,
int offset,
int size)
throws IOException
read in class InputStreamIOException
public long skip(long skipVal)
throws IOException
skip in class InputStreamIOException
public int available()
throws IOException
available in class InputStreamIOException
public void close()
throws IOException
close in interface Closeableclose in class InputStreamIOExceptionpublic void mark(int markVal)
mark in class InputStream
public void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStream
|
eXo JCR :: Component :: Webdav Service 1.15.4-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||