Class 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 Detail

      • Provider

        public Provider()
    • Method Detail

      • isOwnerOf

        public boolean isOwnerOf​(String location)
        Specified by:
        isOwnerOf in interface ucar.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:
        open in interface ucar.unidata.io.spi.RandomAccessFileProvider
        Throws:
        IOException
      • open

        public ucar.unidata.io.RandomAccessFile open​(String location,
                                                     int bufferSize)
                                              throws IOException
        Specified by:
        open in interface ucar.unidata.io.spi.RandomAccessFileProvider
        Throws:
        IOException