Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Adding information to a file (http://www.velocityreviews.com/forums/t140814-adding-information-to-a-file.html)

Khanh Ly via JavaKB.com 02-07-2005 05:11 PM

Adding information to a file
 
I have audio files which I would like to add properties to the files like
date created, speaker name, etc. When the mouse points to the file, those
information will be displayed in the tooltips.

Does anybody know the way to do that?
Thanks

--
Message posted via http://www.javakb.com

Karsten Baumgarten 02-07-2005 05:37 PM

Re: Adding information to a file
 
Khanh Ly via JavaKB.com wrote:
> I have audio files which I would like to add properties to the files like
> date created, speaker name, etc. When the mouse points to the file, those
> information will be displayed in the tooltips.


I'm not sure what you mean by "mouse points to the file", but I assume
you are writing an application with some sort of file browser.
Usually audio files contain a header with some descriptive data. The
amount of information you can extract depends on the format of the file
(e.g. MP3 files provide a lot more info than WAV files do). Stuff like
"date created" can be determined from looking at the file attributes.

--
Regards,

Karsten

Khanh Ly via JavaKB.com 02-07-2005 08:14 PM

Re: Adding information to a file
 
Sorry for confusing.
What I mean is I have a audio file created with 3 properties in it: Author,
Text, Creator, etc. Now I would like to add more properties into it such
as language, speaker, gender, etc.
My question are
Is there a way to add more properties to an audio file after it created?
Will new properties show up in the tooltip in window explorer?
Thanks

--
Message posted via http://www.javakb.com

Karsten Baumgarten 02-07-2005 10:08 PM

Re: Adding information to a file
 
Khanh Ly via JavaKB.com wrote:
> Sorry for confusing.
> What I mean is I have a audio file created with 3 properties in it: Author,
> Text, Creator, etc. Now I would like to add more properties into it such
> as language, speaker, gender, etc.
> My question are
> Is there a way to add more properties to an audio file after it created?
> Will new properties show up in the tooltip in window explorer?


What kind of audio file is it? If there is room in the header for more
properties, you can add more. If not, you cannot. AFAIK the windows
explorer uses the header to extract the informations (I can't think of
another way to do it), so if it provides more info, you'll see more info.

Still confused... ;)

--
Regards,

Karsten


All times are GMT. The time now is 04:55 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.