Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,651 for toString (0.03 sec)

  1. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime();
            case Boolean b -> b ? 1 : 0;
            default -> toInteger(o.toString());
            };
        }
    
        private static Integer toInteger(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Integer.valueOf(DecimalFormatUtil.normalize(s));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComSetInformation[" + super.toString() + ",filename=" + this.path + ",fileAttributes=" + this.fileAttributes
                    + ",lastWriteTime=" + this.lastWriteTime + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                  });
            }
    
            @Override
            protected void doStop() {
              triggerShutdown();
            }
    
            @Override
            public String toString() {
              return AbstractExecutionThreadService.this.toString();
            }
          };
    
      /** Constructor for use by subclasses. */
      protected AbstractExecutionThreadService() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/SingletonContextTest.java

            Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties");
            Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
            System.setProperty("jcifs.properties", jcifsPropertiesPath.toString());
    
            SingletonContext.init(null);
            CIFSContext context = SingletonContext.getInstance();
            assertNotNull(context);
            assertEquals("FileOS", context.getConfig().getNativeOs());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertNotNull(instance);
    
            // Write something to verify it uses our test stream
            instance.println("test message");
            instance.flush();
            String output = testOutput.toString();
            assertTrue(output.contains("test message"));
        }
    
        @Test
        void testSetInstanceMultipleTimes() {
            // Test setting instance multiple times
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

                case '"':
                    buf.append(""");
                    break;
                default:
                    buf.append(element);
                }
            }
            return buf.toString();
        }
    
        /**
         * Encodes the text.
         *
         * @param s
         *            The text.
         * @return The encoded text.
         */
        public static String encodeText(final String s) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testToString() {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            String result = trans2QueryPathInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("Trans2QueryPathInformation"));
            assertTrue(result.contains("informationLevel=0x"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                        || c >= 0x10000 && c <= 0x10FFFF) {
                    buf.append(c);
                }
            }
            return buf.toString().trim();
        }
    
        /**
         * Parses the XML content from the provided {@link AccessResultData} and returns a map of the data.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/BoostDocumentRuleDbm.java

                    (et, vl) -> ((BoostDocumentRule) et).setBoostExpr(DfTypeUtil.toString(vl)), "boostExpr");
            setupEpg(_epgMap, et -> ((BoostDocumentRule) et).getCreatedBy(),
                    (et, vl) -> ((BoostDocumentRule) et).setCreatedBy(DfTypeUtil.toString(vl)), "createdBy");
            setupEpg(_epgMap, et -> ((BoostDocumentRule) et).getCreatedTime(),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            }
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Test toString method";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
            String result = exception.toString();
            assertNotNull(result);
            assertTrue(result.contains(ResultOffsetExceededException.class.getName()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top