Revision 40785 branches/v02_desarrollo/libraries/sld/temp/org.gvsig.sldsupport.lib.api/src/main/java/org/gvsig/sldsupport/SLDSupportManager.java
SLDSupportManager.java | ||
---|---|---|
1 | 1 |
package org.gvsig.sldsupport; |
2 | 2 |
|
3 |
import java.io.File; |
|
3 | 4 |
import java.io.IOException; |
4 | 5 |
import java.io.InputStream; |
5 | 6 |
import java.io.OutputStream; |
7 |
import java.util.List; |
|
6 | 8 |
|
7 | 9 |
import org.gvsig.sldsupport.exception.InvalidSLDObjectException; |
10 |
import org.gvsig.sldsupport.exception.SLDException; |
|
11 |
import org.gvsig.sldsupport.exception.SLDWriteException; |
|
8 | 12 |
import org.gvsig.sldsupport.exception.UnsupportedSLDVersionException; |
9 | 13 |
import org.gvsig.sldsupport.reader.SLDReader; |
10 | 14 |
import org.gvsig.sldsupport.reader.SLDReaderFactory; |
... | ... | |
17 | 21 |
public void registerReader(SLDReaderFactory fact); |
18 | 22 |
public void registerWriter(SLDWriterFactory fact); |
19 | 23 |
|
20 |
public SLDWriter createWriter(String version)
|
|
24 |
public List<SLDWriter> createWriters(String version)
|
|
21 | 25 |
throws UnsupportedSLDVersionException; |
22 |
public SLDReader createReader(String version)
|
|
26 |
public List<SLDReader> createReaders(String version)
|
|
23 | 27 |
throws UnsupportedSLDVersionException; |
24 | 28 |
|
25 | 29 |
/* |
26 | 30 |
* Redundant, utility methods |
27 | 31 |
*/ |
32 |
public void write(SLDObject obj, String version, File outfile) |
|
33 |
throws IOException, SLDException; |
|
34 |
|
|
35 |
/* |
|
28 | 36 |
public void write(SLDObject obj, String version, OutputStream outs) |
29 | 37 |
throws UnsupportedSLDVersionException, IOException; |
30 |
|
|
31 | 38 |
public SLDObject read(InputStream instream) |
32 | 39 |
throws InvalidSLDObjectException, IOException; |
40 |
*/ |
|
41 |
|
|
42 |
public SLDObject read(File infile) |
|
43 |
throws InvalidSLDObjectException, IOException; |
|
33 | 44 |
|
34 | 45 |
|
35 | 46 |
} |
Also available in: Unified diff