Revision 29445 branches/v2_0_0_prep/libraries/libFMap_dalfile/src/org/gvsig/fmap/dal/serverexplorer/filesystem/impl/DefaultFilesystemServerExplorer.java
DefaultFilesystemServerExplorer.java | ||
---|---|---|
34 | 34 |
|
35 | 35 |
|
36 | 36 |
FilesystemServerExplorerParameters parameters; |
37 |
|
|
37 | 38 |
private File root; |
38 | 39 |
|
39 | 40 |
private File current; |
... | ... | |
43 | 44 |
private List serverProviders; |
44 | 45 |
|
45 | 46 |
|
46 |
public DefaultFilesystemServerExplorer(FilesystemServerExplorerParameters parameters) |
|
47 |
public DefaultFilesystemServerExplorer( |
|
48 |
FilesystemServerExplorerParameters parameters, |
|
49 |
DataServerExplorerProviderServices services) |
|
47 | 50 |
throws InitializeException { |
48 | 51 |
this.parameters = parameters; |
52 |
this.providerServices = services; |
|
49 | 53 |
if (this.parameters.getRoot() != null) { |
50 | 54 |
this.root = new File(this.parameters.getRoot()); |
51 | 55 |
} |
... | ... | |
320 | 324 |
return file.getAbsolutePath().startsWith(this.root.getAbsolutePath()); |
321 | 325 |
} |
322 | 326 |
|
323 |
/* (non-Javadoc) |
|
324 |
* @see org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorer#initialize(org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices) |
|
325 |
*/ |
|
326 |
public void initialize( |
|
327 |
DataServerExplorerProviderServices dataServerExplorerProviderServices) { |
|
328 |
this.providerServices = dataServerExplorerProviderServices; |
|
329 |
|
|
330 |
} |
|
331 |
|
|
332 | 327 |
public List getProviders() { |
333 | 328 |
if (this.serverProviders == null) { |
334 | 329 |
Iterator iter = DALFileLocator |
Also available in: Unified diff