com.scudata.dm.NonLocalFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
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