Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for props (0.23 sec)

  1. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         * </p>
         *
         * @param props
         *            プロパティセット。{@literal null}であってはいけません
         * @param in
         *            入力ストリーム。{@literal null}であってはいけません
         */
        public static void load(final Properties props, final InputStream in) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("in", in);
    
            try {
                props.load(in);
            } catch (final IOException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelVersionProcessor.java

            Map<String, String> props = request.getUserProperties();
            if (props.containsKey(REVISION_PROPERTY)) {
                modelProperties.put(REVISION_PROPERTY, props.get(REVISION_PROPERTY));
            }
            if (props.containsKey(CHANGELIST_PROPERTY)) {
                modelProperties.put(CHANGELIST_PROPERTY, props.get(CHANGELIST_PROPERTY));
            }
            if (props.containsKey(SHA1_PROPERTY)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

                Artifact artifact = result.getArtifact();
                Map<String, String> props = new HashMap<>(artifact.getProperties());
                props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl);
                result.setArtifact(artifact.setProperties(props));
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

         * variable lookup.
         *
         * @param props The properties to add the environment variables to, may be {@code null}.
         */
        public static void addEnvVars(Properties props) {
            if (props != null) {
                if (envVars == null) {
                    Properties tmp = new Properties();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                }
    
                props.put(propName, propertyDoc);
            }
    
            for (PropertyDoc propertyDoc : props.values()) {
                classDoc.addClassProperty(propertyDoc);
            }
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            osActivation.setOs( activationOS );
    
            osActivated.setActivation( osActivation );
    
            Properties props = System.getProperties();
            ProfileActivationContext ctx = new ProfileActivationContext( props, false );
    
            ProfileManager profileManager = new DefaultProfileManager( getContainer(), props );
    
            profileManager.addProfile( osActivated );
    
            List active = profileManager.getActiveProfiles( null );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                    request.setRemoteRepositories(req.getRemoteRepositories());
                }
            } else {
                Properties props = new Properties();
                EnvironmentUtils.addEnvVars(props);
                props.putAll(System.getProperties());
                request.setSystemProperties(props);
            }
    
            return request;
        }
    
        @SuppressWarnings("unchecked")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

            Map<String, String> props = new HashMap<>();
            if (recessive != null) {
                props.putAll(recessive);
            }
            if (dominant != null) {
                props.putAll(dominant);
            }
            return props;
        }
    
        private Artifact getRelocation(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Config.java

         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Integer.parseInt(s);
                }
                catch ( NumberFormatException nfe ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
Back to top