• Post Reply Bookmark Topic Watch Topic
  • New Topic

file name matters ?  RSS feed

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I write a java code to parse some comma separated file. If I name the input file as "xx.txt" or "xxx.csv" it works fine. What if I name is as "xxx.txt-some-weird-ending-name", does it matter ? I tried it seems fine but I want to know if there is any fundamental issue with it.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, what the filename or file extension is does not matter, only the content of the file matters. You can call the file anything you like (with any extension you like).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!