public class SecureFileOutputStream
extends java.io.FileOutputStream
コンストラクタ | 説明 |
---|---|
SecureFileOutputStream(java.io.File file) |
Sets output file to mode 600
|
SecureFileOutputStream(java.io.File file,
boolean append) |
Sets output file to mode 600 only if append = false
(otherwise it is presumed to be 600 already)
|
SecureFileOutputStream(java.lang.String file) |
Sets output file to mode 600
|
SecureFileOutputStream(java.lang.String file,
boolean append) |
Sets output file to mode 600 whether append = true or false
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) static boolean |
canSetPerms() |
|
static void |
setPerms(java.io.File f) |
Tries to set the permissions to 600,
ignores errors
|
public SecureFileOutputStream(java.lang.String file) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public SecureFileOutputStream(java.lang.String file, boolean append) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public SecureFileOutputStream(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public SecureFileOutputStream(java.io.File file, boolean append) throws java.io.FileNotFoundException
java.io.FileNotFoundException