eu.planets_project.ifr.core.techreg.formats
Interface Format
public interface Format
This is the Planets 'Preservation Object' 'Format' description entity. It is
based on the DROID FileFormat entity, but simplified. Other format registries
could be supported too.
Note that DROID also provides: 'has priority over'
(good for doing PP) and 'signatures' (good for doing PC) but as this is meant
to be a simple, interoperable type identifier system, this extra information
(which is more oriented to specific use contexts) is not included here.
Types are identified by URIs. As we are currently based on PRONOM, these URIs
will be PRONOM info:pronom/fmt/XX URIs. By using these URIs, we retain the
ability to add further registries in the future without changing any of this
code.
Nested Class Summary |
static class |
Format.UriType
Different types of format URIs supported by Planets services. |
getExtensions
java.util.Set<java.lang.String> getExtensions()
- Returns:
- The file extensions corresponding to this format.
getAliases
java.util.Set<java.net.URI> getAliases()
- Returns:
- The alias URIs this format.
getMimeTypes
java.util.Set<java.lang.String> getMimeTypes()
- Returns:
- The MIME types corresponding to this format.
getUri
java.net.URI getUri()
- Returns:
- The actual URI representation of this format.
getRegistryUrl
java.net.URL getRegistryUrl()
- Returns:
- A URL providing further information about this format in the context of its original registry.
getVersion
java.lang.String getVersion()
- Returns:
- A version string for this format.
getSummary
java.lang.String getSummary()
- Returns:
- A textual summary of this format.
Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.