Top "File-io" questions

File I/O is input/output that involves the file system.

How do I add a resources folder to my Java project in Eclipse

I want to have a place to store my image files to use in my Java project (a really simple …

java eclipse file-io resources project-organization
Copy entire directory contents to another directory?

Method to copy entire directory contents to another directory in java or groovy?

java grails file-io groovy
How to write to a file in Scala?

For reading, there is the useful abstraction Source. How can I write lines to a text file?

scala file-io scala-2.8
System.IO.IOException: file used by another process

I've been working on this small piece of code that seems trivial but still, i cannot really see where is …

c# file-io io ioexception
Create Excel files from C# without office

I am writing a program that generates excel reports, currently using the Microsoft.Interop.Excel reference. My dev computer has …

c# excel file-io office-interop
Read data from a text file using Java

I need to read a text file line by line using Java. I use available() method of FileInputStream to check …

java file-io fileinputstream
How do I serialize an object and save it to a file in Android?

Say I have some simple class and once it's instantiated as an object I want to be able to serialize …

android serialization file-io
Create a file from a ByteArrayOutputStream

Can someone explain how I can get a file object if I have only a ByteArrayOutputStream. How to create a …

java file file-io io bytearrayoutputstream
How to delete directory content in Java?

After enumerating a directory, I now need to delete all the files. I used: final File[] files = outputFolder.listFiles(); files.…

java file-io delete-directory
How to read file from res/raw by name

I want to open a file from the folder res/raw/. I am absolutely sure that the file exists. To …

android file-io resources