To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 5434
5433  |  5435
Subject: 
Re: Pseudo-streaming live news (was: Re: Monitor Page)
Newsgroups: 
lugnet.admin.general
Date: 
Wed, 22 Mar 2000 22:30:33 GMT
Viewed: 
2304 times
  
In lugnet.admin.general, Todd Lehman writes:
In lugnet.admin.general, Jeremy H. Sproat writes:
[...] The body of the
message is fetched using the "Body:" header; I'm not sure I'll keep it that
way since the body, by definition, is a non-header.
If you wanted to rename the "Body:" header to something other than "Body:" and
still let clients of the code access aspects of an article object via the same
single entry point, you could redefine the body's "header key" to be the null
string or the empty string.  (After all, in a sense, a message's body appears
after a null header.  :)  JAT...

Hey, that works *great* with a Properties object, except I'll haveta use a
blank string instead of a null string (the hashcode of a null object is pretty
hard to come by...)  Thanks!  :-,

Cheers,
- jsproat



Message is in Reply To:
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) If you wanted to rename the "Body:" header to something other than "Body:" and still let clients of the code access aspects of an article object via the same single entry point, you could redefine the body's "header key" to be the null string (...) (24 years ago, 22-Mar-00, to lugnet.admin.general)

66 Messages in This Thread:























Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR