Class WriteByFile
- java.lang.Object
-
- org.eclipse.mosaic.fed.output.generator.file.write.WriteByFile
-
- All Implemented Interfaces:
Write
- Direct Known Subclasses:
WriteByFileCompress
public class WriteByFile extends Object implements Write
-
-
Constructor Summary
Constructors Constructor Description WriteByFile(File file, boolean append)
WriteByFile(OutputStream outputStream)
-
-
-
Constructor Detail
-
WriteByFile
public WriteByFile(File file, boolean append) throws FileNotFoundException
- Throws:
FileNotFoundException
-
WriteByFile
public WriteByFile(OutputStream outputStream)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceWrite
- Throws:
IOException
-
write
public void write(String content) throws IOException
- Specified by:
write
in interfaceWrite
- Throws:
IOException
-
-