play.data.binding
类 AnnotationHelper

java.lang.Object
  继承者 play.data.binding.AnnotationHelper

public class AnnotationHelper
extends java.lang.Object


构造方法摘要
AnnotationHelper()
           
 
方法摘要
static java.util.Date getDateAs(java.lang.annotation.Annotation[] annotations, java.lang.String value)
          It can be something like As(lang={"fr,de","*"}, value={"dd-MM-yyyy","MM-dd-yyyy"})
static play.data.binding.AnnotationHelper.Tuple getLocale(java.lang.String[] langs)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AnnotationHelper

public AnnotationHelper()
方法详细信息

getDateAs

public static java.util.Date getDateAs(java.lang.annotation.Annotation[] annotations,
                                       java.lang.String value)
                                throws java.text.ParseException
It can be something like As(lang={"fr,de","*"}, value={"dd-MM-yyyy","MM-dd-yyyy"})

参数:
annotations -
value -
返回:
null if it cannot be converted because there is no annotation.
抛出:
java.text.ParseException

getLocale

public static play.data.binding.AnnotationHelper.Tuple getLocale(java.lang.String[] langs)


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly