Пример #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);
 }