Package ucar.unidata.io.zarr
Class RandomAccessDirectory.Provider
- java.lang.Object
-
- ucar.unidata.io.zarr.RandomAccessDirectory.Provider
-
- All Implemented Interfaces:
RandomAccessFileProvider
- Enclosing class:
- RandomAccessDirectory
public static class RandomAccessDirectory.Provider extends Object implements RandomAccessFileProvider
Hook into service provider interface to RandomAccessFileProvider. Register in META-INF.services.ucar.unidata.io.spi.RandomAccessFileProvider
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOwnerOf(String location)
Determine if this Provider owns this location.RandomAccessFile
open(String location)
Open a location that this Provider is the owner of.RandomAccessFile
open(String location, int bufferSize)
Open a location that this Provider is the owner of, with the given buffer size-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ucar.unidata.io.spi.RandomAccessFileProvider
acquire, acquire
-
-
-
-
Method Detail
-
isOwnerOf
public boolean isOwnerOf(String location)
Description copied from interface:RandomAccessFileProvider
Determine if this Provider owns this location.- Specified by:
isOwnerOf
in interfaceRandomAccessFileProvider
-
open
public RandomAccessFile open(String location) throws IOException
Open a location that this Provider is the owner of.- Specified by:
open
in interfaceRandomAccessFileProvider
- Throws:
IOException
-
open
public RandomAccessFile open(String location, int bufferSize) throws IOException
Description copied from interface:RandomAccessFileProvider
Open a location that this Provider is the owner of, with the given buffer size- Specified by:
open
in interfaceRandomAccessFileProvider
- Throws:
IOException
-
-