File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Programmer Certification (SCJP/OCPJP)
Doubt in path separator
Joined: May 03, 2008
Aug 08, 2008 04:01:00
Can any one explain differences between
Joined: Feb 19, 2008
Aug 08, 2008 04:44:00
All four are seems to be the same thing in Java , either unix OS "/" or windows OS "\" , called Path Separator, and they are represented by
Where you find those words !
[Freelance Web Designer]
[and "Rohan" is part of my surname]
Joined: Jan 16, 2008
Aug 11, 2008 13:47:00
Separator is used to separate the entries in path. In Windows it's
and in Unix systems it's
For example, see how these entries are separated
pathSeparator is a
and pathSeparatorChar is a
. It's convenient to have both available.
Nikos' Java blog
I agree. Here's the link:
subject: Doubt in path separator
How do i read .ldif file through java?
How to use user Defined separator in JPopupMenu instead of addSeparator() provided by Java Swing
Need component separator ->
need basic help to compile first servelet
getting exact url
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014