Class VideoConverter

java.lang.Object
com.brightcove.player.store.VideoConverter
All Implemented Interfaces:
io.requery.Converter<Video,String>

public class VideoConverter extends Object implements io.requery.Converter<Video,String>
Provides a Converter that can be used persist and read Video objects.
  • Constructor Details

    • VideoConverter

      public VideoConverter()
  • Method Details

    • getMappedType

      public Class<Video> getMappedType()
      Specified by:
      getMappedType in interface io.requery.Converter<Video,String>
    • getPersistedType

      public Class<String> getPersistedType()
      Specified by:
      getPersistedType in interface io.requery.Converter<Video,String>
    • getPersistedSize

      public Integer getPersistedSize()
      Specified by:
      getPersistedSize in interface io.requery.Converter<Video,String>
    • convertToPersisted

      public String convertToPersisted(Video video)
      Specified by:
      convertToPersisted in interface io.requery.Converter<Video,String>
    • convertToMapped

      public Video convertToMapped(Class<? extends Video> type, String value)
      Specified by:
      convertToMapped in interface io.requery.Converter<Video,String>