Class FileConverter

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

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

    • FileConverter

      public FileConverter()
  • Method Details

    • getMappedType

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

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

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

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

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