Revision 44183
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.h2/src/main/java/org/gvsig/fmap/dal/store/h2/H2SpatialExplorer.java | ||
---|---|---|
51 | 51 |
try { |
52 | 52 |
Map<String, String> attributes = new HashMap<>(); |
53 | 53 |
attributes.put("create", "false"); |
54 |
URI zipURI = new URI("jar:"+this.zipFile.toURI().toString());
|
|
54 |
URI zipURI = new URI("zip:"+this.zipFile.toURI().toString());
|
|
55 | 55 |
this.fs = FileSystems.newFileSystem(zipURI, attributes); |
56 | 56 |
Path tablePath = fs.getPath(this.tableName); |
57 | 57 |
if( tablePath==null ) { |
... | ... | |
79 | 79 |
try { |
80 | 80 |
Map<String, String> attributes = new HashMap<>(); |
81 | 81 |
attributes.put("create", "false"); |
82 |
URI zipURI = new URI("jar:"+this.zipFile.toURI().toString());
|
|
82 |
URI zipURI = new URI("zip:"+this.zipFile.toURI().toString());
|
|
83 | 83 |
this.fs = FileSystems.newFileSystem(zipURI, attributes); |
84 | 84 |
Path tablePath = fs.getPath(this.tableName); |
85 | 85 |
if( tablePath==null ) { |
... | ... | |
119 | 119 |
try { |
120 | 120 |
Map<String, String> attributes = new HashMap<>(); |
121 | 121 |
attributes.put("create", "true"); |
122 |
URI zipURI = new URI("jar:"+this.zipFile.toURI().toString());
|
|
122 |
URI zipURI = new URI("zip:"+this.zipFile.toURI().toString());
|
|
123 | 123 |
this.fs = FileSystems.newFileSystem(zipURI, attributes); |
124 | 124 |
Path tablePath = fs.getPath(this.tableName); |
125 | 125 |
ByteArrayInputStream lin = new ByteArrayInputStream(this.out.toByteArray()); |
Also available in: Unified diff