Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for removeExtension (0.08 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtensions.java

            return this.modelEncoding;
        } // -- String getModelEncoding()
    
        /**
         * Method removeExtension.
         *
         * @param coreExtension a coreExtension object.
         */
        public void removeExtension(CoreExtension coreExtension) {
            getExtensions().remove(coreExtension);
        } // -- void removeExtension( CoreExtension )
    
        /**
         * Set a set of build extensions to use from this project.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

         * Removes the extension from the path.
         *
         * @param path
         *            The path. Must not be {@literal null}.
         * @return The path without the extension.
         */
        public static String removeExtension(final String path) {
            assertArgumentNotNull("path", path);
    
            final int extPos = path.lastIndexOf(".");
            if (extPos >= 0) {
                return path.substring(0, extPos);
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testRemoteExtension() throws Exception {
            assertEquals("1", "aaa/bbb", ResourceUtil.removeExtension("aaa/bbb.xml"));
            assertEquals("2", "aaa/bbb", ResourceUtil.removeExtension("aaa/bbb"));
        }
    
        /**
         * @throws Exception
         */
        public void testToExternalForm() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top