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 booleanisOwnerOf(String location)Determine if this Provider owns this location.RandomAccessFileopen(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:RandomAccessFileProviderDetermine if this Provider owns this location.- Specified by:
isOwnerOfin interfaceRandomAccessFileProvider
-
open
public RandomAccessFile open(String location) throws IOException
Description copied from interface:RandomAccessFileProviderOpen a location that this Provider is the owner of.- Specified by:
openin interfaceRandomAccessFileProvider- Throws:
IOException
-
-