Revision 6302 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.fmap.dal.raster/org.gvsig.fmap.dal.raster.api/src/main/java/org/gvsig/fmap/dal/raster/api/RasterStore.java

View differences:

RasterStore.java
26 26
import org.gvsig.fmap.dal.DataStoreParameters;
27 27
import org.gvsig.fmap.dal.exception.DataException;
28 28
import org.gvsig.fmap.geom.primitive.Envelope;
29
import org.gvsig.raster.lib.buffer.api.BandInfo;
29 30
import org.gvsig.tools.lang.Cloneable;
30 31

  
31 32
/**
......
79 80
     * @return RasterQuery
80 81
     */
81 82
    RasterQuery createRasterQuery();
82

  
83
    
83 84
    /**
84 85
     * Returns the envelope associated to this store buffer
85 86
     * @return Envelope
86 87
     * @throws DataException
87 88
     */
88 89
    Envelope getEnvelope() throws DataException;
90
    
91
    /**
92
     * Creates a {@link BandQuery} from band received as parameter.
93
     * 
94
     * @param band
95
     *            Band to create BandQuery
96
     * @return BandQuery
97
     */
98
    public BandQuery createBandQuery(int band);
99
    
100
    /**
101
     * Gets information about the specified band. If band does not have
102
     * information, it will return <code>null</code>
103
     * 
104
     * @param band
105
     *            The specified band
106
     * @return Returns information about specified band.
107
     */
108
    public BandInfo getBandInfo(int band);
89 109

  
110
    /**
111
     * Gets {@link BandDescriptor} of band received as parameter. If band does
112
     * not have {@link BandAttributeDescriptor}, this method will return an
113
     * empty {@link BandDescriptor}.
114
     * 
115
     * @param band
116
     *            Band to get its {@link BandDescriptor}
117
     * @return BandDescriptor
118
     */
119
    public BandDescriptor getBandDescriptor(int band);
120

  
121
    /**
122
     * Gets number of total bands
123
     * 
124
     * @return Number of bands
125
     */
126
    public int getBands();
127

  
90 128
}

Also available in: Unified diff