Skip to content

Commit 5094606

Browse files
committed
is_file java
1 parent 3d08cb1 commit 5094606

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example/Filesystem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public static void main(String[] argv) {
5555
System.out.println(is_absolute(a1));
5656
} else if (command.equals("is_exe")) {
5757
System.out.println(is_exe(a1));
58+
} else if (command.equals("is_file")) {
59+
System.out.println(new File(a1).isFile());
5860
} else if (command.equals("is_readable")) {
5961
System.out.println(is_readable(a1));
6062
} else if (command.equals("ram_free")) {

0 commit comments

Comments
 (0)