Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for setProperties (0.07 sec)

  1. src/main/java/jcifs/smb1/Config.java

        /**
         * Set the properties to be used for configuration.
         *
         * @param prp the properties to set
         */
        public static void setProperties(final Properties prp) {
            Config.prp = new Properties(prp);
            try {
                Config.prp.putAll(System.getProperties());
            } catch (final SecurityException se) {
                if (LogStream.level > 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            originalSystemProperties = (Properties) System.getProperties().clone();
            // Reset static state of the Handler class before each test for isolation
            resetHandlerState();
            handler = new Handler(mockCifsContext);
        }
    
        @AfterEach
        void tearDown() throws Exception {
            // Restore system properties and clean up static state
            System.setProperties(originalSystemProperties);
            resetHandlerState();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            return getProperties().elements();
        }
    
        @Override
        public Set<java.util.Map.Entry<Object, Object>> entrySet() {
            return getProperties().entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return getProperties().equals(o);
        }
    
        @Override
        public Object get(final Object key) {
            return getProperties().get(key);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/ExecJob.java

         *
         * @param cmdList the command list to add properties to
         */
        protected void addFessConfigProperties(final List<String> cmdList) {
            System.getProperties()
                    .keySet()
                    .stream()
                    .filter(k -> k != null && k.toString().startsWith(Constants.FESS_CONFIG_PREFIX))
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         *
         * @param annotation the annotation (must not be {@literal null})
         * @return a {@link Map} of annotation element names and values
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

        Map<String, String> getUserProperties();
    
        /**
         * Returns immutable system properties to use for interpolation. The system properties are collected from the
         * runtime environment such as {@link System#getProperties()} and environment variables
         * (prefixed with {@code env.}).
         *
         * @return the system properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            if (logger.isDebugEnabled()) {
                try {
                    ManagementFactory.getRuntimeMXBean().getInputArguments().stream().forEach(s -> logger.debug("Parameter: {}", s));
                    System.getProperties().entrySet().stream().forEach(e -> logger.debug("Property: {}={}", e.getKey(), e.getValue()));
                    System.getenv().entrySet().forEach(e -> logger.debug("Env: {}={}", e.getKey(), e.getValue()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                    new BaseContext(new PropertyConfiguration(System.getProperties())), "domain", "user", "password");
            when(mockCifsContext.getCredentials()).thenReturn(creds);
            when(mockCifsContext.getConfig()).thenReturn(new PropertyConfiguration(System.getProperties()));
            when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

         */
        public static List<Map<String, String>> getPropItems() {
            final List<Map<String, String>> itemList = new ArrayList<>();
            for (final Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
                itemList.add(createItem(entry.getKey(), entry.getValue()));
            }
            return itemList;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

        @Override
        public void init(final ServletConfig config) throws ServletException {
            super.init(config);
    
            final Properties p = new Properties();
            p.putAll(System.getProperties());
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
Back to top