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
29 * @throws FileNotFoundException
\r
31 public LockedFileOutputStream(File file, boolean append)
\r
32 throws FileNotFoundException {
\r
33 super(file, append);
\r
39 public LockedFileOutputStream(FileDescriptor fdObj) {
\r
45 * @throws FileNotFoundException
\r
47 public LockedFileOutputStream(String name) throws FileNotFoundException {
\r
54 * @throws FileNotFoundException
\r
56 public LockedFileOutputStream(String name, boolean append)
\r
57 throws FileNotFoundException {
\r
58 super(name, append);
\r
59 // TODO Auto-generated constructor stub
\r
62 * closes - actually just flushes the stream instead.
\r
64 public void close() throws IOException {
\r
65 // TODO Auto-generated method stub
\r