Tag: io

3415 How to read / convert an InputStream into a String in Java? 2008-11-21T16:47:40.287

1286 How do I create a Java string from the contents of a file? 2008-11-28T18:32:07.253

1018 Looping through the content of a file in Bash 2009-10-05T17:52:54.210

723 How to read a large text file line by line using Java? 2011-05-03T10:53:24.113

719 How do I check if a file exists in Java? 2009-11-29T20:32:39.460

709 How to redirect output to a file and stdout 2009-01-07T01:45:42.597

606 How to append text to an existing file in Java 2009-10-26T14:43:50.190

537 How to read all files in a folder from Java? 2009-12-04T03:39:37.567

522 Scanner is skipping nextLine() after using next() or nextFoo()? 2012-10-27T16:37:01.840

517 Get an OutputStream into a String 2008-10-19T20:03:23.823

435 Non-blocking read on a subprocess.PIPE in python 2008-12-17T17:56:34.367

399 Calculate the execution time of a method 2012-12-24T09:30:51.500

376 How do I get the file extension of a file in Java? 2010-08-26T00:19:38.417

365 Easy way to write contents of a Java InputStream to an OutputStream 2008-09-04T03:46:16.133

342 Cannot delete directory with Directory.Delete(path, true) 2008-11-30T20:57:03.917

286 StringIO in Python3 2012-08-11T11:53:30.690

260 Unicode (UTF-8) reading and writing to files in Python 2009-01-29T15:01:15.770

246 byte[] to file in Java 2010-12-03T21:37:11.810

240 What is InputStream & Output Stream? Why and when do we use them? 2009-12-02T04:44:00.887

232 How to check for file lock? 2008-08-04T14:56:57.490

220 How to prevent SIGPIPEs (or handle them properly) 2008-09-20T13:43:21.013

216 Save and load MemoryStream to/from a file 2011-12-24T10:55:04.993

215 Parsing CSV files in C#, with header 2010-01-17T15:21:16.420

210 Writing a binary file in C++ very fast 2012-07-19T15:18:23.343

171 Difference between fprintf, printf and sprintf? 2011-01-07T15:49:47.450

166 Do I need to close() both FileReader and BufferedReader? 2009-09-07T10:15:47.777

157 How to open a file using the open with statement 2012-02-14T19:26:53.210

156 In Clojure 1.3, How to read and write a file 2011-10-13T15:54:42.333

154 How to find out if a file exists in C# / .NET? 2008-09-02T07:18:48.120

147 How to create a file in Ruby 2011-10-27T04:16:32.153

145 cout is not a member of std 2012-07-07T14:43:46.347

139 How can I use "puts" to the console without a line break in ruby on rails? 2011-02-22T16:07:30.130

139 Confused by python file mode "w+" 2013-04-25T06:51:34.400

132 an htop-like tool to display disk activity in linux 2009-01-22T13:41:31.737

122 How to Find And Replace Text In A File With C# 2012-11-22T09:31:49.250

120 How do you determine the size of a file in C? 2008-08-11T21:16:30.147

117 Java: Difference between PrintStream and PrintWriter 2010-05-12T19:14:39.570

117 What is the difference between Directory.EnumerateFiles vs Directory.GetFiles? 2011-04-14T20:59:40.497

116 what exactly the python's file.flush() is doing? 2011-08-19T20:32:23.130

115 Why is access to the path denied? 2012-01-11T14:58:41.053

113 How to add a Timeout to Console.ReadLine()? 2008-09-11T20:55:57.377

112 How to quickly check if folder is empty (.NET)? 2009-04-16T10:45:14.220

105 console.writeline and System.out.println 2010-10-23T18:11:54.427

104 What Process is using all of my disk IO 2009-01-28T18:47:01.890

101 How to read integer value from the standard input in Java 2010-03-24T07:50:11.007

99 Guava equivalent for IOUtils.toString(InputStream) 2010-11-15T15:07:29.687

99 Is non-blocking I/O really faster than multi-threaded blocking I/O? How? 2011-12-17T16:45:51.973

96 How to read a line from the console in C? 2008-11-24T15:05:08.090

96 Using scanf() in C++ programs is faster than using cin? 2009-06-25T03:58:38.703

92 Avoiding recursion when reading/writing a port synchronously? 2013-11-13T14:43:24.453

88 How to read from standard input line by line? 2011-01-03T15:18:17.830

83 What's so bad about Lazy I/O? 2011-05-05T04:22:50.910

81 read complete file without using loop in java 2013-01-05T07:26:47.773

80 Using FileSystemWatcher to monitor a directory 2013-02-22T05:30:07.850

78 Most efficient way to create InputStream from OutputStream 2009-08-04T06:13:11.797

78 What is the motivation for Scala assignment evaluating to Unit rather than the value assigned? 2010-01-04T10:37:34.977

78 Is it possible to create a File object from InputStream 2012-07-16T09:21:41.313

77 Why can't I call read() twice on an open file? 2010-10-11T12:25:38.680

74 How to safely open/close files in python 2.4 2010-09-22T14:37:41.663

74 hadoop No FileSystem for scheme: file 2013-06-23T20:27:58.430

73 Java's createNewFile() - will it also create directories? 2011-07-12T14:59:01.157

71 Haskell "do nothing" IO, or if without else 2009-05-07T03:51:49.413

68 Get a TextReader from a Stream? 2011-03-17T17:40:27.287

66 Listing files in a directory matching a pattern in Java 2010-01-20T16:24:31.180

66 How to read a file as a byte array in Scala 2011-09-29T13:36:03.330

66 Asynchronous IO in Scala with futures 2012-10-27T06:13:20.580

65 Java: what exactly is the difference between NIO and NIO.2? 2014-08-27T22:02:21.633

63 How can I use a file in a command and redirect output to the same file without truncating it? 2011-07-14T16:39:21.550

62 What does >& mean? 2012-06-29T02:48:03.953

62 ValueError : I/O operation on closed file 2013-09-23T06:08:21.150

61 Buffered vs unbuffered IO 2009-09-20T07:56:07.593

61 Python slow read performance issue 2014-10-03T11:20:02.907

60 What is StringIO in python used for in reality? 2011-11-03T14:22:45.550

58 How to display a progress indicator in pure C/C++ (cout/printf)? 2013-01-26T18:02:30.073

58 Load data from txt with pandas 2014-02-04T07:48:58.177

57 How to print integer literals in binary or hex in haskell? 2009-12-24T20:41:28.470

57 Why are bitwise shifts (<< and >>) used for cout and cin? 2011-01-31T17:53:45.213

55 Quickly read the last line of a text file? 2009-03-26T15:17:32.783

54 Creating a directory in /sdcard fails 2010-10-04T07:51:26.560

54 How to use Bash read with a timeout? 2012-02-28T14:22:15.407

53 Binary buffer in Python 2008-08-24T15:37:50.787

53 Linux: When to use scatter/gather IO (readv, writev) vs a large buffer with fread 2012-05-09T16:24:47.627

53 Wait Until File Is Completely Written 2012-06-11T14:29:57.857

53 How to chain multiple different InputStreams into one InputStream 2013-01-12T16:02:23.773

53 How to get resources directory path programmatically 2013-10-16T21:41:56.087

52 Editing specific line in text file in python 2011-01-18T00:41:03.523

52 File exists and IS directory, but listFiles() returns null 2013-12-21T00:29:21.833

51 Haskell: can't use "map putStrLn"? 2009-05-31T19:08:18.757

51 InputStream vs InputStreamReader 2010-07-07T13:07:50.013

51 Use Cases and Examples of GoF Decorator Pattern for IO 2011-06-16T02:05:52.627

50 Create a file from a ByteArrayOutputStream 2013-07-05T12:06:34.193

49 Preferred way to use Java ZipOutputStream and BufferedOutputStream 2013-01-22T15:43:01.527

49 Fast textfile reading in c++ 2013-07-29T13:12:45.757

48 Difference between the access modes of the `File` object (ie. w+, r+) 2009-10-17T07:45:04.153

48 Testing IO actions with Monadic QuickCheck 2010-02-14T02:27:14.760

48 Difference between POSIX AIO and libaio on Linux? 2012-01-07T07:17:20.007

48 Design pattern for "retrying" logic that failed? 2012-07-27T17:19:50.387

47 Why doesn't Ruby have a real StringBuffer or StringIO? 2008-08-13T20:19:09.807

47 I/O completion port's advantages and disadvantages 2011-03-12T14:18:06.270