Revision 10874

View differences:

branches/v10/extensions/extPublish/src/com/iver/cit/gvsig/publish/layers/LayerLoader.java
8 8

  
9 9
import com.iver.andami.PluginServices;
10 10
import com.iver.cit.gvsig.fmap.layers.FLayer;
11
import com.iver.cit.gvsig.gui.View;
11
import com.iver.cit.gvsig.project.documents.view.gui.View;
12 12
import com.iver.cit.gvsig.publish.Servers;
13 13
import com.iver.utiles.extensionPoints.ExtensionPoint;
14 14
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton;
......
58 58
 *
59 59
 * $Id$
60 60
 * $Log$
61
 * Revision 1.6.2.1  2006-11-15 04:11:02  jjdelcerro
61
 * Revision 1.6.2.2  2007-03-23 08:52:34  dagilgon
62 62
 * *** empty log message ***
63 63
 *
64
 * Revision 1.6.2.1  2006/11/15 04:11:02  jjdelcerro
65
 * *** empty log message ***
66
 *
64 67
 * Revision 1.6  2006/10/05 13:20:05  jvhigon
65 68
 * Debido a los cambios de nombre MapserverConfigFile y GeoserverConfig
66 69
 *
branches/v10/extensions/extPublish/src/com/iver/cit/gvsig/publish/ConfServerWMSExtension.java
6 6

  
7 7
import com.iver.andami.PluginServices;
8 8
import com.iver.andami.plugins.Extension;
9
import com.iver.cit.gvsig.gui.View;
9
import com.iver.cit.gvsig.project.documents.view.gui.View;
10 10
import com.iver.cit.gvsig.publish.gui.PublishPreferencesPage;
11 11
import com.iver.cit.gvsig.publish.gui.SelectServerWindow;
12 12
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton;
branches/v10/extensions/extPublish/src/com/iver/cit/gvsig/publish/servers/mapserver/MapServerLayerFactory.java
15 15

  
16 16
import com.iver.cit.gvsig.fmap.DriverException;
17 17
import com.iver.cit.gvsig.fmap.core.FShape;
18
import com.iver.cit.gvsig.fmap.core.ISymbol;
18 19
import com.iver.cit.gvsig.fmap.core.v02.FSymbol;
19 20
import com.iver.cit.gvsig.fmap.drivers.DBLayerDefinition;
20 21
import com.iver.cit.gvsig.fmap.drivers.raster.CmsRasterDriver;
......
79 80
 *
80 81
 * $Id$
81 82
 * $Log$
82
 * Revision 1.15.2.1  2006-11-15 04:11:03  jjdelcerro
83
 * Revision 1.15.2.2  2007-03-23 08:52:35  dagilgon
83 84
 * *** empty log message ***
84 85
 *
86
 * Revision 1.15.2.1  2006/11/15 04:11:03  jjdelcerro
87
 * *** empty log message ***
88
 *
85 89
 * Revision 1.15  2006/10/17 11:51:09  dagilgon
86 90
 * outputformats
87 91
 *
......
348 352
			mapClasses.add(mapClass);
349 353
		}else if(legend instanceof VectorialUniqueValueLegend){
350 354
			VectorialUniqueValueLegend uniqueValueLegend = (VectorialUniqueValueLegend)legend;
351
			FSymbol[] symbols = uniqueValueLegend.getSymbols();
355
			ISymbol[] symbols = uniqueValueLegend.getSymbols();
352 356
			for (int i=0 ; i<symbols.length ; i++){
353 357
				MapClass mapClass = new MapClass(symbols[i].getDescription());
354 358
				FSymbol auxSym = (FSymbol) symbols[i];
branches/v10/extensions/extPublish/src/com/iver/cit/gvsig/publish/servers/PublishControler.java
3 3
import com.iver.andami.PluginServices;
4 4
import com.iver.cit.gvsig.fmap.MapControl;
5 5
import com.iver.cit.gvsig.fmap.layers.FLayers;
6
import com.iver.cit.gvsig.gui.View;
6
import com.iver.cit.gvsig.project.documents.view.gui.View;
7 7
import com.iver.cit.gvsig.publish.Servers;
8 8
import com.iver.cit.gvsig.publish.servers.geoserver.GeoserverPublishControler;
9 9
import com.iver.cit.gvsig.publish.servers.mapserver.MapServerPublishControler;
......
53 53
 *
54 54
 * $Id$
55 55
 * $Log$
56
 * Revision 1.5.2.1  2006-11-15 04:11:02  jjdelcerro
56
 * Revision 1.5.2.2  2007-03-23 08:52:34  dagilgon
57 57
 * *** empty log message ***
58 58
 *
59
 * Revision 1.5.2.1  2006/11/15 04:11:02  jjdelcerro
60
 * *** empty log message ***
61
 *
59 62
 * Revision 1.5  2006/10/05 12:13:43  jorpiell
60 63
 * A?adida una factor?a en la clase publishControler
61 64
 *
branches/v10/extensions/extPublish/src/org/gvsig/remoteservices/conf/geonetwork/test/DDF2postgres.java
1 1

  
2 2
package org.gvsig.remoteservices.conf.geonetwork.test;
3 3

  
4
import java.io.BufferedReader;
4 5
import java.io.DataInputStream;
5 6
import java.io.File;
6 7
import java.io.FileInputStream;
7 8
import java.io.FileNotFoundException;
8 9
import java.io.FileWriter;
9 10
import java.io.IOException;
11
import java.io.InputStream;
12
import java.io.InputStreamReader;
10 13
import java.util.Vector;
11 14

  
12 15

  
......
15 18
	File f=null;
16 19
	File sql=null;
17 20
	File f2=null;
18
	DataInputStream read = null;
19 21
	FileWriter write = null;
20 22
	File aux[]=null;
21 23
	String path=null;
22 24
	String squema="public";
25
	BufferedReader read= null;
23 26
	
24 27
	//squema --> squema of the ddf files (must belong same squema)
25 28
	//path   -->path to the ddf files
......
45 48
	}
46 49
	
47 50
	//conver all ddf files in path to .sql format
48
	//all .sql files are created into path/sql subdir (if exist will be deleted)
51
	//all .sql files are created into path/sql subdir (if exist will be deleted, be carefull my friend)
49 52
	public void convert(){
50 53
		int i;
51 54
		for(i=0;i<aux.length;i++){
......
59 62
			//System.out.println(table);
60 63
			//System.out.println(sql.getName());
61 64
			try{
62
				read = new DataInputStream(new FileInputStream(aux[i]));
65
				read = new BufferedReader(new InputStreamReader(new DataInputStream(new FileInputStream(aux[i]))));
63 66
				write = new FileWriter(sql);
64 67
				String s=read.readLine();
65 68
				String s2[]=null;

Also available in: Unified diff