예제 #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);
 }