sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1724476 [3/3] - in /sis/branches/JDK7: ./ core/sis-metadata/src/test/java/org/apache/sis/internal/metadata/sql/ core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/ core/sis-referencing/src/main/java/org/apache/sis/inter...
Date Wed, 13 Jan 2016 18:31:16 GMT
Modified: sis/branches/JDK7/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/SQLNoDirectAccessAvailableException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/SQLNoDirectAccessAvailableException.java?rev=1724476&r1=1724475&r2=1724476&view=diff
==============================================================================
--- sis/branches/JDK7/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/SQLNoDirectAccessAvailableException.java
[iso-8859-1] (original)
+++ sis/branches/JDK7/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/SQLNoDirectAccessAvailableException.java
[UTF-8] Wed Jan 13 18:31:16 2016
@@ -1,50 +1,50 @@
-/*
- * 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.internal.shapefile;
-
-import java.sql.SQLNonTransientException;
-
-
-/**
- * Thrown when a shapefile or a DBase III file cannot allow a direct acces (because it has
no index).
- *
- * @author  Marc Le Bihan
- * @version 0.7
- * @since   0.7
- * @module
- */
-public class SQLNoDirectAccessAvailableException extends SQLNonTransientException {
-    /** Serial UID. */
-    private static final long serialVersionUID = 16719558033196219L;
-
-    /**
-     * Construct an exception.
-     * @param message Message of the exception.
-     */
-    public SQLNoDirectAccessAvailableException(String message) {
-        super(message);
-    }
-
-    /**
-     * Construct an exception.
-     * @param message Message of the exception.
-     * @param cause Root cause of the exception.
-     */
-    public SQLNoDirectAccessAvailableException(String message, Throwable cause) {
-        super(message, cause);
-    }
-}
+/*
+ * 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.internal.shapefile;
+
+import java.sql.SQLNonTransientException;
+
+
+/**
+ * Thrown when a shapefile or a DBase III file cannot allow a direct acces (because it has
no index).
+ *
+ * @author  Marc Le Bihan
+ * @version 0.7
+ * @since   0.7
+ * @module
+ */
+public class SQLNoDirectAccessAvailableException extends SQLNonTransientException {
+    /** Serial UID. */
+    private static final long serialVersionUID = 16719558033196219L;
+
+    /**
+     * Construct an exception.
+     * @param message Message of the exception.
+     */
+    public SQLNoDirectAccessAvailableException(String message) {
+        super(message);
+    }
+
+    /**
+     * Construct an exception.
+     * @param message Message of the exception.
+     * @param cause Root cause of the exception.
+     */
+    public SQLNoDirectAccessAvailableException(String message, Throwable cause) {
+        super(message, cause);
+    }
+}

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/SQLNoDirectAccessAvailableException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/SQLNoDirectAccessAvailableException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader.properties?rev=1724476&r1=1724475&r2=1724476&view=diff
==============================================================================
--- sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader.properties
[iso-8859-1] (original)
+++ sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader.properties
[ISO-8859-1] Wed Jan 13 18:31:16 2016
@@ -1,36 +1,36 @@
-# Assertion : Internal API problem : the calculated index from a record number has led to
a under or overflow of the shapefile byte buffer.
-#0,number : Record number asked for.
-#1,number : Index position in the byte buffer that has been calculated from the record number.
-#2 : Shapefile name.
-#3 : Message returned by the MappedByteBuffer.position(index) method.
-assert.wrong_position=[Internal API trouble] : While reading the shapefile {2}, ShapefileByteReader:setRowNum({0,number,#0})
method has made a wrong calculation with this record number that led it to buffer position
{1,number,#0} invalid : "{3}".  
-
-# Exception : the shapefile has no index, and cannot easily go to a given entry.
-#0 : Shapefile name.
-excp.no_direct_access=The shapefile {0} has no index and doesn't allow direct access.
-
-# Exception : the given record number is below 1. 
-#0 : Wrong record number.
-#1 : Shapefile name.
-excp.wrong_direct_access_before_start=The given record number {0} for direct access in the
shapefile {1} is below its beginning (starting at 1).
-
-# Exception : the given record number is after last (EOF). 
-#0 : Wrong record number.
-#1 : Shapefile name.
-excp.wrong_direct_access_after_last=The given record number {0} for direct access in the
shapefile {1} is after its end.
-
-# Log : reading of the shapefile index is successful.
-#0 : Shapefile index file name.
-#1 : Number of entries indexed.
-#2 : Main shapefile file name.
-log.index_has_been_read=The shapefile index {0} has given {1,number} entries for the main
shapefile {2}.
-
-# Log : the Shapefile index given has not been found.
-#0 : Wrong file location.
-#1 : Related shapefile.
-log.invalid_file_content_for_shapefile_index=The shapefile index given, {0}, has not been
found. No Index will be used for reading the shapefile {1}.
-
-# Log : the shapefile index has an invalid content.
-#0 : Shapefile index file name that has an invalid content.
-#1 : Cause of the problem.
-log.no_shapefile_index_found_at_location=The shapefile index {0} has an invalid content and
will be discarded : {1}.
+# Assertion : Internal API problem : the calculated index from a record number has led to
a under or overflow of the shapefile byte buffer.
+#0,number : Record number asked for.
+#1,number : Index position in the byte buffer that has been calculated from the record number.
+#2 : Shapefile name.
+#3 : Message returned by the MappedByteBuffer.position(index) method.
+assert.wrong_position=[Internal API trouble] : While reading the shapefile {2}, ShapefileByteReader:setRowNum({0,number,#0})
method has made a wrong calculation with this record number that led it to buffer position
{1,number,#0} invalid : "{3}".  
+
+# Exception : the shapefile has no index, and cannot easily go to a given entry.
+#0 : Shapefile name.
+excp.no_direct_access=The shapefile {0} has no index and doesn't allow direct access.
+
+# Exception : the given record number is below 1. 
+#0 : Wrong record number.
+#1 : Shapefile name.
+excp.wrong_direct_access_before_start=The given record number {0} for direct access in the
shapefile {1} is below its beginning (starting at 1).
+
+# Exception : the given record number is after last (EOF). 
+#0 : Wrong record number.
+#1 : Shapefile name.
+excp.wrong_direct_access_after_last=The given record number {0} for direct access in the
shapefile {1} is after its end.
+
+# Log : reading of the shapefile index is successful.
+#0 : Shapefile index file name.
+#1 : Number of entries indexed.
+#2 : Main shapefile file name.
+log.index_has_been_read=The shapefile index {0} has given {1,number} entries for the main
shapefile {2}.
+
+# Log : the Shapefile index given has not been found.
+#0 : Wrong file location.
+#1 : Related shapefile.
+log.invalid_file_content_for_shapefile_index=The shapefile index given, {0}, has not been
found. No Index will be used for reading the shapefile {1}.
+
+# Log : the shapefile index has an invalid content.
+#0 : Shapefile index file name that has an invalid content.
+#1 : Cause of the problem.
+log.no_shapefile_index_found_at_location=The shapefile index {0} has an invalid content and
will be discarded : {1}.

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=ISO-8859-1

Modified: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader_fr.properties?rev=1724476&r1=1724475&r2=1724476&view=diff
==============================================================================
--- sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader_fr.properties
[iso-8859-1] (original)
+++ sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader_fr.properties
[ISO-8859-1] Wed Jan 13 18:31:16 2016
@@ -1,36 +1,36 @@
-# Assertion : Internal API problem : the calculated index from a record number has led to
a under or overflow of the shapefile byte buffer.
-#0,number : Record number asked for.
-#1,number : Index position in the byte buffer that has been calculated from the record number.
-#2 : Shapefile name.
-#3 : Message returned by the MappedByteBuffer.position(index) method.
-assert.wrong_position=[Problème interne de l''API] : Pendant la lecture du shapefile {2},
ShapefileByteReader:setRowNum({0,number,#0}) la methode a fait un mauvais calcul avec ce numéro
d''enregistrement qui l''a conduite vers la position de buffer {1,number,#0} invalide : "{3}".
 
-
-# Exception : the shapefile has no index, and cannot easily go to a given entry.
-#0 : Shapefile name.
-excp.no_direct_access=Le shapefile {0} n''a pas d''index et ne permet pas d''accès direct.
-
-# Exception : the given record number is below 1. 
-#0 : Wrong record number.
-#1 : Shapefile name.
-excp.wrong_direct_access_before_start=Le numéro d''enregistrement donné {0} pour l''accès
direct dans le shapefile {1} est en-deçà de son début (débutant à 1).
-
-# Exception : the given record number is after last (EOF). 
-#0 : Wrong record number.
-#1 : Shapefile name.
-excp.wrong_direct_access_after_last=Le numéro d''enregistrement donné {0} pour l''accès
direct dans le shapefile {1} est au-delà de sa fin.
-
-# Log : reading of the shapefile index is successful.
-#0 : Shapefile index file name.
-#1 : Number of entries indexed.
-#2 : Main shapefile file name.
-log.index_has_been_read=L''index du shapefile {0} a donné {1,number} entrées pour le shapefile
principal {2}.
-
-# Log : the Shapefile index given has not been found.
-#0 : Wrong file location.
-#1 : Related shapefile.
-log.invalid_file_content_for_shapefile_index=L''index du shapefile donné, {0}, n''a pas
été trouvé. Aucun index ne va être utilisé pour lire le shapefile {1}.
-
-# Log : the shapefile index has an invalid content.
-#0 : Shapefile index file name that has an invalid content.
-#1 : Cause of the problem.
-log.no_shapefile_index_found_at_location=L''index du shapefile {0} a un contenu invalide
et va être écarté : {1}.
+# Assertion : Internal API problem : the calculated index from a record number has led to
a under or overflow of the shapefile byte buffer.
+#0,number : Record number asked for.
+#1,number : Index position in the byte buffer that has been calculated from the record number.
+#2 : Shapefile name.
+#3 : Message returned by the MappedByteBuffer.position(index) method.
+assert.wrong_position=[Problème interne de l''API] : Pendant la lecture du shapefile {2},
ShapefileByteReader:setRowNum({0,number,#0}) la methode a fait un mauvais calcul avec ce numéro
d''enregistrement qui l''a conduite vers la position de buffer {1,number,#0} invalide : "{3}".
 
+
+# Exception : the shapefile has no index, and cannot easily go to a given entry.
+#0 : Shapefile name.
+excp.no_direct_access=Le shapefile {0} n''a pas d''index et ne permet pas d''accès direct.
+
+# Exception : the given record number is below 1. 
+#0 : Wrong record number.
+#1 : Shapefile name.
+excp.wrong_direct_access_before_start=Le numéro d''enregistrement donné {0} pour l''accès
direct dans le shapefile {1} est en-deçà de son début (débutant à 1).
+
+# Exception : the given record number is after last (EOF). 
+#0 : Wrong record number.
+#1 : Shapefile name.
+excp.wrong_direct_access_after_last=Le numéro d''enregistrement donné {0} pour l''accès
direct dans le shapefile {1} est au-delà de sa fin.
+
+# Log : reading of the shapefile index is successful.
+#0 : Shapefile index file name.
+#1 : Number of entries indexed.
+#2 : Main shapefile file name.
+log.index_has_been_read=L''index du shapefile {0} a donné {1,number} entrées pour le shapefile
principal {2}.
+
+# Log : the Shapefile index given has not been found.
+#0 : Wrong file location.
+#1 : Related shapefile.
+log.invalid_file_content_for_shapefile_index=L''index du shapefile donné, {0}, n''a pas
été trouvé. Aucun index ne va être utilisé pour lire le shapefile {1}.
+
+# Log : the shapefile index has an invalid content.
+#0 : Shapefile index file name that has an invalid content.
+#1 : Cause of the problem.
+log.no_shapefile_index_found_at_location=L''index du shapefile {0} a un contenu invalide
et va être écarté : {1}.

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader_fr.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/ShapefileByteReader_fr.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=ISO-8859-1

Modified: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream.properties?rev=1724476&r1=1724475&r2=1724476&view=diff
==============================================================================
--- sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream.properties
[iso-8859-1] (original)
+++ sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream.properties
[ISO-8859-1] Wed Jan 13 18:31:16 2016
@@ -1,9 +1,9 @@
-# Log : direct access
-#0 : Previous record number.
-#1 : Current record number.
-log.shapefile_reading_with_direct_access=Direct access in the shapefile from record number
{0} to {1}.
-
-# Log : sequential access
-#0 : Previous record number.
-#1 : Current record number.
-log.shapefile_reading_with_sequential_access=Sequential access in the shapefile from record
number {0} to {1}.
+# Log : direct access
+#0 : Previous record number.
+#1 : Current record number.
+log.shapefile_reading_with_direct_access=Direct access in the shapefile from record number
{0} to {1}.
+
+# Log : sequential access
+#0 : Previous record number.
+#1 : Current record number.
+log.shapefile_reading_with_sequential_access=Sequential access in the shapefile from record
number {0} to {1}.

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=ISO-8859-1

Modified: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream_fr.properties?rev=1724476&r1=1724475&r2=1724476&view=diff
==============================================================================
--- sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream_fr.properties
[iso-8859-1] (original)
+++ sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream_fr.properties
[ISO-8859-1] Wed Jan 13 18:31:16 2016
@@ -1,9 +1,9 @@
-# Log : direct access
-#0 : Previous record number.
-#1 : Current record number.
-log.shapefile_reading_with_direct_access=Accès direct dans le shapefile depuis l''enregistrement
numéro {0} vers le {1}.
-
-# Log : sequential access
-#0 : Previous record number.
-#1 : Current record number.
-log.shapefile_reading_with_sequential_access=Accès séquentiel dans le shapefile depuis
l''enregistrement numéro {0} vers le {1}.
+# Log : direct access
+#0 : Previous record number.
+#1 : Current record number.
+log.shapefile_reading_with_direct_access=Accès direct dans le shapefile depuis l''enregistrement
numéro {0} vers le {1}.
+
+# Log : sequential access
+#0 : Previous record number.
+#1 : Current record number.
+log.shapefile_reading_with_sequential_access=Accès séquentiel dans le shapefile depuis
l''enregistrement numéro {0} vers le {1}.

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream_fr.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/InputFeatureStream_fr.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=ISO-8859-1



Mime
View raw message