4 package org.vamsas.client.simpleclient;
\r
7 import java.io.FileDescriptor;
\r
8 import java.io.FileNotFoundException;
\r
9 import java.io.FileOutputStream;
\r
10 import java.io.IOException;
\r
16 public class LockedFileOutputStream extends FileOutputStream {
\r
20 * @throws FileNotFoundException
\r
22 public LockedFileOutputStream(File file) throws FileNotFoundException {
\r
24 // TODO Auto-generated constructor stub
\r
30 * @throws FileNotFoundException
\r
32 public LockedFileOutputStream(File file, boolean append)
\r
33 throws FileNotFoundException {
\r
34 super(file, append);
\r
35 // TODO Auto-generated constructor stub
\r
41 public LockedFileOutputStream(FileDescriptor fdObj) {
\r
43 // TODO Auto-generated constructor stub
\r
48 * @throws FileNotFoundException
\r
50 public LockedFileOutputStream(String name) throws FileNotFoundException {
\r
52 // TODO Auto-generated constructor stub
\r
58 * @throws FileNotFoundException
\r
60 public LockedFileOutputStream(String name, boolean append)
\r
61 throws FileNotFoundException {
\r
62 super(name, append);
\r
63 // TODO Auto-generated constructor stub
\r
66 * closes - actually just flushes the stream instead.
\r
68 public void close() throws IOException {
\r
69 // TODO Auto-generated method stub
\r