Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-27-2009, 09:56 PM
Member
 
Join Date: Feb 2009
Posts: 5
Rep Power: 0
ayangupta is on a distinguished road
Smile Program(convertion)
Can U Please Give Me The Source Code Or The Program
Convert A Text(.txt)file Into Binary Number
And
Convert A .wav File Into Binary Number.

If U Give Me The Program I Will Be Very Thankful To U.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 02-28-2009, 04:08 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 1,018
Rep Power: 3
Nicholas Jordan is on a distinguished road
Default
Study String.getBytes() for the text file.

The conversion of .wav files to binary is not available in a pre-written program. Require much study.
__________________
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-28-2009, 05:08 PM
CJSLMAN's Avatar
Moderator
 
Join Date: Oct 2008
Location: Mexico
Posts: 1,159
Rep Power: 3
CJSLMAN is on a distinguished road
Default Whoa...
Hold on there ayangupta... this is not "freeCode-R-Us". The purpose of this forum is help people with their Java coding problems... it is not a place where free code is sent to the four corners of the earth. You ask a specific question, you get a specific answer.
Having said that... show us what you have done and what problems/questions you have.

Luck,
CJSL
__________________
Chris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 03-01-2009, 06:18 PM
Steve11235's Avatar
Senior Member
 
Join Date: Dec 2008
Posts: 969
Rep Power: 2
Steve11235 is on a distinguished road
Default
Now that I've taken the time to come here, I can't help but add to what Chris just said. We are here to help out other programmers with specific questions/problems, not to give away our services.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 03-08-2009, 01:48 PM
Senior Member
 
Join Date: Jan 2009
Posts: 360
Rep Power: 2
toadaly is on a distinguished road
Default
You can read any file type using various java.io classes, such a FileInputStream.

For sound files, the java.sound.sampled api has built-in handling for wav files.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
String/sentence to unicode convertion sandeepvreddy New To Java 5 11-20-2008 04:33 PM
stiring to unicode convertion sandeepvreddy New To Java 2 09-20-2008 06:08 PM
Problem with Image Convertion aptivo Java 2D 0 06-10-2008 12:15 AM
Date convertion in java Preethi New To Java 25 05-16-2008 06:11 PM
How to execute an External Program through Java program JavaBean Java Tips 0 10-04-2007 10:33 PM


All times are GMT +2. The time now is 12:53 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org