|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.factory.AbstractFactory
org.geotools.image.io.mosaic.TileManagerFactory
public class TileManagerFactory
Creates TileManager
instances from a collection of tiles.
Field Summary | |
---|---|
static TileManagerFactory |
DEFAULT
The default instance. |
Fields inherited from class org.geotools.factory.AbstractFactory |
---|
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority |
Constructor Summary | |
---|---|
protected |
TileManagerFactory(Hints hints)
Creates a new factory from the specified hints. |
Method Summary | |
---|---|
TileManager[] |
create(java.util.Collection<Tile> tiles)
Creates tile managers from the specified collection of tiles. |
TileManager[] |
create(Tile[] tiles)
Creates tile managers from the specified array of tiles. |
TileManager[] |
createFromObject(java.lang.Object tiles)
Creates tile managers from the specified object, which may be null . |
protected TileManager |
createGeneric(Tile[] tiles)
Creates a single tile manager from the given array of tiles. |
Methods inherited from class org.geotools.factory.AbstractFactory |
---|
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TileManagerFactory DEFAULT
Constructor Detail |
---|
protected TileManagerFactory(Hints hints)
hints
- Optional hints, or null
if none.Method Detail |
---|
public TileManager[] createFromObject(java.lang.Object tiles) throws java.io.IOException, java.lang.IllegalArgumentException
null
. If non-null, the
object shall be an instance of TileManager[]
, TileManager
, Tile[]
or
Collection<Tile>
.
tiles
- The tiles, or null
.
null
if tiles
was null.
java.lang.IllegalArgumentException
- if tiles
is not an instance of a valid class,
or if it is an array or a collection containing null elements.
java.io.IOException
- If an I/O operation was required and failed.public TileManager[] create(Tile[] tiles) throws java.io.IOException
tiles
- The tiles to give to a tile manager.
java.io.IOException
- If an I/O operation was required and failed.public TileManager[] create(java.util.Collection<Tile> tiles) throws java.io.IOException
tiles
- The tiles to give to a tile manager.
java.io.IOException
- If an I/O operation was required and failed.protected TileManager createGeneric(Tile[] tiles) throws java.io.IOException
create
methods.
The tile array has already been cloned and can be stored directly by the
tile manager constructors.
Subclasses can override this method if they want to create other kinds of tile managers.
tiles
- A copy of user-supplied tiles.
java.io.IOException
- If an I/O operation was required and failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |