Package ucar.unidata.io.s3
Class S3RandomAccessFile.Provider
- java.lang.Object
-
- ucar.unidata.io.s3.S3RandomAccessFile.Provider
-
- All Implemented Interfaces:
RandomAccessFileProvider
- Enclosing class:
- S3RandomAccessFile
public static class S3RandomAccessFile.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.-
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, open
-
-
-
-
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
-
-