This example explains how data can be appended to files by using the RandomAccessFile class. The RandomAccessFile class allows to read and write data at any arbitrary location in an existing file. The following example illustrates how it can be used to append text/binary data at the end of files.
This example shows how to create an image in memory and write to disk in the JPEG format
This example explains how a File object can be used to view details of a File or Directory