示例#1
0
 public RemoteSiteFile getRemoteParent() {
   ProtocolFile parent = super.getParent();
   return new RemoteSiteFile(parent.getPath(), parent.isDir(), this.site);
 }
示例#2
0
 @Override
 public RemoteSiteFile getAbsoluteFile() {
   ProtocolFile parent = super.getAbsoluteFile();
   return new RemoteSiteFile(parent.getPath(), parent.isDir(), this.site);
 }
示例#3
0
 public RemoteSiteFile(ProtocolFile file, RemoteSite site) {
   this(file.getPath(), file.isDir(), site);
 }