public class FileConverter
extends java.lang.Object
implements io.requery.Converter<java.io.File,java.lang.String>
Converter
that can be used persist and read File
objects.Constructor and Description |
---|
FileConverter() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
convertToMapped(java.lang.Class<? extends java.io.File> type,
java.lang.String absolutePath) |
java.lang.String |
convertToPersisted(java.io.File file) |
java.lang.Class<java.io.File> |
getMappedType() |
java.lang.Integer |
getPersistedSize() |
java.lang.Class<java.lang.String> |
getPersistedType() |
public java.lang.Class<java.io.File> getMappedType()
getMappedType
in interface io.requery.Converter<java.io.File,java.lang.String>
public java.lang.Class<java.lang.String> getPersistedType()
getPersistedType
in interface io.requery.Converter<java.io.File,java.lang.String>
public java.lang.Integer getPersistedSize()
getPersistedSize
in interface io.requery.Converter<java.io.File,java.lang.String>
public java.lang.String convertToPersisted(java.io.File file)
convertToPersisted
in interface io.requery.Converter<java.io.File,java.lang.String>
public java.io.File convertToMapped(java.lang.Class<? extends java.io.File> type, java.lang.String absolutePath)
convertToMapped
in interface io.requery.Converter<java.io.File,java.lang.String>