public final class ArcSDERasterFormat extends AbstractGridFormat implements Format
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOGGER |
BACKGROUND_COLOR, BANDS, DECIMATION_POLICY, ELEVATION, FOOTPRINT_BEHAVIOR, GEOTOOLS_WRITE_PARAMS, INPUT_TRANSPARENT_COLOR, INTERPOLATION, mInfo, OVERVIEW_POLICY, PROGRESS_LISTENER, READ_GRIDGEOMETRY2D, readParameters, SUGGESTED_TILE_SIZE, TILE_SIZE_SEPARATOR, TIME, USE_JAI_IMAGEREAD, writeParameters
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object input,
Hints hints)
Tells me if this
Format can read the provided input . |
static String |
createRasterURL(ArcSDEConnectionConfig config,
String rasterName) |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Retrieves the default instance for the
ArcSDERasterFormat of the GeoToolsWriteParams to control the writing process. |
String |
getDescription()
Description of the file format.
|
String |
getDocURL()
Documentation URL for the format.
|
static ArcSDERasterFormat |
getInstance() |
String |
getName()
Name of the file format.
|
AbstractGridCoverage2DReader |
getReader(Object source)
Gets a
GridCoverageReader for this format able to create coverages out of the
source object. |
AbstractGridCoverage2DReader |
getReader(Object source,
Hints hints)
Gets a
GridCoverageReader for this format able to create coverages out of the
source object using the provided hints . |
String |
getVendor()
Vendor or agency for the format.
|
String |
getVersion()
Version number of the format.
|
GridCoverageWriter |
getWriter(Object destination)
Retrieves a
GridCoverageWriter suitable for writing to the provided destination
with this format. |
GridCoverageWriter |
getWriter(Object destination,
Hints hints)
Call the accepts() method before asking for a writer to determine if the current object is
supported.
|
static ArcSDEConnectionConfig |
sdeURLToConnectionConfig(StringBuffer sdeUrl) |
accepts, equals, getDefaultCRS, getReadParameters, getWriteParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReadParameters, getWriteParameters
protected static final Logger LOGGER
public static ArcSDERasterFormat getInstance()
public AbstractGridCoverage2DReader getReader(Object source)
AbstractGridFormat
GridCoverageReader
for this format able to create coverages out of the
source
object.
In case this Format
cannot reader the provided source
object
null
is returned.
getReader
in class AbstractGridFormat
source
- either a String
or File
instance representing the connection
URLFormat
or null.AbstractGridFormat.getReader(Object source)
public AbstractGridCoverage2DReader getReader(Object source, Hints hints)
AbstractGridFormat
GridCoverageReader
for this format able to create coverages out of the
source
object using the provided hints
.
In case this Format
cannot reader the provided source
object
null
is returned.
getReader
in class AbstractGridFormat
source
- either a String
or File
instance representing the connection
URLhints
- The Hints
to use when trying to instantiate this reader.Format
or null.AbstractGridFormat.getReader(Object, Hints)
public GridCoverageWriter getWriter(Object destination)
AbstractGridFormat
GridCoverageWriter
suitable for writing to the provided destination
with this format.
In case no writers are available null
is returned.
getWriter
in class AbstractGridFormat
destination
- The destinatin where to write.GridCoverageWriter
suitable for writing to the provided destination
with this format.AbstractGridFormat.getWriter(Object)
public boolean accepts(Object input, Hints hints)
AbstractGridFormat
Format
can read the provided input
.accepts
in class AbstractGridFormat
source
- either a String
or File
instance representing the connection
URLAbstractGridFormat.accepts(Object input)
public String getName()
Format
getName
in interface Format
getName
in class AbstractGridFormat
Format.getName()
public String getDescription()
Format
null
.getDescription
in interface Format
getDescription
in class AbstractGridFormat
Format.getDescription()
public String getVendor()
Format
getVendor
in interface Format
getVendor
in class AbstractGridFormat
Format.getVendor()
public String getDocURL()
Format
getDocURL
in interface Format
getDocURL
in class AbstractGridFormat
Format.getDocURL()
public String getVersion()
Format
getVersion
in interface Format
getVersion
in class AbstractGridFormat
Format.getVersion()
public GeoToolsWriteParams getDefaultImageIOWriteParameters()
ArcSDERasterFormat
of the GeoToolsWriteParams
to control the writing process.getDefaultImageIOWriteParameters
in class AbstractGridFormat
ArcSDERasterFormat
of the GeoToolsWriteParams
to control the writing process.AbstractGridFormat.getDefaultImageIOWriteParameters()
public static String createRasterURL(ArcSDEConnectionConfig config, String rasterName)
public static ArcSDEConnectionConfig sdeURLToConnectionConfig(StringBuffer sdeUrl)
sdeUrl
- - A StringBuffer containing a string of form
'sde://user:pass@sdehost:[port]/[dbname]public GridCoverageWriter getWriter(Object destination, Hints hints)
AbstractGridFormat
getWriter
in class AbstractGridFormat
destination
- the destination object to write a WorldImage tohints
- Hints
to control the internal machinery.Copyright © 1996–2019 Geotools. All rights reserved.