test_class.declarator: TEXT = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"
test_class.modifier: private static
test_class.original_string: private static String TEXT = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890";
test_class.type: String
test_class.var_name: TEXT
test_class.declarator: is
test_class.modifier: private
test_class.original_string: private InputStream is;
test_class.type: InputStream
test_class.var_name: is
test_class.declarator: os
test_class.modifier: private
test_class.original_string: private OutputStream os;
test_class.type: OutputStream
test_class.var_name: os
test_class.declarator: reader
test_class.modifier: private
test_class.original_string: private Reader reader;
test_class.type: Reader
test_class.var_name: reader
test_class.declarator: writer
test_class.modifier: private
test_class.original_string: private Writer writer;
test_class.type: Writer
test_class.var_name: writer
test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/utils/IOUtilsTest.java
test_class.identifier: IOUtilsTest
test_case.body: @Test
      public void testReadLines() throws Exception {
          String[] lines = IOUtils.readLines(is);
          assertThat(lines.length, equalTo(1));
          assertThat(lines[0], equalTo(TEXT));
      }
test_case.class_method_signature: IOUtilsTest.testReadLines()
test_case.full_signature: @Test public void testReadLines()
test_case.identifier: testReadLines
test_case.invocations: readLines assertThat equalTo assertThat equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadLines()
focal_class.declarator: BUFFER_SIZE = 1024 * 8
focal_class.modifier: private static final
focal_class.original_string: private static final int BUFFER_SIZE = 1024 * 8;
focal_class.type: int
focal_class.var_name: BUFFER_SIZE
focal_class.declarator: EOF = -1
focal_class.modifier: public static final
focal_class.original_string: public static final int EOF = -1;
focal_class.type: int
focal_class.var_name: EOF
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/utils/IOUtils.java
focal_class.identifier: IOUtils
focal_class.class_method_signature: IOUtils.IOUtils()
focal_class.full_signature: private  IOUtils()
focal_class.identifier: IOUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  IOUtils()
focal_class.class_method_signature: IOUtils.write(InputStream is, OutputStream os)
focal_class.full_signature: public static long write(InputStream is, OutputStream os)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (InputStream is, OutputStream os)
focal_class.return: long
focal_class.signature: long write(InputStream is, OutputStream os)
focal_class.class_method_signature: IOUtils.write(InputStream is, OutputStream os, int bufferSize)
focal_class.full_signature: public static long write(InputStream is, OutputStream os, int bufferSize)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (InputStream is, OutputStream os, int bufferSize)
focal_class.return: long
focal_class.signature: long write(InputStream is, OutputStream os, int bufferSize)
focal_class.class_method_signature: IOUtils.write(final InputStream input, final OutputStream output, final byte[] buffer)
focal_class.full_signature: public static long write(final InputStream input, final OutputStream output, final byte[] buffer)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (final InputStream input, final OutputStream output, final byte[] buffer)
focal_class.return: long
focal_class.signature: long write(final InputStream input, final OutputStream output, final byte[] buffer)
focal_class.class_method_signature: IOUtils.read(Reader reader)
focal_class.full_signature: public static String read(Reader reader)
focal_class.identifier: read
focal_class.modifiers: public static
focal_class.parameters: (Reader reader)
focal_class.return: String
focal_class.signature: String read(Reader reader)
focal_class.class_method_signature: IOUtils.write(Writer writer, String string)
focal_class.full_signature: public static long write(Writer writer, String string)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (Writer writer, String string)
focal_class.return: long
focal_class.signature: long write(Writer writer, String string)
focal_class.class_method_signature: IOUtils.write(Reader reader, Writer writer)
focal_class.full_signature: public static long write(Reader reader, Writer writer)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (Reader reader, Writer writer)
focal_class.return: long
focal_class.signature: long write(Reader reader, Writer writer)
focal_class.class_method_signature: IOUtils.write(Reader reader, Writer writer, int bufferSize)
focal_class.full_signature: public static long write(Reader reader, Writer writer, int bufferSize)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (Reader reader, Writer writer, int bufferSize)
focal_class.return: long
focal_class.signature: long write(Reader reader, Writer writer, int bufferSize)
focal_class.class_method_signature: IOUtils.readLines(File file)
focal_class.full_signature: public static String[] readLines(File file)
focal_class.identifier: readLines
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: String[]
focal_class.signature: String[] readLines(File file)
focal_class.class_method_signature: IOUtils.readLines(InputStream is)
focal_class.full_signature: public static String[] readLines(InputStream is)
focal_class.identifier: readLines
focal_class.modifiers: public static
focal_class.parameters: (InputStream is)
focal_class.return: String[]
focal_class.signature: String[] readLines(InputStream is)
focal_class.class_method_signature: IOUtils.writeLines(OutputStream os, String[] lines)
focal_class.full_signature: public static void writeLines(OutputStream os, String[] lines)
focal_class.identifier: writeLines
focal_class.modifiers: public static
focal_class.parameters: (OutputStream os, String[] lines)
focal_class.return: void
focal_class.signature: void writeLines(OutputStream os, String[] lines)
focal_class.class_method_signature: IOUtils.writeLines(File file, String[] lines)
focal_class.full_signature: public static void writeLines(File file, String[] lines)
focal_class.identifier: writeLines
focal_class.modifiers: public static
focal_class.parameters: (File file, String[] lines)
focal_class.return: void
focal_class.signature: void writeLines(File file, String[] lines)
focal_class.class_method_signature: IOUtils.appendLines(File file, String[] lines)
focal_class.full_signature: public static void appendLines(File file, String[] lines)
focal_class.identifier: appendLines
focal_class.modifiers: public static
focal_class.parameters: (File file, String[] lines)
focal_class.return: void
focal_class.signature: void appendLines(File file, String[] lines)
focal_method.body: public static String[] readLines(File file) throws IOException {
          if (file == null || !file.exists() || !file.canRead()) {
              return new String[0];
          }
  
          return readLines(new FileInputStream(file));
      }
focal_method.class_method_signature: IOUtils.readLines(File file)
focal_method.full_signature: public static String[] readLines(File file)
focal_method.identifier: readLines
focal_method.invocations: exists canRead readLines
focal_method.modifiers: public static
focal_method.parameters: (File file)
focal_method.return: String[]
focal_method.signature: String[] readLines(File file)