Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for InputSource (0.33 sec)

  1. api/maven-api-settings/src/main/java/org/apache/maven/api/settings/InputSource.java

     * under the License.
     */
    package org.apache.maven.api.settings;
    
    import java.io.Serializable;
    
    /**
     * Class InputSource.
     */
    public class InputSource implements Serializable {
    
        private final String location;
    
        public InputSource(String location) {
            this.location = location;
        }
    
        /**
         * Get the path/URL of the settings definition or {@code null} if unknown.
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 10:39:14 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

        public String toString() {
            if (inputs != null) {
                return inputs.stream().map(InputSource::toString).collect(Collectors.joining(", ", "merged[", "]"));
            }
            return getModelId() + " " + getLocation();
        }
    
        public static InputSource merge(InputSource src1, InputSource src2) {
            return new InputSource(Stream.concat(src1.sources(), src2.sources()).collect(Collectors.toSet()));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

                        included = true;
                    }
                }
    
                @Override
                public InputSource resolveEntity(final String publicId, final String systemId) throws IOException, SAXException {
                    final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/included.xml"));
                    is.setSystemId("included.xml");
                    return is;
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        }
    
        private void parseLifecyclePhaseDefinitions(Map<String, Plugin> plugins, String phase, LifecyclePhase goals) {
            InputSource inputSource =
                    new InputSource(DefaultLifecyclePluginAnalyzer.DEFAULTLIFECYCLEBINDINGS_MODELID, null);
            InputLocation location = new InputLocation(-1, -1, inputSource, 0);
    
            List<LifecycleMojo> mojos = goals.getMojos();
            if (mojos != null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         *            使用する{@link SAXParser}。{@literal null}であってはいけません
         * @param inputSource
         *            構文解析されるコンテンツを含む{@link InputSource}。{@literal null}であってはいけません
         * @param handler
         *            使用するSAX {@link DefaultHandler}。{@literal null}であってはいけません
         */
        public static void parse(final SAXParser parser, final InputSource inputSource, final DefaultHandler handler) {
            assertArgumentNotNull("parser", parser);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. api/maven-api-settings/src/main/java/org/apache/maven/api/settings/InputLocation.java

     */
    public class InputLocation implements Serializable, InputLocationTracker {
        private final int lineNumber;
        private final int columnNumber;
        private final InputSource source;
        private final Map<Object, InputLocation> locations;
    
        public InputLocation(InputSource source) {
            this.lineNumber = -1;
            this.columnNumber = -1;
            this.source = source;
            this.locations = Collections.singletonMap(0, this);
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 10:39:14 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

                throw new IllegalArgumentException("reader or inputStream must be non null");
            }
            try {
                InputSource source = null;
                if (request.getModelId() != null || request.getLocation() != null) {
                    source = new InputSource(request.getLocation());
                }
                SettingsStaxReader xml = new SettingsStaxReader();
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

     */
    public class InputLocation implements Serializable, InputLocationTracker {
        private final int lineNumber;
        private final int columnNumber;
        private final InputSource source;
        private final Map<Object, InputLocation> locations;
    
        public InputLocation(InputSource source) {
            this.lineNumber = -1;
            this.columnNumber = -1;
            this.source = source;
            this.locations = Collections.singletonMap(0, this);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  9. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

     * under the License.
     */
    package org.apache.maven.settings;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.api.settings.InputSource;
    import org.apache.maven.settings.v4.SettingsStaxReader;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

                throw new IllegalArgumentException("reader or inputStream must be non null");
            }
            try {
                InputSource source = null;
                if (request.getModelId() != null || request.getLocation() != null) {
                    source = new InputSource(request.getLocation());
                }
                SettingsStaxReader xml = new SettingsStaxReader();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top