Squeak Class Documentation category index | class index  
 
IndexFileEntry
  category: Network-Mail Reader
  superclass: Object
  subclasses:

An IndexFileEntry contains enough information to present a table-of-contents entry for the message and to support simple filtering based on a subset of the mail header information. The IndexFile maps unique message ID's to IndexFileEntries.

instance methods
  access
  cc
cc:
date
from
from:
likelyEqual:
location
location:
messageFile
messageFile:
msgID
msgID:
subject
subject:
textLength
textLength:
time
time:
to
to:

  filtering support
  ccHas:
field:has:
fromHas:
getMessage
participantHas:
rawText
subjectHas:
text
textHas:
toHas:

  printing
  computeTOCString
computeTOCStringAsColumns
dateString
flushTOCCache
fromStringLimit:
printOn:
tocString
tocStringAsColumns

  read-write
  readFrom:
writeOn:

  testing
  comparableString:
selfTestEquals:

class methods
  instance creation
  message:location:messageFile:msgID:
readFrom:messageFile:msgID:

instance methods
  access top  
 

cc


 

cc:


 

date

Answer a date string for this index entry.


 

from


 

from:


 

likelyEqual:

return true if the two toc entries seem to represent the same message


 

location


 

location:


 

messageFile


 

messageFile:


 

msgID


 

msgID:


 

subject


 

subject:


 

textLength


 

textLength:


 

time


 

time:


 

to


 

to:


  filtering support top  
 

ccHas:


 

field:has:

Return true if either the given field contains the argument string or, if the argument is a collection, return true if the given field contains any of the strings in that collection.


 

fromHas:


 

getMessage

Answer the MailMessage for this index file entry.


 

participantHas:


 

rawText

Answer the unparsed text for this entry.


 

subjectHas:


 

text


 

textHas:


 

toHas:


  printing top  
 

computeTOCString

Answer a string for the table of contents.


 

computeTOCStringAsColumns

Answer a string for the table of contents.


 

dateString

Answer a date string for this index entry.


 

flushTOCCache

Flush my cached table-of-contents entry string.


 

fromStringLimit:

Answer a cleaned up 'from' field for the table of contents.


 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


 

tocString

Answer a string for the table of contents.


 

tocStringAsColumns

Answer a string for the table of contents.


  read-write top  
 

readFrom:

Initialize myself from the given text stream.


 

writeOn:

Write a human-readable representation of myself on the given text stream.


  testing top  
 

comparableString:

This is for Celeste testing purposes only


 

selfTestEquals:

For testing and debugging purposes only, test whether the two entries are equivalent. If you expect that IndexFileEntries should be identical, the use strict equality here. Otherwise use approximate comparisons.


class methods
  instance creation top  
 

message:location:messageFile:msgID:

Answer a new instance of me for the given message and message file location.


 

readFrom:messageFile:msgID:

Answer a new instance of me initialized from the given text stream.