Package ucar.unidata.io
Class InMemoryRandomAccessFile.Provider
- java.lang.Object
-
- ucar.unidata.io.InMemoryRandomAccessFile.Provider
-
- All Implemented Interfaces:
RandomAccessFileProvider
- Enclosing class:
- InMemoryRandomAccessFile
public static class InMemoryRandomAccessFile.Provider extends Object implements RandomAccessFileProvider
Hook for service provider interface 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
Description copied from interface:RandomAccessFileProvider
Open a location that this Provider is the owner of.- Specified by:
open
in interfaceRandomAccessFileProvider
- Throws:
IOException
-
-