- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for PrintStream (0.04 sec)
-
src/test/java/jcifs/smb1/util/LogStreamTest.java
} @Test void testSetInstanceMultipleTimes() { // Test setting instance multiple times PrintStream stream1 = new PrintStream(new ByteArrayOutputStream()); PrintStream stream2 = new PrintStream(new ByteArrayOutputStream()); LogStream.setInstance(stream1); LogStream instance1 = LogStream.getInstance();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/LogStream.java
*/ package jcifs.smb1.util; import java.io.PrintStream; /** 0 - nothing 1 - critical [default] 2 - basic info can be logged under load 3 - almost everything N - debugging */ public class LogStream extends PrintStream { private static LogStream inst; /** * The current logging level. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
@Test @DisplayName("Should perform hexdump with correct formatting") void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos); // Test with 16 bytes (one complete line) byte[] data1 = createTestData(16); Hexdump.hexdump(ps, data1, 0, 16); String output1 = baos.toString();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
try { final PrintStream originalOutStream = System.out; final ByteArrayOutputStream outStream = new ByteArrayOutputStream(); System.setOut(new PrintStream(outStream, true)); final PrintStream originalErrStream = System.err; final ByteArrayOutputStream errStream = new ByteArrayOutputStream(); System.setErr(new PrintStream(errStream, true)); try {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
* Does not require a real SMB server - focuses on application logic. */ @ExtendWith(MockitoExtension.class) class TestLockingTest { private PrintStream originalOut; private PrintStream originalErr; private ByteArrayOutputStream outContent; private ByteArrayOutputStream errContent; @Mock private SmbFile mockSmbFile; @BeforeEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
* </pre> * * @param ps the PrintStream to write the hexdump output to * @param src the source byte array containing the data to dump * @param srcIndex the starting index in the source array * @param length the number of bytes to dump from the source array */ public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.exception; import java.io.PrintStream; import java.io.PrintWriter; /** * An exception that indicates multiple crawling access exceptions occurred. * This exception holds an array of Throwable objects representing the individual causes.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.net.MalformedURLException; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.logging.log4j.LogManager;
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
*/ package jcifs.smb1; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.io.UnsupportedEncodingException; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Properties; import java.util.StringTokenizer; import jcifs.smb1.util.LogStream;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0)