Revision 5525 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.api/src/main/java/org/gvsig/raster/lib/buffer/api/BufferManager.java

View differences:

BufferManager.java
24 24

  
25 25
import java.awt.image.DataBuffer;
26 26
import java.io.File;
27
import java.util.List;
27 28

  
28 29
import org.cresques.cts.IProjection;
29 30
import org.gvsig.fmap.geom.primitive.Envelope;
......
163 164
     *            Projection of buffer.
164 165
     * @param envelope
165 166
     *            Envelope of data. It can be <code>null</code>.
166
     * @param pageManager
167
     *            Page manager to paginate band data. If page manager is null,
168
     *            all band data will be loaded at memory.
167
     * @param pageManagers
168
     *            Page manager list to paginate data bands. If there are bands
169
     *            without page manager,
170
     *            they will be loaded at memory.
169 171
     * @return Buffer
170 172
     * @throws BufferException
171 173
     *             If there is any problem creating buffer.
172 174
     */
173 175
    public Buffer createBuffer(int rows, int columns, int[] bandDataTypes, NoData[] bandNodata,
174
        IProjection projection, Envelope envelope, PageManager pageManager)
176
        IProjection projection, Envelope envelope, List<PageManager> pageManagers)
175 177
        throws BufferException;
176 178

  
177 179
    /**
......
181 183
     * @param dataType
182 184
     * @return BandPageManager
183 185
     */
184
    public PageManager createSimpleBandPageManager(File file, int rows, int columns,
185
        int dataType);
186
    public PageManager createSimpleBandPageManager(File file, int rows, int columns, int dataType);
187
    
188
    /**
189
     * 
190
     * @param file
191
     * @param rows
192
     * @param columns
193
     * @param dataType
194
     * @return
195
     */
196
    public List<PageManager> createSimpleBandPageManagerList(File file, int rows, int columns,
197
        int[] dataType);
186 198

  
187 199
    /**
188
     * @param dataType Data tpye
200
     * @param dataType
201
     *            Data tpye
189 202
     * @return Data type size in bytes
190 203
     */
191 204
    public int getDataTypeSize(int dataType);

Also available in: Unified diff