KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > IsDir


1 import jcifs.smb.SmbFile;
2
3 public class IsDir {
4
5     public static void main( String JavaDoc argv[] ) throws Exception JavaDoc {
6         SmbFile f = new SmbFile( argv[0] );
7         System.out.println( f.isDirectory() );
8     }
9 }
10
11
Popular Tags