|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.exoplatform.services.ftp.data.FtpSlowInputStream
public class FtpSlowInputStream
Created by The eXo Platform SAS Author : Vitaly Guly
Constructor Summary
FtpSlowInputStream(java.io.InputStream nativeInputStream,
int bytesPerSec)
Method Summary
intavailable()
voidclose()
voidmark(int markVal)
booleanmarkSupported()
intread()
intread(byte[] buffer)
intread(byte[] buffer,
int offset,
int size)
voidreset()
longskip(long skipVal)
protected voidtryWaiting()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
FtpSlowInputStream
public FtpSlowInputStream(java.io.InputStream nativeInputStream,
int bytesPerSec)
Method Detail
tryWaiting
protected void tryWaiting()
read
public int read()
throws java.io.IOException
read in class java.io.InputStream
java.io.IOException
read
public int read(byte[] buffer)
throws java.io.IOException
read in class java.io.InputStream
java.io.IOException
read
public int read(byte[] buffer,
int offset,
int size)
throws java.io.IOException
read in class java.io.InputStream
java.io.IOException
skip
public long skip(long skipVal)
throws java.io.IOException
skip in class java.io.InputStream
java.io.IOException
available
public int available()
throws java.io.IOException
available in class java.io.InputStream
java.io.IOException
close
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStream
java.io.IOException
mark
public void mark(int markVal)
mark in class java.io.InputStream
reset
public void reset()
throws java.io.IOException
reset in class java.io.InputStream
java.io.IOException
markSupported
public boolean markSupported()
markSupported in class java.io.InputStream
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2010 eXo Platform SAS. All Rights Reserved.