All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.dm.NonLocalFile Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

The newest version!
package com.scudata.dm;

import java.io.File;

/**
 * ?DZ???File??????࣬??Զ???ļ?ӳ??Ϊ????File??
 * @author LW
 *
 */
public class NonLocalFile extends File {
	private static final long serialVersionUID = 1L;

	private FileObject fo;
	
	public NonLocalFile(String pathname, FileObject fo) {
		super(pathname);
		this.fo = fo;
	}

	public String getAbsolutePath() {
        return fo.getFileName();
    }
	
	public String getName() {
		return fo.getFileName();
	}
	
	public boolean exists() {
		return fo.isExists();
	}
	
	public boolean delete() {
		return fo.delete();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy