- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getNameWithoutExtension (0.76 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("", MoreFiles.getNameWithoutExtension(root())); assertEquals("", MoreFiles.getNameWithoutExtension(FS.getPath("."))); assertEquals(".", MoreFiles.getNameWithoutExtension(FS.getPath(".."))); assertEquals("..", MoreFiles.getNameWithoutExtension(FS.getPath("..."))); assertEquals("blah", MoreFiles.getNameWithoutExtension(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/MoreFilesTest.java
assertEquals("", MoreFiles.getNameWithoutExtension(root())); assertEquals("", MoreFiles.getNameWithoutExtension(FS.getPath("."))); assertEquals(".", MoreFiles.getNameWithoutExtension(FS.getPath(".."))); assertEquals("..", MoreFiles.getNameWithoutExtension(FS.getPath("..."))); assertEquals("blah", MoreFiles.getNameWithoutExtension(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) -
android/guava/src/com/google/common/io/MoreFiles.java
* href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is * similar to the {@code basename} unix command. The result does not include the '{@code .}'. */ public static String getNameWithoutExtension(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
* href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is * similar to the {@code basename} unix command. The result does not include the '{@code .}'. */ public static String getNameWithoutExtension(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)