public class FileMetaMapper extends MetaMapper<File>
Constructor and Description |
---|
FileMetaMapper() |
Modifier and Type | Method and Description |
---|---|
MetaValue |
createMetaValue(MetaType metaType,
File object)
Create the meta value
|
MetaType |
getMetaType()
Override this method to create your own metatype
|
Type |
mapToType()
Override this method to map to a specific type
|
File |
unwrapMetaValue(MetaValue metaValue)
Unwrap the metavalue
|
getMetaMapper
public MetaValue createMetaValue(MetaType metaType, File object)
MetaMapper
createMetaValue
in class MetaMapper<File>
metaType
- the metatypeobject
- the objectpublic MetaType getMetaType()
MetaMapper
getMetaType
in class MetaMapper<File>
public Type mapToType()
MetaMapper
mapToType
in class MetaMapper<File>
public File unwrapMetaValue(MetaValue metaValue)
MetaMapper
unwrapMetaValue
in class MetaMapper<File>
metaValue
- the meta valueCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.