Revision 2211
trunk/libraries/libjni-readecw-linux/ant.xml | ||
---|---|---|
1 |
<project name="Ecw" default="dist" basedir="."> |
|
2 |
<description> |
|
3 |
Genera distribuciones de lector de ecw |
|
4 |
</description> |
|
5 |
|
|
6 |
<property name="src" location="src"/> |
|
7 |
<property name="src-test" location="src-test"/> |
|
8 |
<property name="build" location="bin"/> |
|
9 |
<property name="dist" location="dist"/> |
|
10 |
<property name="include" location="include"/> |
|
11 |
<property name="doc" location="doc"/> |
|
12 |
<property name="lib" location="lib"/> |
|
13 |
<property name="bin" location="bin"/> |
|
14 |
<property name="jar" value="cms"/> |
|
15 |
<property name="app" value="jecw"/> |
|
16 |
<property name="version" value="0.0.0"/> |
|
17 |
|
|
18 |
<target name="init"> |
|
19 |
<tstamp/> |
|
20 |
</target> |
|
21 |
|
|
22 |
<target name="dist" depends="init" |
|
23 |
description="Crea distribución de binarios" > |
|
24 |
<mkdir dir="${dist}/${app}-${version}"/> |
|
25 |
<mkdir dir="${dist}/${app}-${version}/bin"/> |
|
26 |
<mkdir dir="${dist}/${app}-${version}/doc"/> |
|
27 |
<copy todir="./dist/${app}-${version}/doc/"> |
|
28 |
<fileset dir="${doc}"/> |
|
29 |
</copy> |
|
30 |
<mkdir dir="${dist}/${app}-${version}/dist"/> |
|
31 |
<copy todir="./dist/${app}-${version}/dist/"> |
|
32 |
<fileset dir="${dist}" includes="jecw.dll"/> |
|
33 |
<fileset dir="${dist}" includes="jecw.jar"/> |
|
34 |
<fileset dir="${dist}" includes="libjecw.so.*"/> |
|
35 |
</copy> |
|
36 |
<mkdir dir="${dist}/${app}-${version}/lib"/> |
|
37 |
<copy todir="./dist/${app}-${version}/lib/"> |
|
38 |
<fileset dir="${lib}"/> |
|
39 |
</copy> |
|
40 |
<mkdir dir="${dist}/${app}-${version}/src-test"/> |
|
41 |
<copy todir="./dist/${app}-${version}/src-test/"> |
|
42 |
<fileset dir="${bin}" includes="*.class"/> |
|
43 |
</copy> |
|
44 |
<copy todir="./dist/${app}-${version}/"> |
|
45 |
<fileset dir="" includes="README"/> |
|
46 |
</copy> |
|
47 |
<!-- |
|
48 |
<tar tarfile="./${app}-${version}.tar" |
|
49 |
basedir="./dist/" |
|
50 |
includes="${app}-${version}/*" /> |
|
51 |
--> |
|
52 |
</target> |
|
53 |
|
|
54 |
<target name="src" depends="dist" |
|
55 |
description="Crea distribución de fuentes" > |
|
56 |
<mkdir dir="${dist}/${app}-src-${version}"/> |
|
57 |
<mkdir dir="${dist}/${app}-src-${version}/src"/> |
|
58 |
<copy todir="./dist/${app}-src-${version}/src/"> |
|
59 |
<fileset dir="${src}"/> |
|
60 |
</copy> |
|
61 |
<mkdir dir="${dist}/${app}-src-${version}/src-test"/> |
|
62 |
<copy todir="./dist/${app}-src-${version}/src-test/"> |
|
63 |
<fileset dir="${src-test}" includes="*.java"/> |
|
64 |
</copy> |
|
65 |
<mkdir dir="${dist}/${app}-src-${version}/include"/> |
|
66 |
<copy todir="./dist/${app}-src-${version}/include/"> |
|
67 |
<fileset dir="${include}"/> |
|
68 |
</copy> |
|
69 |
<mkdir dir="${dist}/${app}-src-${version}/bin"/> |
|
70 |
<mkdir dir="${dist}/${app}-src-${version}/dist"/> |
|
71 |
<mkdir dir="${dist}/${app}-src-${version}/doc"/> |
|
72 |
<copy todir="./dist/${app}-src-${version}/doc/"> |
|
73 |
<fileset dir="${doc}"/> |
|
74 |
</copy> |
|
75 |
<mkdir dir="${dist}/${app}-src-${version}/lib"/> |
|
76 |
<copy todir="./dist/${app}-src-${version}/lib/"> |
|
77 |
<fileset dir="${lib}"/> |
|
78 |
</copy> |
|
79 |
<copy todir="./dist/${app}-src-${version}/"> |
|
80 |
<fileset dir="" includes="Makefile"/> |
|
81 |
<fileset dir="" includes="makefile.w32"/> |
|
82 |
<fileset dir="" includes="README"/> |
|
83 |
<fileset dir="" includes="submake.bat"/> |
|
84 |
</copy> |
|
85 |
<!-- |
|
86 |
<tar tarfile="./${app}-src-${version}.tar" |
|
87 |
basedir="./dist/" |
|
88 |
includes="${app}-src-${version}/*" /> |
|
89 |
--> |
|
90 |
</target> |
|
91 |
|
|
92 |
<target name="clean" |
|
93 |
description="clean up" > |
|
94 |
<delete dir="${dist}/${app}-${version}"/> |
|
95 |
<delete dir="${dist}/${app}-src-${version}"/> |
|
96 |
</target> |
|
97 |
</project> |
|
98 |
|
|
0 | 99 |
trunk/libraries/libjni-ecwcompress/ant.xml | ||
---|---|---|
1 |
<project name="EcwCompress" default="dist" basedir="."> |
|
2 |
<description> |
|
3 |
Genera distribuciones de lector de ecw |
|
4 |
</description> |
|
5 |
|
|
6 |
<property name="src" location="src"/> |
|
7 |
<property name="src-test" location="src-test"/> |
|
8 |
<property name="build" location="bin"/> |
|
9 |
<property name="dist" location="dist"/> |
|
10 |
<property name="include" location="include"/> |
|
11 |
<property name="doc" location="doc"/> |
|
12 |
<property name="lib" location="lib"/> |
|
13 |
<property name="bin" location="bin"/> |
|
14 |
<property name="app" value="jecwcompress"/> |
|
15 |
<property name="version" value="0.0.0"/> |
|
16 |
|
|
17 |
<target name="init"> |
|
18 |
<tstamp/> |
|
19 |
</target> |
|
20 |
|
|
21 |
<target name="dist" depends="init" |
|
22 |
description="Crea distribución de binarios" > |
|
23 |
<mkdir dir="${dist}/${app}-${version}"/> |
|
24 |
<mkdir dir="${dist}/${app}-${version}/bin"/> |
|
25 |
<mkdir dir="${dist}/${app}-${version}/doc"/> |
|
26 |
<copy todir="./dist/${app}-${version}/doc/"> |
|
27 |
<fileset dir="${doc}"/> |
|
28 |
</copy> |
|
29 |
<mkdir dir="${dist}/${app}-${version}/dist"/> |
|
30 |
<copy todir="./dist/${app}-${version}/dist/"> |
|
31 |
<fileset dir="${dist}" includes="jecwcompress.dll"/> |
|
32 |
<fileset dir="${dist}" includes="jecwcompress.jar"/> |
|
33 |
<fileset dir="${dist}" includes="libjecwcompress.so.*"/> |
|
34 |
</copy> |
|
35 |
<mkdir dir="${dist}/${app}-${version}/lib"/> |
|
36 |
<copy todir="./dist/${app}-${version}/lib/"> |
|
37 |
<fileset dir="${lib}"/> |
|
38 |
</copy> |
|
39 |
<mkdir dir="${dist}/${app}-${version}/src-test"/> |
|
40 |
<copy todir="./dist/${app}-${version}/src-test/"> |
|
41 |
<fileset dir="${src-test}" includes="*.class"/> |
|
42 |
</copy> |
|
43 |
<copy todir="./dist/${app}-${version}/"> |
|
44 |
<fileset dir="" includes="README"/> |
|
45 |
</copy> |
|
46 |
<!-- |
|
47 |
<tar tarfile="./${app}-${version}.tar" |
|
48 |
basedir="./dist/" |
|
49 |
includes="${app}-${version}/*" /> |
|
50 |
--> |
|
51 |
</target> |
|
52 |
|
|
53 |
<target name="src" depends="dist" |
|
54 |
description="Crea distribución de fuentes" > |
|
55 |
<mkdir dir="${dist}/${app}-src-${version}"/> |
|
56 |
<mkdir dir="${dist}/${app}-src-${version}/src"/> |
|
57 |
<copy todir="./dist/${app}-src-${version}/src/"> |
|
58 |
<fileset dir="${src}"/> |
|
59 |
</copy> |
|
60 |
<mkdir dir="${dist}/${app}-src-${version}/src-test"/> |
|
61 |
<copy todir="./dist/${app}-src-${version}/src-test/"> |
|
62 |
<fileset dir="${src-test}" includes="*.java"/> |
|
63 |
</copy> |
|
64 |
<mkdir dir="${dist}/${app}-src-${version}/include"/> |
|
65 |
<copy todir="./dist/${app}-src-${version}/include/"> |
|
66 |
<fileset dir="${include}"/> |
|
67 |
</copy> |
|
68 |
<mkdir dir="${dist}/${app}-src-${version}/bin"/> |
|
69 |
<mkdir dir="${dist}/${app}-src-${version}/dist"/> |
|
70 |
<mkdir dir="${dist}/${app}-src-${version}/doc"/> |
|
71 |
<copy todir="./dist/${app}-src-${version}/doc/"> |
|
72 |
<fileset dir="${doc}"/> |
|
73 |
</copy> |
|
74 |
<mkdir dir="${dist}/${app}-src-${version}/lib"/> |
|
75 |
<copy todir="./dist/${app}-src-${version}/lib/"> |
|
76 |
<fileset dir="${lib}"/> |
|
77 |
</copy> |
|
78 |
<copy todir="./dist/${app}-src-${version}/"> |
|
79 |
<fileset dir="" includes="Makefile"/> |
|
80 |
<fileset dir="" includes="makefile.w32"/> |
|
81 |
<fileset dir="" includes="README"/> |
|
82 |
<fileset dir="" includes="submake.bat"/> |
|
83 |
</copy> |
|
84 |
<!-- |
|
85 |
<tar tarfile="./${app}-src-${version}.tar" |
|
86 |
basedir="./dist/" |
|
87 |
includes="${app}-src-${version}/*" /> |
|
88 |
--> |
|
89 |
</target> |
|
90 |
|
|
91 |
<target name="clean" |
|
92 |
description="clean up" > |
|
93 |
<delete dir="${dist}/${app}-${version}"/> |
|
94 |
<delete dir="${dist}/${app}-src-${version}"/> |
|
95 |
</target> |
|
96 |
</project> |
|
97 |
|
|
0 | 98 |
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/CompressFormat.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 | 51 |
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 | 52 |
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 | 53 |
|
27 |
|
|
28 |
|
|
29 |
|
|
30 | 54 |
package es.gva.cit.jecwcompress; |
31 | 55 |
|
32 | 56 |
/** |
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/JniObject.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 |
|
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 | 51 |
package es.gva.cit.jecwcompress; |
28 | 52 |
|
29 | 53 |
|
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/ReadCallBack.java | ||
---|---|---|
14 | 14 |
as published by the Free Software Foundation; either version 2 |
15 | 15 |
of the License, or (at your option) any later version. |
16 | 16 |
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
17 |
This program is d/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
18 |
* |
|
19 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
20 |
* |
|
21 |
* This program is free software; you can redistribute it and/or |
|
22 |
* modify it under the terms of the GNU General Public License |
|
23 |
* as published by the Free Software Foundation; either version 2 |
|
24 |
* of the License, or (at your option) any later version. |
|
25 |
* |
|
26 |
* This program is distributed in the hope that it will be useful, |
|
27 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
28 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
29 |
* GNU General Public License for more details. |
|
30 |
* |
|
31 |
* You should have received a copy of the GNU General Public License |
|
32 |
* along with this program; if not, write to the Free Software |
|
33 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
34 |
* |
|
35 |
* For more information, contact: |
|
36 |
* |
|
37 |
* Generalitat Valenciana |
|
38 |
* Conselleria d'Infraestructures i Transport |
|
39 |
* Av. Blasco Ib??ez, 50 |
|
40 |
* 46010 VALENCIA |
|
41 |
* SPAIN |
|
42 |
* |
|
43 |
* +34 963862235 |
|
44 |
* gvsig@gva.es |
|
45 |
* www.gvsig.gva.es |
|
46 |
* |
|
47 |
* or |
|
48 |
* |
|
49 |
* IVER T.I. S.A |
|
50 |
* Salamanca 50 |
|
51 |
* 46005 Valencia |
|
52 |
* Spain |
|
53 |
* |
|
54 |
* +34 963163400 |
|
55 |
* dac@iver.es |
|
56 |
*/ |
|
21 | 57 |
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 | 58 |
package es.gva.cit.jecwcompress; |
28 | 59 |
|
29 | 60 |
/** |
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/JNIBase.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 | 51 |
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 |
|
|
28 | 52 |
package es.gva.cit.jecwcompress; |
29 | 53 |
|
30 | 54 |
|
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/CellSizeUnits.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 | 51 |
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 |
|
|
28 | 52 |
package es.gva.cit.jecwcompress; |
29 | 53 |
|
30 | 54 |
/** |
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/EcwException.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
11 |
|
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 |
|
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
26 | 50 |
|
27 | 51 |
package es.gva.cit.jecwcompress; |
28 | 52 |
|
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/NCSEcwCompressClient.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 |
|
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 | 51 |
package es.gva.cit.jecwcompress; |
28 | 52 |
|
29 | 53 |
/** |
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/NCSError.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 |
|
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 | 51 |
package es.gva.cit.jecwcompress; |
28 | 52 |
|
29 | 53 |
/** |
trunk/libraries/libjni-ecwcompress/src/es/gva/cit/jecwcompress/CompressHint.java | ||
---|---|---|
7 | 7 |
* Author: Nacho Brodin, brodin_ign@gva.es |
8 | 8 |
* |
9 | 9 |
**********************************************************************/ |
10 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
11 |
* |
|
12 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or |
|
15 |
* modify it under the terms of the GNU General Public License |
|
16 |
* as published by the Free Software Foundation; either version 2 |
|
17 |
* of the License, or (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
27 |
* |
|
28 |
* For more information, contact: |
|
29 |
* |
|
30 |
* Generalitat Valenciana |
|
31 |
* Conselleria d'Infraestructures i Transport |
|
32 |
* Av. Blasco Ib??ez, 50 |
|
33 |
* 46010 VALENCIA |
|
34 |
* SPAIN |
|
35 |
* |
|
36 |
* +34 963862235 |
|
37 |
* gvsig@gva.es |
|
38 |
* www.gvsig.gva.es |
|
39 |
* |
|
40 |
* or |
|
41 |
* |
|
42 |
* IVER T.I. S.A |
|
43 |
* Salamanca 50 |
|
44 |
* 46005 Valencia |
|
45 |
* Spain |
|
46 |
* |
|
47 |
* +34 963163400 |
|
48 |
* dac@iver.es |
|
49 |
*/ |
|
11 | 50 |
|
12 |
This program is free software; you can redistribute it and/or |
|
13 |
modify it under the terms of the GNU General Public License |
|
14 |
as published by the Free Software Foundation; either version 2 |
|
15 |
of the License, or (at your option) any later version. |
|
16 |
|
|
17 |
This program is distributed in the hope that it will be useful, |
|
18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
GNU General Public License for more details. |
|
21 |
|
|
22 |
You should have received a copy of the GNU General Public License |
|
23 |
along with this program; if not, write to the Free Software |
|
24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
25 |
*/ |
|
26 |
|
|
27 | 51 |
package es.gva.cit.jecwcompress; |
28 | 52 |
|
29 | 53 |
/** |
trunk/libraries/libjni-ecwcompress/src/ncsecwcompressclient_wrapper.c | ||
---|---|---|
8 | 8 |
* Author: Nacho Brodin, brodin_ign@gva.es |
9 | 9 |
* |
10 | 10 |
**********************************************************************/ |
11 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
11 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
12 |
* |
|
13 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or |
|
16 |
* modify it under the terms of the GNU General Public License |
|
17 |
* as published by the Free Software Foundation; either version 2 |
|
18 |
* of the License, or (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
28 |
* |
|
29 |
* For more information, contact: |
|
30 |
* |
|
31 |
* Generalitat Valenciana |
|
32 |
* Conselleria d'Infraestructures i Transport |
|
33 |
* Av. Blasco Ib??ez, 50 |
|
34 |
* 46010 VALENCIA |
|
35 |
* SPAIN |
|
36 |
* |
|
37 |
* +34 963862235 |
|
38 |
* gvsig@gva.es |
|
39 |
* www.gvsig.gva.es |
|
40 |
* |
|
41 |
* or |
|
42 |
* |
|
43 |
* IVER T.I. S.A |
|
44 |
* Salamanca 50 |
|
45 |
* 46005 Valencia |
|
46 |
* Spain |
|
47 |
* |
|
48 |
* +34 963163400 |
|
49 |
* dac@iver.es |
|
50 |
*/ |
|
12 | 51 |
|
13 |
This program is free software; you can redistribute it and/or |
|
14 |
modify it under the terms of the GNU General Public License |
|
15 |
as published by the Free Software Foundation; either version 2 |
|
16 |
of the License, or (at your option) any later version. |
|
17 |
|
|
18 |
This program is distributed in the hope that it will be useful, |
|
19 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
GNU General Public License for more details. |
|
22 |
|
|
23 |
You should have received a copy of the GNU General Public License |
|
24 |
along with this program; if not, write to the Free Software |
|
25 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
26 |
*/ |
|
27 |
|
|
28 | 52 |
#include <jni.h> |
29 | 53 |
#include <string.h> |
30 | 54 |
#include <malloc.h> |
Also available in: Unified diff