Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAsString (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        }
    
        private List<String> parsePluginExcludes(RepositorySystemSession session) {
            String excludes = ConfigUtils.getString(session, null, MAVEN_PLUGIN_VALIDATION_EXCLUDES_KEY);
            if (excludes == null || excludes.isEmpty()) {
                return Collections.emptyList();
            }
            return Arrays.stream(excludes.split(","))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                    }
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                String userAgent = ConfigUtils.getString(
                        legacySupport.getRepositorySession(), null, ConfigurationProperties.USER_AGENT);
    
                if (userAgent == null) {
                    Properties headers = new Properties();
    
                    headers.put(
                            "User-Agent",
                            ConfigUtils.getString(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        default Optional<String> getString(@Nonnull URI relativeSource) {
            return getString(relativeSource, StandardCharsets.UTF_8);
        }
    
        /**
         * PUTs the source file (must exist as file) to target URI. The target MUST BE relative from the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                    }
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top