The Artima Developer Community
Sponsored Link

Java Buzz Forum
NIO.2 Cookbook, Part 1

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
NIO.2 Cookbook, Part 1 Posted: Feb 11, 2015 12:47 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: NIO.2 Cookbook, Part 1
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

Oracle's Java 7 release introduced NIO.2, which extends its NIO (New I/O) framework with new capabilities (e.g., the ability to work with symbolic/soft links and hard links). This post launches a three-part series in which I present a cookbook of recipes for accomplishing various tasks with NIO.2.

Copying Files

Q: How do I copy a file to another file?

A: You copy a file to another file by using the java.nio.file.Files class's public static Path copy(Path source, Path target, CopyOption... options) method, which copies a source file to a target file.

To read this article in full or to leave a comment, please click here

Read: NIO.2 Cookbook, Part 1

Topic: Perform CRUD with Active Records Previous Topic   Next Topic Topic: Interview with Tor Norbye: the Present and the Future of Developer Tools for Android

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use