Tabnine Logo
SFTPEngine.canonicalize
Code IndexAdd Tabnine to your IDE (free)

How to use
canonicalize
method
in
net.schmizz.sshj.sftp.SFTPEngine

Best Java code snippets using net.schmizz.sshj.sftp.SFTPEngine.canonicalize (Showing top 10 results out of 315)

origin: hierynomus/sshj

  @Override
  public String canonicalize(String path)
      throws IOException {
    return SFTPEngine.this.canonicalize(path);
  }
}, pathSep);
origin: hierynomus/sshj

public String canonicalize(String path)
    throws IOException {
  return engine.canonicalize(path);
}
origin: hierynomus/sshj

public StatefulSFTPClient(SFTPEngine engine)
    throws IOException {
  super(engine);
  this.cwd = getSFTPEngine().canonicalize(".");
  log.debug("Start dir = {}", cwd);
}
origin: com.hierynomus/sshj

  @Override
  public String canonicalize(String path)
      throws IOException {
    return SFTPEngine.this.canonicalize(path);
  }
}, pathSep);
origin: net.schmizz/sshj

public String canonicalize(String path)
    throws IOException {
  return engine.canonicalize(path);
}
origin: net.schmizz/sshj

  @Override
  public String canonicalize(String path)
      throws IOException {
    return SFTPEngine.this.canonicalize(path);
  }
}, pathSep);
origin: com.hierynomus/sshj

public String canonicalize(String path)
    throws IOException {
  return engine.canonicalize(path);
}
origin: net.schmizz/sshj

public StatefulSFTPClient(SFTPEngine engine)
    throws IOException {
  super(engine);
  this.cwd = getSFTPEngine().canonicalize(".");
  log.debug("Start dir = {}", cwd);
}
origin: com.hierynomus/sshj

public StatefulSFTPClient(SFTPEngine engine)
    throws IOException {
  super(engine);
  this.cwd = getSFTPEngine().canonicalize(".");
  log.debug("Start dir = {}", cwd);
}
origin: iterate-ch/cyberduck

  @Override
  public Path find() throws BackgroundException {
    final Path home = super.find();
    if(home == DEFAULT_HOME) {
      try {
        // "." as referring to the current directory
        final String directory = session.sftp().canonicalize(".");
        return new Path(PathNormalizer.normalize(directory), directory.equals(String.valueOf(Path.DELIMITER)) ?
          EnumSet.of(Path.Type.volume, Path.Type.directory) : EnumSet.of(Path.Type.directory));
      }
      catch(IOException e) {
        throw new SFTPExceptionMappingService().map(e);
      }
    }
    return home;
  }
}
net.schmizz.sshj.sftpSFTPEnginecanonicalize

Popular methods of SFTPEngine

  • open
  • makeDir
  • stat
  • <init>
  • close
  • getOperativeProtocolVersion
  • getPathHelper
  • getSubsystem
  • init
  • lstat
  • openDir
  • readLink
  • openDir,
  • readLink,
  • remove,
  • removeDir,
  • rename,
  • request,
  • setAttributes,
  • symlink,
  • doRequest

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JOptionPane (javax.swing)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now