Package com.iisigroup.cap.formatter

Examples of com.iisigroup.cap.formatter.IFormatter


          str = s[0];
        } catch (Exception e) {
          val = "";
        }
        if (dataReformatter != null && dataReformatter.containsKey(str)) {
          IFormatter callback = dataReformatter.get(str);
          if (callback instanceof IBeanFormatter) {
            val = callback.reformat(data);
          } else {
            val = callback.reformat(val);
          }
        } else if (val instanceof Timestamp) {
          val = new ADDateTimeFormatter().reformat(val);
        } else if (val instanceof Date || val instanceof Calendar) {
          val = new ADDateFormatter().reformat(val);
View Full Code Here


          str = s[0];
        } catch (Exception e) {
          val = "";
        }
        if (reformat != null && reformat.containsKey(str)) {
          IFormatter callback = reformat.get(str);
          if (callback instanceof IBeanFormatter) {
            val = callback.reformat(this);
          } else {
            val = callback.reformat(val);
          }
        } else if (val instanceof Timestamp) {
          val = new ADDateTimeFormatter().reformat(val);
        } else if (val instanceof Date || val instanceof Calendar) {
          val = new ADDateFormatter().reformat(val);
View Full Code Here

          val = get(str);
        } catch (Exception e) {
          val = "";
        }
        if (reformat != null && reformat.containsKey(str)) {
          IFormatter callback = reformat.get(str);
          if (callback instanceof IBeanFormatter) {
            val = callback.reformat(this);
          } else {
            val = callback.reformat(val);
          }
        } else if (val instanceof Timestamp) {
          val = new ADDateTimeFormatter().reformat(val);
        } else if (val instanceof Date || val instanceof Calendar) {
          val = new ADDateFormatter().reformat(val);
View Full Code Here

TOP

Related Classes of com.iisigroup.cap.formatter.IFormatter

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.