Package org.c3s.rpgplayer.mapper

Examples of org.c3s.rpgplayer.mapper.StringCast


import org.c3s.rpgplayer.mapper.StringCast;

public class CastTest {

  public static void main(String[] args) {
    CastType cast = new StringCast();
    Object result = cast.cast(Time.class, String.class, "sasakslklad  DLKAJSKJASD 8:0:69");
    System.out.println(result.toString());
  }
View Full Code Here


 
  @SuppressWarnings("unchecked")
  private boolean save(RequestStoredData data) throws IllegalArgumentException, IllegalAccessException, InstantiationException {
    logger.debug(Utils.mapToString(data.getRequestData(), ""));
   
    DataMapper mapper = new DataMapper(new StringCast());
   
    GameBean chkGame = (GameBean)data.getData();
    DBGamesBean game = chkGame.getGameInfo();
    mapper.mapFromRow(data.getRequestData(), game);
   
View Full Code Here

TOP

Related Classes of org.c3s.rpgplayer.mapper.StringCast

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.