Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StringSource (0.14 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!StringSource.class.equals(obj.getClass())) {
                return false;
            }
    
            StringSource other = (StringSource) obj;
            return this.content.equals(other.content);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

        void testGetInputStream() throws Exception {
            StringSource source = new StringSource("Hello World!");
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
            StringSource source = new StringSource("Hello World!");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.building.StringSource;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a model source.
     *
     *
     * @deprecated instead use {@link StringSource}
     */
    @Deprecated
    public class StringModelSource extends StringSource implements ModelSource {
    
        /**
         * Creates a new model source backed by the specified string.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import org.apache.maven.building.StringSource;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a settings source.
     *
     *
     * @deprecated instead use {@link StringSource}
     */
    @Deprecated
    public class StringSettingsSource extends StringSource implements SettingsSource {
    
        /**
         * Creates a new settings source backed by the specified string.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top