sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1516305 - in /sis/branches/JDK7/core: sis-referencing/src/main/java/org/apache/sis/io/ sis-referencing/src/main/java/org/apache/sis/io/wkt/ sis-utility/src/main/java/org/apache/sis/internal/util/ sis-utility/src/main/java/org/apache/sis/ut...
Date Wed, 21 Aug 2013 21:09:44 GMT
Author: desruisseaux
Date: Wed Aug 21 21:09:43 2013
New Revision: 1516305

URL: http://svn.apache.org/r1516305
Log:
Starting the port of WKT parser/formatter.

Added:
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java
  (with props)
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
  (with props)
    sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java
  (with props)
Modified:
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/X364.java
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnconvertibleObjectException.java
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnsupportedImplementationException.java
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
    sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties

Added: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java?rev=1516305&view=auto
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java
(added)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.io.wkt;
+
+import java.util.EnumMap;
+import java.io.Serializable;
+import org.apache.sis.internal.util.X364;
+
+
+/**
+ * The colors to use for formatting <cite>Well Known Text</cite> (WKT) objects.
+ *
+ * @author  Martin Desruisseaux (Geomatys)
+ * @since   0.4 (derived from geotk-3.00)
+ * @version 0.4
+ * @module
+ */
+public class Colors implements Serializable {
+    /**
+     * For cross-version compatibility.
+     */
+    private static final long serialVersionUID = 256160285861027191L;
+
+    /**
+     * The immutable default set of colors.
+     */
+    public static final Colors DEFAULT = new Immutable();
+    static {
+        final EnumMap<Element,X364> map = DEFAULT.map;
+        map.put(Element.NUMBER,     X364.FOREGROUND_YELLOW);
+        map.put(Element.INTEGER,    X364.FOREGROUND_YELLOW);
+        map.put(Element.UNIT,       X364.FOREGROUND_YELLOW);
+        map.put(Element.AXIS,       X364.FOREGROUND_CYAN);
+        map.put(Element.CODE_LIST,  X364.FOREGROUND_CYAN);
+        map.put(Element.PARAMETER,  X364.FOREGROUND_GREEN);
+        map.put(Element.METHOD,     X364.FOREGROUND_GREEN);
+        map.put(Element.DATUM,      X364.FOREGROUND_GREEN);
+        map.put(Element.ERROR,      X364.BACKGROUND_RED);
+    }
+
+    /**
+     * Keys for syntactic elements to be colorized.
+     *
+     * @author  Martin Desruisseaux (Geomatys)
+     * @since   0.4 (derived from geotk-3.00)
+     * @version 0.4
+     * @module
+     */
+    public static enum Element {
+        /**
+         * Floating point numbers (excluding integer types).
+         */
+        NUMBER,
+
+        /**
+         * Integer numbers.
+         */
+        INTEGER,
+
+        /**
+         * {@linkplain javax.measure.unit.Unit Units of measurement}.
+         * In referencing WKT, this is the text inside {@code UNIT} elements.
+         */
+        UNIT,
+
+        /**
+         * {@linkplain org.opengis.referencing.cs.CoordinateSystemAxis Axes}.
+         * In referencing WKT, this is the text inside {@code AXIS} elements.
+         */
+        AXIS,
+
+        /**
+         * {@linkplain org.opengis.util.CodeList Code list} values.
+         */
+        CODE_LIST,
+
+        /**
+         * {@linkplain org.opengis.parameter.ParameterValue Parameter values}.
+         * In referencing WKT, this is the text inside {@code PARAMETER} elements.
+         */
+        PARAMETER,
+
+        /**
+         * {@linkplain org.opengis.referencing.operation.OperationMethod Operation methods}.
+         * In referencing WKT, this is the text inside {@code PROJECTION} elements.
+         */
+        METHOD,
+
+        /**
+         * {@linkplain org.opengis.referencing.datum.Datum Datum}.
+         * In referencing WKT, this is the text inside {@code DATUM} elements.
+         */
+        DATUM,
+
+        /**
+         * Unformattable elements.
+         */
+        ERROR
+    }
+
+    /**
+     * The map of colors.
+     */
+    private final EnumMap<Element,X364> map;
+
+    /**
+     * Creates a new, initially empty, set of colors.
+     */
+    public Colors() {
+        map = new EnumMap<>(Element.class);
+    }
+
+    /**
+     * Sets the color of the given syntactic element.
+     * The color names supported in the current implementation are
+     * {@code "red"}, {@code "green"}, {@code "yellow"}, {@code "blue"}, {@code "magenta"},
{@code "cyan"}
+     * and {@code "gray"}.
+     *
+     * @param  key   The syntactic element for which to set the color.
+     * @param  color The color to give to the specified element, or {@code null} if none.
+     * @throws IllegalArgumentException If the given color name is not recognized.
+     */
+    public void set(final Element key, final String color) throws IllegalArgumentException
{
+        if (color == null) {
+            map.remove(key);
+        } else {
+            map.put(key, X364.forColorName(color));
+        }
+    }
+
+    /**
+     * Returns the color for the given syntactic element.
+     *
+     * @param key The syntactic element for which to get the color.
+     * @return The color of the specified element, or {@code null} if none.
+     */
+    public String get(final Element key) {
+        final X364 color = map.get(key);
+        return (color != null) ? color.color : null;
+    }
+
+    /**
+     * An immutable subclass of {@link Colors} for the {@link Colors#DEFAULT} constant.
+     */
+    private static final class Immutable extends Colors {
+        /**
+         * For cross-version compatibility.
+         */
+        private static final long serialVersionUID = -2349530616334766576L;
+
+        /**
+         * Creates an initially empty set of colors.
+         * Callers must put colors directly in the {@link #map}.
+         */
+        Immutable() {
+        }
+
+        /**
+         * Do not allow color changes.
+         */
+        @Override
+        public void set(final Element key, final String color) {
+            throw new UnsupportedOperationException();
+        }
+    }
+}

Propchange: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/Colors.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Added: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java?rev=1516305&view=auto
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
(added)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.io.wkt;
+
+
+/**
+ * Thrown by {@link FormattableObject#toWKT()} when an object can not be formatted as WKT.
+ * A formatting may fail because an object is too complex for the WKT format capability.
+ *
+ * {@example An engineering CRS can not be represented in the WKT 1 format if all axes
+ *           does not use the same unit of measurement. However such CRS can be represented
+ *           in the WKT 2 format.}
+ *
+ * @author  Martin Desruisseaux (IRD, Geomatys)
+ * @since   0.4 (derived from geotk-2.0)
+ * @version 0.4
+ * @module
+ *
+ * @see Formatter#setInvalidWKT(Class)
+ */
+public class UnformattableObjectException extends UnsupportedOperationException {
+    /**
+     * For cross-version compatibility.
+     */
+    private static final long serialVersionUID = 3623766455562385536L;
+
+    /**
+     * Constructs a new exception with no message.
+     */
+    public UnformattableObjectException() {
+        super();
+    }
+
+    /**
+     * Constructs a new exception with the specified detail message.
+     *
+     * @param message The detail message, or {@code null} if none.
+     */
+    public UnformattableObjectException(final String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new exception with the specified detail message and cause.
+     *
+     * @param message The detail message, or {@code null} if none.
+     * @param cause The cause, or {@code null} if none.
+     */
+    public UnformattableObjectException(final String message, final Throwable cause) {
+        super(message, cause);
+    }
+
+    /**
+     * Constructs a new exception with the specified cause.
+     *
+     * @param cause The cause, or {@code null} if none.
+     */
+    public UnformattableObjectException(final Throwable cause) {
+        super(cause);
+    }
+}

Propchange: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/UnformattableObjectException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Added: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java?rev=1516305&view=auto
==============================================================================
--- sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java
(added)
+++ sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -0,0 +1,72 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * <a href="http://www.geoapi.org/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html"><cite>Well
+ * Known Text</cite> (WKT)</a> parsing and formatting. This package provides
the internal mechanism used
+ * by SIS implementation. Most users do not need to know about it, except if they want to
customize the
+ * WKT output. For example it is possible to:
+ *
+ * <ul>
+ *   <li>{@linkplain org.apache.sis.io.wkt.WKTFormat#setConvention Format the parameters
using the names
+ *       of an other authority than OGC}. For example a user may want to format map projections
using the
+ *       {@linkplain org.apache.sis.io.wkt.Convention#GEOTIFF GeoTIFF} parameter names.</li>
+ *   <li>{@linkplain org.apache.sis.io.wkt.WKTFormat#setSymbols Use curly brackets
instead than square ones},
+ *       for example {@code DATUM("WGS84")} instead than {@code DATUM["WGS84"]}.
+ *       The former is legal WKT, while less frequently used than the later one.</li>
+ *   <li>{@linkplain org.apache.sis.io.wkt.WKTFormat#setColors Apply syntactic coloring}
for output
+ *       on terminal supporting <cite>ANSI escape codes</cite> (a.k.a. ECMA-48,
ISO/IEC 6429 and X3.64).</li>
+ *   <li>{@linkplain org.apache.sis.io.wkt.WKTFormat#setIndentation Use a different
indentation}, or
+ *       format the whole WKT on a {@linkplain org.apache.sis.io.wkt.WKTFormat#SINGLE_LINE
single line}.</li>
+ * </ul>
+ *
+ * Current implementation is primarily designed for parsing and formatting referencing objects.
+ * However other objects (especially the one for geometric objects) are expected to be provided
+ * here in future versions.
+ *
+ * {@section Referencing WKT}
+ * Parsing of {@linkplain org.apache.sis.referencing.crs.AbstractCoordinateReferenceSystem
Coordinate Reference System}
+ * and {@linkplain org.apache.sis.referencing.operation.transform.AbstractMathTransform Math
Transform} objects
+ * are performed by the {@link org.apache.sis.io.wkt.ReferencingParser} class. The parser
provides methods for:
+ *
+ * <ul>
+ *   <li>Specifying whatever the default axis names shall be ISO identifiers or the
+ *       legacy identifiers specified in the WKT specification.</li>
+ *   <li>Ignoring the {@code AXIS[...]} elements. This approach can be used as a way
to force
+ *       the (<var>longitude</var>, <var>latitude</var>) axes order.</li>
+ * </ul>
+ *
+ * {@section Geometry WKT}
+ * The {@link org.apache.sis.geometry.GeneralEnvelope} and
+ * {@link org.apache.sis.geometry.GeneralDirectPosition} classes provide their own, limited,
+ * WKT parsing and formatting services for the {@code BOX} and {@code POINT} elements.
+ *
+ * {@section References}
+ * <ul>
+ *   <li><a href="http://www.geoapi.org/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html">Well
Known Text specification</a></li>
+ *   <li><a href="http://home.gdal.org/projects/opengis/wktproblems.html">OGC
WKT Coordinate System Issues</a></li>
+ *   <li><a href="http://en.wikipedia.org/wiki/Well-known_text">Well Known Text
in Wikipedia</a></li>
+ * </ul>
+ *
+ * @author  Martin Desruisseaux (IRD, Geomatys)
+ * @author  Rémi Eve (IRD)
+ * @author  Rueben Schulz (UBC)
+ * @since   0.4 (derived from geotk-2.0)
+ * @version 0.4
+ * @module
+ */
+package org.apache.sis.io.wkt;

Propchange: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/X364.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/X364.java?rev=1516305&r1=1516304&r2=1516305&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/X364.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/internal/util/X364.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -18,6 +18,7 @@ package org.apache.sis.internal.util;
 
 import java.util.Arrays;
 import org.apache.sis.util.CharSequences;
+import org.apache.sis.util.ArgumentChecks;
 import org.apache.sis.util.resources.Errors;
 
 
@@ -259,6 +260,7 @@ search: do {
      */
     public static X364 forColorName(String color) throws IllegalArgumentException {
         color = CharSequences.trimWhitespaces(color);
+        ArgumentChecks.ensureNonEmpty("color", color);
         for (final X364 code : NAMED) {
             if (color.equalsIgnoreCase(code.color)) {
                 return code;

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnconvertibleObjectException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnconvertibleObjectException.java?rev=1516305&r1=1516304&r2=1516305&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnconvertibleObjectException.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnconvertibleObjectException.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -47,28 +47,28 @@ public class UnconvertibleObjectExceptio
     /**
      * Constructs a new exception with the specified detail message.
      *
-     * @param message The detail message.
+     * @param message The detail message, or {@code null} if none.
      */
-    public UnconvertibleObjectException(String message) {
+    public UnconvertibleObjectException(final String message) {
         super(message);
     }
 
     /**
      * Constructs a new exception with the specified detail message and cause.
      *
-     * @param message The detail message.
-     * @param cause The cause.
+     * @param message The detail message, or {@code null} if none.
+     * @param cause The cause, or {@code null} if none.
      */
-    public UnconvertibleObjectException(String message, Throwable cause) {
+    public UnconvertibleObjectException(final String message, final Throwable cause) {
         super(message, cause);
     }
 
     /**
      * Constructs a new exception with the specified cause.
      *
-     * @param cause The cause.
+     * @param cause The cause, or {@code null} if none.
      */
-    public UnconvertibleObjectException(Throwable cause) {
+    public UnconvertibleObjectException(final Throwable cause) {
         super(cause);
     }
 }

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnsupportedImplementationException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnsupportedImplementationException.java?rev=1516305&r1=1516304&r2=1516305&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnsupportedImplementationException.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/UnsupportedImplementationException.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -39,7 +39,7 @@ public class UnsupportedImplementationEx
     /**
      * Constructs an exception with the specified detail message.
      *
-     * @param message The detail message.
+     * @param message The detail message, or {@code null} if none.
      */
     public UnsupportedImplementationException(final String message) {
         super(message);
@@ -59,7 +59,7 @@ public class UnsupportedImplementationEx
      * and a cause.
      *
      * @param classe The unexpected implementation class.
-     * @param cause  The cause for the exception.
+     * @param cause  The cause for the exception, or {@code null} if none.
      */
     public UnsupportedImplementationException(final Class<?> classe, final Exception
cause) {
         super(Errors.format(Errors.Keys.UnsupportedImplementation_1, classe), cause);

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java?rev=1516305&r1=1516304&r2=1516305&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.java
[UTF-8] Wed Aug 21 21:09:43 2013
@@ -104,6 +104,11 @@ public final class Errors extends Indexe
         public static final int CanNotRead_1 = 108;
 
         /**
+         * Can not represent “{1}” in the {0} format.
+         */
+        public static final int CanNotRepresentInFormat_2 = 110;
+
+        /**
          * Can not set a value for property “{0}”.
          */
         public static final int CanNotSetPropertyValue_1 = 75;

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties?rev=1516305&r1=1516304&r2=1516305&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
[ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors.properties
[ISO-8859-1] Wed Aug 21 21:09:43 2013
@@ -32,6 +32,7 @@ CanNotInstantiate_1             = Can no
 CanNotOpen_1                    = Can not open \u201c{0}\u201d.
 CanNotParseFile_2               = Can not parse \u201c{1}\u201d as a file in the {0} format.
 CanNotRead_1                    = Can not read \u201c{0}\u201d.
+CanNotRepresentInFormat_2       = Can not represent \u201c{1}\u201d in the {0} format.
 CanNotSetPropertyValue_1        = Can not set a value for property \u201c{0}\u201d.
 ClassNotFinal_1                 = Class \u2018{0}\u2019 is not final.
 CloneNotSupported_1             = Can not clone an object of type \u2018{0}\u2019.

Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties?rev=1516305&r1=1516304&r2=1516305&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
[ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
[ISO-8859-1] Wed Aug 21 21:09:43 2013
@@ -22,6 +22,7 @@ CanNotInstantiate_1             = Ne peu
 CanNotOpen_1                    = Ne peut pas ouvrir \u201c{0}\u201d.
 CanNotParseFile_2               = Ne peut pas lire \u201c{1}\u201d comme un fichier au format
{0}.
 CanNotRead_1                    = Ne peut pas lire \u201c{0}\u201d.
+CanNotRepresentInFormat_2       = Ne peut pas repr\u00e9senter \u201c{1}\u201d dans le format
{0}.
 CanNotSetPropertyValue_1        = Ne peut pas d\u00e9finir une valeur pour la propri\u00e9t\u00e9
\u201c{0}\u201d.
 ClassNotFinal_1                 = La classe \u2018{0}\u2019 n\u2019est pas finale.
 CloneNotSupported_1             = Un objet de type \u2018{0}\u2019 ne peut pas \u00eatre
clon\u00e9.



Mime
View raw message