RSS feed [root] /features /weblog /java




login:

password:

title search:




 


Mon Jan 10 00:41:28 AEDT 2022

IO



Watch service, watch if directory changed - http://www.javacodegeeks.com/2012/02/java-7-watchservice.html

Tips of using bytebuffer - http://worldmodscode.wordpress.com[..]2/14/the-java-bytebuffer-a-crash-course/

path : ..\.\Java.txt
absolute path : C:\Users\WINDOWS 8\workspace\Demo\..\.\Java.txt
canonical path : C:\Users\WINDOWS 8\workspace\Java.txt

Read more: http://javarevisited.blogspot.com[..]getcanonicalpath-java.html#ixzz3A8Zya6YG

Jump to a position of a file, inputstream.skip() is faster than reader.skip(), and reader.skip() is faster than randomAccessFile.

Java & Files: An Introduction - https://www.marcobehler.com/guides/java-files

Modern file input/output with Java: Going fast with NIO and NIO.2 - https://blogs.oracle.com[..]2-buffers-channels-async-future-callback


(google search) (amazon search)
second
download zip of files only