你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageFileInputStream Class
- java.
lang. Object - java.
io. InputStream - com.
azure. storage. common. StorageInputStream - com.
azure. storage. file. share. StorageFileInputStream
- com.
- com.
- java.
public class StorageFileInputStream
extends StorageInputStream
Provides an input stream to read a given storage file resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
protected synchronized
Byte |
dispatchRead(int readLength, long offset)
Dispatches a read operation of N bytes. |
Methods inherited from StorageInputStream
Methods inherited from java.io.InputStream
Methods inherited from java.lang.Object
Method Details
dispatchRead
protected synchronized ByteBuffer dispatchRead(int readLength, long offset)
Dispatches a read operation of N bytes.
Overrides:
StorageFileInputStream.dispatchRead(int readLength, long offset)Parameters:
readLength
- An
int
which represents the number of bytes to read.
offset