svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.file / org.gvsig.fmap.dal.file.lib / src / main / java / org / gvsig / fmap / dal / serverexplorer / filesystem / spi / FilesystemProviderServices.java @ 43019
History | View | Annotate | Download (1.08 KB)
1 |
package org.gvsig.fmap.dal.serverexplorer.filesystem.spi; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.DataParameters; |
4 |
|
5 |
/**
|
6 |
* Parameters to create a FilesystemServerExplorerProviderFactory
|
7 |
* @author dmartinezizquierdo
|
8 |
*
|
9 |
*/
|
10 |
public interface FilesystemProviderServices {//extends DataParameters |
11 |
public static final int UNKNOWN = 0; |
12 |
public static final int YES = 1; |
13 |
public static final int NO = 2; |
14 |
/**
|
15 |
* Returns the name of the provider
|
16 |
*
|
17 |
* @return name of the provider
|
18 |
*/
|
19 |
public String getName(); |
20 |
|
21 |
/**
|
22 |
* Return a short descripion about the provider
|
23 |
*
|
24 |
* @return description about the provider
|
25 |
*/
|
26 |
public String getDescription(); |
27 |
|
28 |
/**
|
29 |
* The provider can create new stores.
|
30 |
*
|
31 |
* @return YES if has creation support
|
32 |
*/
|
33 |
public int allowCreate(); |
34 |
|
35 |
/**
|
36 |
* Returns the mode supported
|
37 |
* @return DataServerExplorer.MODE
|
38 |
*/
|
39 |
public int getMode(); |
40 |
|
41 |
/**
|
42 |
* Return true if any mode in the parameter is supported.
|
43 |
*
|
44 |
* @param mode
|
45 |
* @return boolean
|
46 |
*/
|
47 |
public boolean isMode(int mode); |
48 |
|
49 |
} |