Package ucar.unidata.io.spi
Interface RandomAccessFileProvider
- All Known Implementing Classes:
InMemoryRandomAccessFile.Provider
public interface RandomAccessFileProvider
A Service Provider of RandomAccessFile.
-
Method Summary
Modifier and TypeMethodDescriptiondefault RandomAccessFileAcquire a file for a location from a cache, if availabledefault RandomAccessFileAcquire a file for a location, with the given buffer size, from a cache, if availablebooleanDetermine if this Provider owns this location.Open a location that this Provider is the owner of.default RandomAccessFileOpen a location that this Provider is the owner of, with the given buffer size
-
Method Details
-
isOwnerOf
Determine if this Provider owns this location. -
open
Open a location that this Provider is the owner of.- Throws:
IOException
-
open
Open a location that this Provider is the owner of, with the given buffer size- Throws:
IOException
-
acquire
Acquire a file for a location from a cache, if available- Throws:
IOException
-
acquire
Acquire a file for a location, with the given buffer size, from a cache, if available- Throws:
IOException
-