Package

Source Code of Exists

import jcifs.smb.SmbFile;

public class Exists {

    public static void main( String argv[] ) throws Exception {

        SmbFile f = new SmbFile( argv[0] );
        if( f.exists() ) {
            System.out.println( argv[0] + " exists" );
        } else {
            System.out.println( argv[0] + " does not exist" );
        }
    }
}
TOP

Related Classes of Exists

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.