Package org.fcrepo.migration.foxml
Interface InternalIDResolver
-
- All Known Implementing Classes:
AkubraFSIDResolver,DirectoryScanningIDResolver,LegacyFSIDResolver
public interface InternalIDResolver
An interface whose implementations serve as a mechanism to resolve internal (to fedora/FOXML) IDs.- Author:
- mdurdin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes any open resources.CachedContentresolveInternalID(String id)Gets the datastream for an internal ID.
-
-
-
Method Detail
-
resolveInternalID
CachedContent resolveInternalID(String id)
Gets the datastream for an internal ID.- Parameters:
id- the internal id referenced within a FOXML file.- Returns:
- the binary content for the datastream referenced by the internal id
-
close
void close() throws IOException
Closes any open resources.- Throws:
IOException
-
-