public class FileOpen extends Object implements FileOpenResult
FILE_IS_DIR| Constructor and Description |
|---|
FileOpen(OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getStream() |
static FileOpenResult |
openFile(File file) |
static FileOpenResult |
openFile(String filename) |
public FileOpen(OutputStream stream)
stream - the output streampublic static FileOpenResult openFile(File file) throws FileNotFoundException
file - the file.FileNotFoundException - if the file does not existpublic static FileOpenResult openFile(String filename) throws FileNotFoundException
filename - the name of the file.FileNotFoundException - if the file does not existpublic OutputStream getStream()
getStream in interface FileOpenResultCopyright © 2016–2021. All rights reserved.