Package ucar.unidata.io.http
Class HTTPRandomAccessFile.Provider
- java.lang.Object
-
- ucar.unidata.io.http.HTTPRandomAccessFile.Provider
-
- All Implemented Interfaces:
RandomAccessFileProvider
- Enclosing class:
- HTTPRandomAccessFile
public static class HTTPRandomAccessFile.Provider extends Object implements RandomAccessFileProvider
Hook into service provider interface for 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
Description copied from interface:RandomAccessFileProvider
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
-
-