/** * */ package org.vamsas.client.simpleclient; import java.io.File; import java.io.FileDescriptor; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; /** * @author Jim * */ public class LockedFileOutputStream extends FileOutputStream { /** * @param file * @throws FileNotFoundException */ public LockedFileOutputStream(File file) throws FileNotFoundException { super(file); } /** * @param file * @param append * @throws FileNotFoundException */ public LockedFileOutputStream(File file, boolean append) throws FileNotFoundException { super(file, append); } /** * @param fdObj */ public LockedFileOutputStream(FileDescriptor fdObj) { super(fdObj); } /** * @param name * @throws FileNotFoundException */ public LockedFileOutputStream(String name) throws FileNotFoundException { super(name); } /** * @param name * @param append * @throws FileNotFoundException */ public LockedFileOutputStream(String name, boolean append) throws FileNotFoundException { super(name, append); // TODO Auto-generated constructor stub } /** * closes - actually just flushes the stream instead. */ public void close() throws IOException { // TODO Auto-generated method stub super.flush(); } }