Revision 999 org.gvsig.raster.cache/trunk/org.gvsig.raster.cache/org.gvsig.raster.cache.lib.api/src/main/java/org/gvsig/raster/cache/buffer/BufferCacheManager.java

View differences:

BufferCacheManager.java
21 21
 */
22 22
package org.gvsig.raster.cache.buffer;
23 23

  
24
import java.io.IOException;
25

  
24 26
import org.gvsig.raster.cache.buffer.histogram.BufferHistogram;
25 27

  
26 28

  
......
120 122
	public BufferParam createBufferParams(int w, int h, int bandCount, int dataType);
121 123
	
122 124
	/**
125
	 * Creates a parameter object for building a buffer. For this call the buffer type 
126
	 * is read-only. 
127
	 * @param file
128
	 *        File in disk
129
	 * @param x
130
	 *        initial pixel
131
	 * @param y
132
	 *        initial pixel
133
	 * @param w
134
	 *        Width in pixels
135
	 * @param h
136
	 *        Height in pixels
137
	 * @param bands
138
	 *        bands to render
139
	 * @return {@link BufferParam}
140
	 * @throws IOException 
141
	 */
142
	public BufferParam createBufferParams(String file, int x, int y, int w, int h, int[] bands) throws IOException;
143
	
144
	/**
145
	 * Creates a parameter object for building a buffer. For this call the buffer type 
146
	 * is read-only. 
147
	 * @param file
148
	 *        File in disk
149
	 * @param x
150
	 *        initial pixel
151
	 * @param y
152
	 *        initial pixel
153
	 * @param w
154
	 *        Width in pixels
155
	 * @param h
156
	 *        Height in pixels
157
	 * @param bands
158
	 *        bands to render
159
	 * @return {@link BufferParam}
160
	 * @throws IOException 
161
	 */
162
	public BufferParam createBufferParams(String file, int x, int y, int w, int h) throws IOException;
163
	
164
	/**
123 165
	 * Builds a new NoData object
124 166
	 * @param noData
125 167
	 *        value to assign to all bands

Also available in: Unified diff