• Post Reply Bookmark Topic Watch Topic
  • New Topic

Files and archive bits...

 
Marcus Laubli
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I did check in the java.io.File docs...

Is there some way that I can read the archive bit of a file object?
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java aims to be cross-platform so you aren't going to find Windows-specific features like the archive bit in the API. If you absolutely need it, you can write code to check it in a native language, make a DLL and call it with JNI.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!