Package org.apache.sis.storage

Data store base types for retrieving and saving geospatial data in various storage formats.

See: Description

Package org.apache.sis.storage Description

Data store base types for retrieving and saving geospatial data in various storage formats.

Different DataStore implementations will want different kind of input/output objects. Some examples are String, Path, File, URI, URL, InputStream, ImageInputStream, ReadableChannel, JDBC Connection or DataSource, or even datastore-specific objects like NetcdfFile. Because of this variety, SIS does not know which kind of object to accept before the appropriate DataStore instance has been found. For this reason, storages are represented by arbitrary Object encapsulated in StorageConnector. The later can open the object in various ways, for example as DataInput or as ByteBuffer, depending on DataStore needs. Future versions may contain additional information like login/password.

StorageConnector is used only for the "discovery" phase, and discarded once the actual DataStore instance has been created.

Since:
0.3 (derived from geotk-3.10)

Defined in the sis-storage module

Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.