Revision 1001 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
74 74
	public Buffer createReadOnlyBuffer(String file);
75 75
	
76 76
	/**
77
	 * Genera una instancia del buffer de solo lectura. Este buffer consta de una cache y unos apuntadores
78
	 * a las p?ginas en disco. Cuando se accede a los datos se carga en memoria la p?gina pedida.
79
	 *  
77
	 * Creates an instance of a memory buffer
78
	 * 
80 79
	 * @param dataType Tipo de dato
81 80
	 * @param width Ancho
82 81
	 * @param height Alto
......
88 87
	public Buffer createMemoryBuffer(int dataType, int width, int height, int bandNr, boolean malloc);
89 88
	
90 89
	/**
90
	 * Creates an instance of a memory buffer
91
	 * 
92
	 * @param params
93
	 *        Parameters to instantiate this buffer
94
	 */
95
	public Buffer createMemoryBuffer(BufferParam params);
96
	
97
	/**
91 98
	 * Creates a new instance of an interpolation object.
92 99
	 * @param buf IRasterBuffer
93 100
	 * @return IBufferInterpolation
......
123 130
	
124 131
	/**
125 132
	 * Creates a parameter object for building a buffer. For this call the buffer type 
133
	 * is read-only and the source will be a multifile. 
134
	 * @param files
135
	 *        File list in disk
136
	 * @param x
137
	 *        initial pixel
138
	 * @param y
139
	 *        initial pixel
140
	 * @param w
141
	 *        Width in pixels
142
	 * @param h
143
	 *        Height in pixels
144
	 * @param bands
145
	 *        bands to render
146
	 * @return {@link BufferParam}
147
	 * @throws IOException 
148
	 */
149
	public BufferParam createBufferParams(String[] files, int x, int y, int w, int h, int[] bands) throws IOException;
150
	
151
	/**
152
	 * Creates a parameter object for building a buffer. For this call the buffer type 
126 153
	 * is read-only. 
127 154
	 * @param file
128 155
	 *        File in disk

Also available in: Unified diff