Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readAllBytes (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);
    
                // Verify the content contains thread information
                String content = new String(Files.readAllBytes(tempFile), Constants.CHARSET_UTF_8);
                assertTrue("Content should contain 'Thread:'", content.contains("Thread:"));
                assertTrue("Content should contain stack trace elements", content.contains("\tat "));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkFactories.java

            return result;
          }
        }
    
        @Override
        public byte[] getSinkContents() throws IOException {
          Path file = getPath();
          return java.nio.file.Files.readAllBytes(file);
        }
      }
    
      @AndroidIncompatible
      private static class PathCharSourceFactory extends Jdk7FileFactory implements CharSourceFactory {
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

        }
        return result;
      }
    
      /**
       * Reads all bytes from an input stream into a byte array. Does not close the stream.
       *
       * <p><b>Java 9+ users:</b> use {@code in#readAllBytes()} instead.
       *
       * @param in the input stream to read from
       * @return a byte array containing all the bytes from the stream
       * @throws IOException if an I/O error occurs
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top