File Size in Cocoa/Java - Resource and data fork
File Size in Cocoa/Java - Resource and data fork
- Subject: File Size in Cocoa/Java - Resource and data fork
- From: email@hidden
- Date: Mon, 03 Jun 2002 13:08:54 -0300
- Organization: Perfil
Hello, I'm trying to get a file size via java/cocoa. IF i use
java.io.File.length() I get the data fork length (also, in the terminal
window, with an ls command i get the data fork. Can I get the resource
size in terminal window?).
I then tried NSFileWrapper and use regularFileContents() to obtain an
NSData and the ask the size but I again only get the data fork size.
Do you know how to get both, data and resource fork size?
Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.