Package

Source Code of SlowWrite

import jcifs.smb.SmbFileOutputStream;

public class SlowWrite {

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

        SmbFileOutputStream out = new SmbFileOutputStream( argv[0] );

        for( int i = 0; i < 2; i++ ) {
            out.write( (new String( "hello" + i )).getBytes() );
            Thread.sleep( 17000 );
        }

        out.close();
    }
}
TOP

Related Classes of SlowWrite

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.