- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getFileExtension (0.15 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("", MoreFiles.getFileExtension(root())); assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("..."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah"))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah.")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertEquals("", Files.getFileExtension(".")); assertEquals("", Files.getFileExtension("..")); assertEquals("", Files.getFileExtension("...")); assertEquals("", Files.getFileExtension("blah")); assertEquals("", Files.getFileExtension("blah.")); assertEquals("", Files.getFileExtension(".blah.")); assertEquals("", Files.getFileExtension("/foo.bar/blah")); assertEquals("", Files.getFileExtension("/foo/.bar/blah")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("", MoreFiles.getFileExtension(root())); assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("..."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah"))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah.")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
assertEquals("", Files.getFileExtension(".")); assertEquals("", Files.getFileExtension("..")); assertEquals("", Files.getFileExtension("...")); assertEquals("", Files.getFileExtension("blah")); assertEquals("", Files.getFileExtension("blah.")); assertEquals("", Files.getFileExtension(".blah.")); assertEquals("", Files.getFileExtension("/foo.bar/blah")); assertEquals("", Files.getFileExtension("/foo/.bar/blah")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
* The checksum extension SHOULD NOT contain dot (".") character. * Example: "sha1". */ @Nonnull String getFileExtension(); /** * Each invocation of this method returns a new instance of calculator, never {@code null} value. */ @Nonnull ChecksumCalculator getCalculator(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* href="https://learn.microsoft.com/en-us/archive/blogs/askcore/alternate-data-streams-in-ntfs">Alternate * Data Streams</a>. * * @since 11.0 */ public static String getFileExtension(String fullName) { checkNotNull(fullName); String fileName = new File(fullName).getName(); int dotIndex = fileName.lastIndexOf('.'); return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* href="https://learn.microsoft.com/en-us/archive/blogs/askcore/alternate-data-streams-in-ntfs">Alternate * Data Streams</a>. * * @since 11.0 */ public static String getFileExtension(String fullName) { checkNotNull(fullName); String fileName = new File(fullName).getName(); int dotIndex = fileName.lastIndexOf('.'); return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* filesystem due to NTFS's <a * href="https://learn.microsoft.com/en-us/archive/blogs/askcore/alternate-data-streams-in-ntfs">Alternate * Data Streams</a>. */ public static String getFileExtension(Path path) { Path name = path.getFileName(); // null for empty paths and root-only paths if (name == null) { return ""; } String fileName = name.toString();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 35K bytes - Viewed (0) -
guava/src/com/google/common/io/MoreFiles.java
* filesystem due to NTFS's <a * href="https://learn.microsoft.com/en-us/archive/blogs/askcore/alternate-data-streams-in-ntfs">Alternate * Data Streams</a>. */ public static String getFileExtension(Path path) { Path name = path.getFileName(); // null for empty paths and root-only paths if (name == null) { return ""; } String fileName = name.toString();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 34.5K bytes - Viewed (0)