• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Sybex CSG 17, Chapter 14, page 793, potential error: toAbsolutePath on table 14.3

 
Greenhorn
Posts: 3
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Potential error in table 14.4 at the page 793 of the chapter 14. The third row:

        Description                                                    |   File method           |  Files method
        ----------------------------------------------------------|----------------------------|------------------------
        "Retrieves absolute path of file/directory" |  getAbsolutePath() | toAbsolutePath()

should stay in the table 14.3 (Common File and Path operations) and not in the table 14.4 (Common File and Files operations).
Indeed, the metod toAbsolutePath() is a Path method, not a Files method.
 
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch! Good eye! I've added this to the errata and credited you.
 
Fabrizio Bisi
Greenhorn
Posts: 3
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd like to thank you and Scott: thanks to you and your amazing book I passed the exam and obtained the certification.
 
Everybody's invited. Even this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic