Statistics
| Revision:

svn-gvsig-desktop / branches / Mobile_Compatible_Hito_1 / libFMap_mobile_shp_driver / src-comp / org / gvsig / datasources / common / IRandomAccessFile.java @ 21865

History | View | Annotate | Download (540 Bytes)

1
package org.gvsig.datasources.common;
2

    
3
import java.io.IOException;
4

    
5
/**
6
 * This class permits the use of different types of the class RandomAccessFile,
7
 * which is different for JSE and JME.
8
 *  
9
 * @author jldominguez
10
 *
11
 */
12
public interface IRandomAccessFile {
13

    
14
        /**
15
         * Gets the file channel, implemented according to the java capabilities (JME/JSE)
16
         * @return the implementation of IRandomFileChannel  
17
         */
18
        IRandomFileChannel getChannel();
19

    
20
        /**
21
         * Closes the file
22
         * @throws IOException
23
         */
24
        void close() throws IOException ;
25

    
26
}