Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Adding information to a file

Reply
Thread Tools

Adding information to a file

 
 
Khanh Ly via JavaKB.com
Guest
Posts: n/a
 
      02-07-2005
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
 
Reply With Quote
 
 
 
 
Karsten Baumgarten
Guest
Posts: n/a
 
      02-07-2005
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
 
Reply With Quote
 
 
 
 
Khanh Ly via JavaKB.com
Guest
Posts: n/a
 
      02-07-2005
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
 
Reply With Quote
 
Karsten Baumgarten
Guest
Posts: n/a
 
      02-07-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
signer information does not match signer information of other classes in the same pac lerenard001 Java 0 07-07-2008 03:46 PM
Information technology is incomplete without information security alannis.albert@googlemail.com Computer Support 0 04-14-2008 06:42 AM
More Information than just IIS Log Information subrato ASP .Net 8 03-14-2006 09:59 PM
signer information does not match signer information of other classes in the same package clercmedia Java 2 12-09-2005 03:14 PM
strange information from asp.net trace / getting performance information using WebRequest and StreamReader z. f. ASP .Net 0 02-03-2005 11:23 AM



Advertisments