Home | History | Annotate | Download | only in io

Lines Matching refs:fos

34         FileOutputStream fos = null;
39 fos = new FileOutputStream(f.getAbsolutePath());
40 fos.write("Test String".getBytes(StandardCharsets.US_ASCII));
43 FileDescriptor fd = fos.getFD();
58 if (fos != null) {
59 fos.close();
76 FileOutputStream fos = null;
78 fos = new FileOutputStream(f.getAbsolutePath());
79 FileDescriptor fd = fos.getFD();
81 fos.close();
84 if (fos != null) {
85 fos.close();