Package com.azure.storage.file.share
Class StorageFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.azure.storage.common.StorageInputStream
-
- com.azure.storage.file.share.StorageFileInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class StorageFileInputStream extends StorageInputStream
Provides an input stream to read a given storage file resource.
-
-
Field Summary
-
Fields inherited from class com.azure.storage.common.StorageInputStream
bufferSize, bufferStartOffset, lastError, streamFaulted
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ByteBufferdispatchRead(int readLength, long offset)Dispatches a read operation of N bytes.-
Methods inherited from class com.azure.storage.common.StorageInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Method Detail
-
dispatchRead
protected ByteBuffer dispatchRead(int readLength, long offset)
Dispatches a read operation of N bytes.- Specified by:
dispatchReadin classStorageInputStream- Parameters:
readLength- Anintwhich represents the number of bytes to read.
-
-