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
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
Modifier and TypeMethodDescriptionprotected 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, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Method Details
-
dispatchRead
Dispatches a read operation of N bytes.- Specified by:
dispatchReadin classStorageInputStream- Parameters:
readLength- Anintwhich represents the number of bytes to read.
-