Re: Message as String
"Huston" <[email protected]> Tue, 3 Sep 2002 08:39:38 -0600
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <003401c25357$bd0e8220$0c01000a@boys> |
> - I have a profile that implements 'MessageListener' interface. > When receiveMSG is called, a 'Message' object is passed to > this profile. How do I get the payload of the message in > 'String' format? The simplest solution is to get an InputStream from the InputDataStream and wrap that in a Reader. You could also get the BufferSegments from the InputDataStream and convert the bytes to characters. > - to compile the latest load as a 'release' version, I'm > assuming I have to use 'dist' target for ant? dist will build the .tgz and .zip file that are uploaded to sourceforge. If by 'release' you mean a non-debug version you need to set the debug property in the ant build file appropriately. --Huston ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390