Re: File Size in Cocoa/Java - Resource and data fork
Re: File Size in Cocoa/Java - Resource and data fork
- Subject: Re: File Size in Cocoa/Java - Resource and data fork
- From: Charles Bennett <email@hidden>
- Date: Mon, 03 Jun 2002 12:23:40 -0400
email@hidden wrote:
>
>
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?).
ls -al file.doc/rsrc
>
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?
That's all you get..
chuck
>
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.
--
UPS Management software for OS X
http://www.powerguardian.com
_______________________________________________
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.