Class FilesPath

java.lang.Object
org.apache.camel.component.file.azure.FilesPath

public final class FilesPath extends Object
The path separator is /.

The absolute paths start with the path separator, they do not include the share name and they are relative to the share root rather than to the endpoint starting directory.

  • Field Details

  • Method Details

    • isEmpty

      public static boolean isEmpty(String path)
    • isEmptyStep

      public static boolean isEmptyStep(String path)
    • isRoot

      public static boolean isRoot(String path)
    • isAbsolute

      public static boolean isAbsolute(String path)
    • ensureRelative

      public static String ensureRelative(String path)
    • concat

      public static String concat(String dir, String subPath)
    • trimTrailingSeparator

      public static String trimTrailingSeparator(String path)
    • hasTrailingSeparator

      public static boolean hasTrailingSeparator(String path)
    • trimParentPath

      public static String trimParentPath(String path)
    • extractParentPath

      public static String extractParentPath(String path)
    • split

      public static String[] split(String path)
    • splitToSteps

      public static String[] splitToSteps(String path, boolean preserveRootAsStep)
    • trimLeadingSeparator

      public static String trimLeadingSeparator(String path)