Class SmbFileRef

java.lang.Object
org.frankframework.filesystem.smb.SmbFileRef

public class SmbFileRef extends Object
  • Constructor Details

    • SmbFileRef

      public SmbFileRef(@Nonnull String path)
      Create a new file reference, strips the folder of the filename when present
    • SmbFileRef

      public SmbFileRef(@Nonnull String name, @Nullable String folder)
      Parameters:
      name - A canonical name might be provided, strip the path when present and only use the actual file name.
      folder - The directory the file. This always has precedence over the canonical path provided by the name.
  • Method Details

    • getName

      public String getName()
      Returns the canonical name inclusive file path when present
    • toString

      public String toString()
      Overrides:
      toString in class Object