Example #1
0
 /// <summary>Open the output file.</summary>
 /// <remarks>Open the output file.</remarks>
 /// <param name="file">- file to open.</param>
 /// <exception>
 /// IOException
 /// if there was an exception opening the Audio Writer.
 /// </exception>
 /// <exception cref="System.IO.IOException"></exception>
 public override void open(java.io.File file)
 {
     file.delete();
     raf = new java.io.RandomOutputStream(new System.IO.FileStream(file.Filename, System.IO.FileMode.Create));
     size = 0;
 }
Example #2
0
 /// <summary>Open the output file.</summary>
 /// <remarks>Open the output file.</remarks>
 /// <param name="file">- file to open.</param>
 /// <exception>
 /// IOException
 /// if there was an exception opening the Audio Writer.
 /// </exception>
 /// <exception cref="System.IO.IOException"></exception>
 public override void open(java.io.File file)
 {
     file.delete();
     @out = new java.io.FileOutputStream(file);
 }