Package ucar.unidata.io.s3
Class S3RandomAccessFile.Provider
- java.lang.Object
-
- ucar.unidata.io.s3.S3RandomAccessFile.Provider
-
- All Implemented Interfaces:
ucar.unidata.io.spi.RandomAccessFileProvider
- Enclosing class:
- S3RandomAccessFile
public static class S3RandomAccessFile.Provider extends Object implements ucar.unidata.io.spi.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 booleanisOwnerOf(String location)ucar.unidata.io.RandomAccessFileopen(String location)Open a location that this Provider is the owner of.ucar.unidata.io.RandomAccessFileopen(String location, int bufferSize)
-
-
-
Method Detail
-
isOwnerOf
public boolean isOwnerOf(String location)
- Specified by:
isOwnerOfin interfaceucar.unidata.io.spi.RandomAccessFileProvider
-
open
public ucar.unidata.io.RandomAccessFile open(String location) throws IOException
Open a location that this Provider is the owner of.- Specified by:
openin interfaceucar.unidata.io.spi.RandomAccessFileProvider- Throws:
IOException
-
open
public ucar.unidata.io.RandomAccessFile open(String location, int bufferSize) throws IOException
- Specified by:
openin interfaceucar.unidata.io.spi.RandomAccessFileProvider- Throws:
IOException
-
-