Revision 5553 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.algorithm/src/main/java/org/gvsig/raster/algorithm/RasterBaseAlgorithmManager.java
RasterBaseAlgorithmManager.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.raster.algorithm; |
23 | 23 |
|
24 |
import org.gvsig.fmap.dal.coverage.RasterManager;
|
|
24 |
import org.gvsig.raster.algorithm.process.DataProcess;
|
|
25 | 25 |
import org.gvsig.raster.algorithm.process.ProcessException; |
26 |
import org.gvsig.raster.algorithm.process.DataProcess; |
|
27 | 26 |
import org.gvsig.tools.ToolsLocator; |
28 | 27 |
import org.gvsig.tools.extensionpoint.ExtensionPoint; |
29 | 28 |
import org.gvsig.tools.extensionpoint.ExtensionPointManager; |
30 | 29 |
|
31 | 30 |
/** |
32 |
* Default {@link RasterManager} implementation. |
|
33 |
*
|
|
31 |
* Default {@link RasterBaseAlgorithmManager} implementation.
|
|
32 |
* |
|
34 | 33 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
35 | 34 |
* @version $Id$ |
36 | 35 |
*/ |
37 | 36 |
public class RasterBaseAlgorithmManager { |
38 | 37 |
private static RasterBaseAlgorithmManager internalInstance = new RasterBaseAlgorithmManager(); |
39 |
|
|
38 |
|
|
40 | 39 |
/** |
41 | 40 |
* Gets an instance of this object for internal use. |
42 |
* @return DefaultRasterManager
|
|
41 |
* @return RasterBaseAlgorithmManager
|
|
43 | 42 |
*/ |
44 | 43 |
public static RasterBaseAlgorithmManager getInstance() { |
45 | 44 |
return internalInstance; |
46 | 45 |
} |
47 |
|
|
46 |
|
|
48 | 47 |
/** |
49 | 48 |
* Returns a new instance of a process. |
50 | 49 |
* @param processLabel |
51 | 50 |
* Label to identify the process |
52 |
* @return |
|
51 |
* @return DataProcess |
|
52 |
* @throws ProcessException |
|
53 | 53 |
*/ |
54 | 54 |
public DataProcess createRasterTask(String processLabel) throws ProcessException { |
55 | 55 |
ExtensionPointManager extensionPoints = ToolsLocator.getExtensionPointManager(); |
... | ... | |
64 | 64 |
throw new ProcessException("", e); |
65 | 65 |
} |
66 | 66 |
} |
67 |
|
|
67 |
|
|
68 | 68 |
} |
Also available in: Unified diff