Statistics
| Revision:

gvsig-projects-pool / org.gvsig.lidar.prov / org.gvsig.lidar.prov.common / src / main / java / org / gvsig / lidar / prov / LASDataStoreProviderFactory.java @ 281

History | View | Annotate | Download (2.37 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright ? 2007-2016 gvSIG Association
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.lidar.prov;
25

    
26
import org.gvsig.fmap.dal.feature.FeatureStoreProviderFactory;
27
import org.gvsig.tools.dynobject.DynObject;
28

    
29
/**
30
 * LAS Data Store Provider factory to create parameters to create
31
 * specific server data explorers and specific data store providers.
32
 * 
33
 * @author <a href="mailto:cmartinez@scolab.es">Cesar Martinez Izquierdo</a>
34
 *
35
 */
36
public interface LASDataStoreProviderFactory extends FeatureStoreProviderFactory {
37

    
38
    /**
39
     * Creates specific parameters if factory can open connection object. If it
40
     * can not open, it will be return null.
41
     * 
42
     * @param connectionObject
43
     *            File or connection string to be opened
44
     * @return Data explorer parameters If this factory can open connection
45
     *         object it will be return specific parameters, otherwise return
46
     *         null.
47
     */
48
    public DynObject createParameters(Object connectionObject);
49

    
50
    /**
51
     * Creates specific data explorer parameters if factory can open connection
52
     * object. If it
53
     * can not open, it will be return null.
54
     * 
55
     * @param connectionObject
56
     *            File or connection string to be opened
57
     * @return Data explorer parameters If this factory can open connection
58
     *         object it will be return specific data explrer parameters,
59
     *         otherwise return
60
     *         null.
61
     */
62
    public DynObject createDataExplorerParameters(Object connectionObject);
63

    
64
}