Class DFSPath

java.lang.Object
com.hierynomus.msdfsc.DFSPath

public class DFSPath extends Object
  • Field Details

    • pathComponents

      private final List<String> pathComponents
  • Constructor Details

    • DFSPath

      public DFSPath(String uncPath)
    • DFSPath

      public DFSPath(List<String> pathComponents)
  • Method Details

    • getPathComponents

      public List<String> getPathComponents()
    • replacePrefix

      public DFSPath replacePrefix(String prefixToReplace, String target)
    • replacePrefix

      public DFSPath replacePrefix(String prefixToReplace, DFSPath target)
    • replacePrefix

      private DFSPath replacePrefix(String prefixToReplace, List<String> targetComponents)
    • hasOnlyOnePathComponent

      public boolean hasOnlyOnePathComponent()
    • isSysVolOrNetLogon

      public boolean isSysVolOrNetLogon()
    • isIpc

      public boolean isIpc()
    • from

      static DFSPath from(SmbPath path)
    • splitPath

      private static List<String> splitPath(String pathPart)
    • toPath

      public String toPath()
    • toString

      public String toString()
      Overrides:
      toString in class Object