public RemoteSiteFile getRemoteParent() { ProtocolFile parent = super.getParent(); return new RemoteSiteFile(parent.getPath(), parent.isDir(), this.site); }
@Override public RemoteSiteFile getAbsoluteFile() { ProtocolFile parent = super.getAbsoluteFile(); return new RemoteSiteFile(parent.getPath(), parent.isDir(), this.site); }
public RemoteSiteFile(ProtocolFile file, RemoteSite site) { this(file.getPath(), file.isDir(), site); }