Package org.dspace.app.rest.converter
Class BitstreamFormatConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.BitstreamFormatConverter
-
- All Implemented Interfaces:
DSpaceConverter<org.dspace.content.BitstreamFormat,BitstreamFormatRest>
@Component public class BitstreamFormatConverter extends Object implements DSpaceConverter<org.dspace.content.BitstreamFormat,BitstreamFormatRest>
This is the converter from/to the BitstreamFormat in the DSpace API data model and the REST data model- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description BitstreamFormatConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitstreamFormatRestconvert(org.dspace.content.BitstreamFormat obj, Projection projection)Class<org.dspace.content.BitstreamFormat>getModelClass()
-
-
-
Method Detail
-
convert
public BitstreamFormatRest convert(org.dspace.content.BitstreamFormat obj, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<org.dspace.content.BitstreamFormat,BitstreamFormatRest>
-
getModelClass
public Class<org.dspace.content.BitstreamFormat> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<org.dspace.content.BitstreamFormat,BitstreamFormatRest>
-
-