- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getPathSegments (0.35 sec)
-
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/DefaultZipEntryContext.java
ZipEntryRelativePath(ZipEntry zipEntry) { this.zipEntry = zipEntry; } @Override public String[] get() { return FilePathUtil.getPathSegments(zipEntry.getName()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FilePathUtil.java
private static final String FILE_PATH_SEPARATORS = File.separatorChar != '/' ? ("/" + File.separator) : File.separator; private FilePathUtil() { } public static String[] getPathSegments(String path) { StringTokenizer tokenizer = new StringTokenizer(path, FILE_PATH_SEPARATORS); List<String> segments = new ArrayList<String>(); while (tokenizer.hasMoreElements()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/RelativePath.java
return parse(isFile, null, path); } public static RelativePath parse(boolean isFile, @Nullable RelativePath parent, String path) { String[] names = FilePathUtil.getPathSegments(path); return new RelativePath(isFile, parent, names); } /** * <p>Returns a copy of this path, with the last name replaced with the given name.</p> * * @param name The name.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 05:20:08 UTC 2023 - 9K bytes - Viewed (0)