Revision 19419 branches/v10/extensions/extPublish/src/org/gvsig/publish/infoproject/datasources/IFileInfo.java

View differences:

IFileInfo.java
40 40
 */
41 41
package org.gvsig.publish.infoproject.datasources;
42 42

  
43
import java.io.File;
44

  
45
/**
46
 * TODO: maybe this interface is unnecessary and the Idatasourceinfo is the 
47
 * responsible to have a method like getFile():File (it can be null if its a db 
48
 * connection)   
49
 * 
50
 * @author jvhigon
51
 *
52
 */
43 53
public interface IFileInfo {
44
	
54
	/**
55
	 * 
56
	 * @return
57
	 */
45 58
	public abstract String getFileName();	
46 59
	public abstract String getAbsolutePath();
47 60
	public abstract String getExtension();
61
	public abstract File getFile();
62
	public abstract String getFilenameWithoutExtension();
48 63

  
49 64
}

Also available in: Unified diff