Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 74235200D09 for ; Tue, 12 Sep 2017 21:19:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 70ECC1609C7; Tue, 12 Sep 2017 19:19:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 20F711609B4 for ; Tue, 12 Sep 2017 21:19:48 +0200 (CEST) Received: (qmail 47662 invoked by uid 500); 12 Sep 2017 19:19:48 -0000 Mailing-List: contact commits-help@tamaya.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tamaya.incubator.apache.org Delivered-To: mailing list commits@tamaya.incubator.apache.org Received: (qmail 47652 invoked by uid 99); 12 Sep 2017 19:19:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2017 19:19:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EDC991A136F for ; Tue, 12 Sep 2017 19:19:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.522 X-Spam-Level: X-Spam-Status: No, score=-2.522 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_MANYCOMMENTS=1.2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cbTqr76-GL5x for ; Tue, 12 Sep 2017 19:19:12 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 2E26361266 for ; Tue, 12 Sep 2017 19:18:55 +0000 (UTC) Received: (qmail 44400 invoked by uid 99); 12 Sep 2017 19:18:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2017 19:18:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 58287F580C; Tue, 12 Sep 2017 19:18:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pottlinger@apache.org To: commits@tamaya.incubator.apache.org Date: Tue, 12 Sep 2017 19:19:13 -0000 Message-Id: <87eebdb88881431fb667d66c69ba778a@git.apache.org> In-Reply-To: <79ab8554b46d4fe2a17c2579fe23d9db@git.apache.org> References: <79ab8554b46d4fe2a17c2579fe23d9db@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [22/35] incubator-tamaya-site git commit: TAMAYA-285: Add current master 0.4 archived-at: Tue, 12 Sep 2017 19:19:51 -0000 http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/blob/b7ab0894/apidocs/development/org/apache/tamaya/core/internal/converters/ClassConverter.html ---------------------------------------------------------------------- diff --git a/apidocs/development/org/apache/tamaya/core/internal/converters/ClassConverter.html b/apidocs/development/org/apache/tamaya/core/internal/converters/ClassConverter.html new file mode 100644 index 0000000..486baeb --- /dev/null +++ b/apidocs/development/org/apache/tamaya/core/internal/converters/ClassConverter.html @@ -0,0 +1,341 @@ + + + + + + +ClassConverter (Apache Tamaya Base 0.4-incubating-SNAPSHOT API) + + + + + + + + + + + + + + + +
+
org.apache.tamaya.core.internal.converters
+

Class ClassConverter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.tamaya.core.internal.converters.ClassConverter
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PropertyConverter<Class<?>>
    +
    +
    +
    +
    public class ClassConverter
    +extends Object
    +implements PropertyConverter<Class<?>>
    +
    Converter, converting from String to Class, hereby using the following classloaders: +
      +
    • The current ThreadContext ClassLoader
    • +
    • The Classloader of this class
    • +
    • The system Classloader
    • +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ClassConverter

        +
        public ClassConverter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convert

        +
        public Class<?> convert(String value,
        +                        ConversionContext context)
        +
        Description copied from interface: PropertyConverter
        +
        Convert the given configuration keys from its String representation into the required target type. + The context instance passed also allows to add a list of supported formats, which is very handy in case a + value could not be converted. This list of supported formats can then shown to the user to give some hints + how a value could be configured.
        +
        +
        Specified by:
        +
        convert in interface PropertyConverter<Class<?>>
        +
        Parameters:
        +
        value - configuration key that needs to be converted
        +
        context - the ConversionContext, containing the String value and the requested configuration key.
        +
        Returns:
        +
        converted keys
        +
        See Also:
        +
        ConversionContext.addSupportedFormats(Class, String...)
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2014–2017 Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/blob/b7ab0894/apidocs/development/org/apache/tamaya/core/internal/converters/CurrencyConverter.html ---------------------------------------------------------------------- diff --git a/apidocs/development/org/apache/tamaya/core/internal/converters/CurrencyConverter.html b/apidocs/development/org/apache/tamaya/core/internal/converters/CurrencyConverter.html new file mode 100644 index 0000000..eaca0b2 --- /dev/null +++ b/apidocs/development/org/apache/tamaya/core/internal/converters/CurrencyConverter.html @@ -0,0 +1,343 @@ + + + + + + +CurrencyConverter (Apache Tamaya Base 0.4-incubating-SNAPSHOT API) + + + + + + + + + + + + + + + +
+
org.apache.tamaya.core.internal.converters
+

Class CurrencyConverter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.tamaya.core.internal.converters.CurrencyConverter
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PropertyConverter<Currency>
    +
    +
    +
    +
    public class CurrencyConverter
    +extends Object
    +implements PropertyConverter<Currency>
    +
    Converter, converting from String to Currency, the supported format is one of the following: +
      +
    • CHF (currency code)
    • +
    • 123 (numeric currency value > + = 0)
    • +
    • DE (ISO 2-digit country)
    • +
    • de_DE, de_DE_123 (Locale)
    • +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CurrencyConverter

        +
        public CurrencyConverter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convert

        +
        public Currency convert(String value,
        +                        ConversionContext context)
        +
        Description copied from interface: PropertyConverter
        +
        Convert the given configuration keys from its String representation into the required target type. + The context instance passed also allows to add a list of supported formats, which is very handy in case a + value could not be converted. This list of supported formats can then shown to the user to give some hints + how a value could be configured.
        +
        +
        Specified by:
        +
        convert in interface PropertyConverter<Currency>
        +
        Parameters:
        +
        value - configuration key that needs to be converted
        +
        context - the ConversionContext, containing the String value and the requested configuration key.
        +
        Returns:
        +
        converted keys
        +
        See Also:
        +
        ConversionContext.addSupportedFormats(Class, String...)
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2014–2017 Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/blob/b7ab0894/apidocs/development/org/apache/tamaya/core/internal/converters/DoubleConverter.html ---------------------------------------------------------------------- diff --git a/apidocs/development/org/apache/tamaya/core/internal/converters/DoubleConverter.html b/apidocs/development/org/apache/tamaya/core/internal/converters/DoubleConverter.html new file mode 100644 index 0000000..d2e9d22 --- /dev/null +++ b/apidocs/development/org/apache/tamaya/core/internal/converters/DoubleConverter.html @@ -0,0 +1,343 @@ + + + + + + +DoubleConverter (Apache Tamaya Base 0.4-incubating-SNAPSHOT API) + + + + + + + + + + + + + + + +
+
org.apache.tamaya.core.internal.converters
+

Class DoubleConverter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.tamaya.core.internal.converters.DoubleConverter
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PropertyConverter<Double>
    +
    +
    +
    +
    public class DoubleConverter
    +extends Object
    +implements PropertyConverter<Double>
    +
    Converter, converting from String to Double, using the Java number syntax: + (-)?[0-9]*\.[0-9]*. In case of error the value given also is tried being parsed as integral number using + LongConverter. Additionally the following values are supported: +
      +
    • NaN (ignoring case)
    • +
    • POSITIVE_INFINITY (ignoring case)
    • +
    • NEGATIVE_INFINITY (ignoring case)
    • +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DoubleConverter

        +
        public DoubleConverter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convert

        +
        public Double convert(String value,
        +                      ConversionContext context)
        +
        Description copied from interface: PropertyConverter
        +
        Convert the given configuration keys from its String representation into the required target type. + The context instance passed also allows to add a list of supported formats, which is very handy in case a + value could not be converted. This list of supported formats can then shown to the user to give some hints + how a value could be configured.
        +
        +
        Specified by:
        +
        convert in interface PropertyConverter<Double>
        +
        Parameters:
        +
        value - configuration key that needs to be converted
        +
        context - the ConversionContext, containing the String value and the requested configuration key.
        +
        Returns:
        +
        converted keys
        +
        See Also:
        +
        ConversionContext.addSupportedFormats(Class, String...)
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2014–2017 Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/blob/b7ab0894/apidocs/development/org/apache/tamaya/core/internal/converters/EnumConverter.html ---------------------------------------------------------------------- diff --git a/apidocs/development/org/apache/tamaya/core/internal/converters/EnumConverter.html b/apidocs/development/org/apache/tamaya/core/internal/converters/EnumConverter.html new file mode 100644 index 0000000..279d8f0 --- /dev/null +++ b/apidocs/development/org/apache/tamaya/core/internal/converters/EnumConverter.html @@ -0,0 +1,336 @@ + + + + + + +EnumConverter (Apache Tamaya Base 0.4-incubating-SNAPSHOT API) + + + + + + + + + + + + + + + +
+
org.apache.tamaya.core.internal.converters
+

Class EnumConverter<T>

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.tamaya.core.internal.converters.EnumConverter<T>
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PropertyConverter<T>
    +
    +
    +
    +
    public class EnumConverter<T>
    +extends Object
    +implements PropertyConverter<T>
    +
    Converter, converting from String to tge given enum type.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnumConverter

        +
        public EnumConverter(Class<T> enumType)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convert

        +
        public T convert(String value,
        +                 ConversionContext context)
        +
        Description copied from interface: PropertyConverter
        +
        Convert the given configuration keys from its String representation into the required target type. + The context instance passed also allows to add a list of supported formats, which is very handy in case a + value could not be converted. This list of supported formats can then shown to the user to give some hints + how a value could be configured.
        +
        +
        Specified by:
        +
        convert in interface PropertyConverter<T>
        +
        Parameters:
        +
        value - configuration key that needs to be converted
        +
        context - the ConversionContext, containing the String value and the requested configuration key.
        +
        Returns:
        +
        converted keys
        +
        See Also:
        +
        ConversionContext.addSupportedFormats(Class, String...)
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2014–2017 Apache Software Foundation. All rights reserved.

+ +