Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFileExtension (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top