com.antelmann.util
Interface Converter<T1,T2>
- All Known Implementing Classes:
- BaseDocumentMapper, BaseRowMapper, BeanMapper, Converter.Adapter, DBDocumentStore.Mapper, EmailConverter, GenericPropertyEntryMapper, GIDFactory, ImageURLEntryMapper, LoggerHandler, MappedEntryMapper, MessageEntryMapper, MoneyConverter, MySqlQueryToViewMapper, PropertyEntryWithAddress, PropertyMapper, RelationshipStore.Mapper, SerializedEntrySQLMapper, SessionIdGenerator, ThumbnailMapper, UserImplMapper
public interface Converter<T1,T2>
used to transform an object into another representation, which is optionally reversible
- Since:
- 31. Januar 2007, 00:11
- Author:
- Holger Antelmann
convert
T2 convert(T1 obj)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
convertBack
T1 convertBack(T2 obj)
throws IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalArgumentException
UnsupportedOperationException
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads