public class ObjectFormatService
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OBJECT_FORMAT_DOCID |
| Modifier and Type | Method and Description |
|---|---|
org.dataone.service.types.v2.ObjectFormat |
getFormat(org.dataone.service.types.v1.ObjectFormatIdentifier fmtid)
Return the object format based on the given object format identifier
|
static ObjectFormatService |
getInstance() |
org.dataone.service.types.v2.ObjectFormatList |
listFormats()
Return the list of object formats registered from the Coordinating Node.
|
public static final java.lang.String OBJECT_FORMAT_DOCID
public static ObjectFormatService getInstance()
public org.dataone.service.types.v2.ObjectFormat getFormat(org.dataone.service.types.v1.ObjectFormatIdentifier fmtid)
throws org.dataone.service.exceptions.ServiceFailure,
org.dataone.service.exceptions.NotFound,
org.dataone.service.exceptions.NotImplemented
fmtid - - the object format identifier to look uporg.dataone.service.exceptions.ServiceFailureorg.dataone.service.exceptions.NotFoundorg.dataone.service.exceptions.NotImplementedpublic org.dataone.service.types.v2.ObjectFormatList listFormats()
throws org.dataone.service.exceptions.ServiceFailure,
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailureorg.dataone.service.exceptions.NotImplementedCopyright © 2020 Regents of the University of California. All Rights Reserved.