|
Replies:
2
-
Last Post:
Dec 5, 2008 4:33 AM
by: ljubisap
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
How to determine amount of free space on Blu-ray Player hard disk
Posted:
Dec 5, 2008 1:02 AM
|
|
|
Hello,
I'm looking a way to find out how much free space left on Blu-ray player local storage device. This API is implemented in Java 6 and I have to use 1.3 so that is the problem. JDK 6 supports this:
File file = new File("/home/ljubisap");
//Returns the number of unallocated bytes on the disc where this folder resides System.out.println(file.getFreeSpace());
Is there some way (besides JNI) to determine this info. For example, PS3 gives you this info but I'll need this info in order to determine is there enough space on local storage do download video content from the Internet.
Any comments are more then welcome.
Regards, Ljubisa
|
|
|
|
|
|
|
Re: How to determine amount of free space on Blu-ray Player hard disk
Posted:
Dec 5, 2008 1:12 AM
in response to: ljubisap
|
|
|
Hi Ljubisa,
take a look at the org.bluray.storage.StorageManager class. It can be used to retrieve information about BUDA and ADA, including total space and free space available.
Cheers, Björn
|
|
|
|
|
|
|
|
Re: How to determine amount of free space on Blu-ray Player hard disk
Posted:
Dec 5, 2008 4:33 AM
in response to: bjoern_minkmar
|
|
|
Hello Björn,
Thank you very much, that is exactly what I was looking for.
Regards, Ljubisa
|
|
|
|
|