< A B C D E F G H I K L M N O P Q R S T U V W X

<

() - Static method in class kom.gateway.Form
 
() - Static method in class kom.smtpd.SMTPHandler
Initializes SMTPcommands table
() - Static method in class kom.tools.web.MimeType
Initializes the table of icons vs mime types
() - Static method in class kom.tools.web.ParseDate
Initialization of day-of-week name tables

A

a(String, String) - Method in class kom.gateway.KOMutil
Constructs an HTML link
absCDBpath - Static variable in class kom.gateway.DBLow
Absolute path to the CDB directory
accept() - Method in class kom.tools.ipc.IPCServer
Waits for a connection (blocks until a client tries to connect)
Accept() - Method in class kom.gateway.Action
Accepts or rejects some messages according to form data
accept(File, String) - Method in class kom.gateway.NamePrefixFilter
Filters file name list
accept(File, String) - Method in class kom.gateway.GetMail
Implements FilenameFilter
acceptform - Variable in class kom.gateway.Form
True if used within an "accept" (moderator view) display
access - Variable in class kom.gateway.KOM
 
access - Variable in class kom.smtpd.SMTPD
 
accessCont(String) - Method in class kom.gateway.KOMutil
Checks if current user is allowed to access object contents.
accessCont(String, KomData) - Method in class kom.gateway.KOMutil
Checks if current user is allowed to access object contents.
AccessControl - class kom.tools.access.AccessControl.
Access Control for hosts.
AccessControl(Vector, Vector) - Constructor for class kom.tools.access.AccessControl
Constructor.
accessObj(String, KomData) - Method in class kom.gateway.KOMutil
Checks if the reference is accessible
accessPart(String, String) - Method in class kom.gateway.DBLow
Checks if access to a component is allowed
ACT - Static variable in class kom.gateway.KOMutil
 
Action - class kom.gateway.Action.
Processes HTTP requests.
Action(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.Action
Class constructor
actref - Variable in class kom.gateway.NewsGroupData
Local reference to current newsgroup
actualize() - Method in class kom.tools.web.ReadFile
Resets pos and length if required
add(String) - Method in class kom.gateway.Form
Adds a string to the page buffer
add(String, String) - Method in class kom.gateway.KomData
Stores a value as a String or as a Vector element, but only if the key and the value are non-null.
add(String, String) - Method in class kom.tools.config.Section
Adds a new parameter to this section
add(String, String) - Static method in class kom.tools.web.MimeType
Associates a file type with a mime type.
add2hdr(String, String) - Method in class kom.smtpd.SMTPHandler
Adds a line to the current mailbox header.
add2mbox(String) - Method in class kom.smtpd.SMTPHandler
Adds a line to the current mailbox file.
addAddress(String, KomData, String, String) - Method in class kom.gateway.Action
Adds a recipient record to an object.
addAlternatives(int) - Method in class kom.gateway.Build.KOMquery
Adds empty alternatives to this query.
addBatchOfEntries(KomData) - Method in class kom.gateway.Action
Adds a batch of entries to an activity
addBatchOfUsers(KomData) - Method in class kom.gateway.Action
Adds a batch of users to an activity
addBody(String) - Method in class kom.gateway.Form
Adds body text to page buffer.
AddChat() - Method in class kom.gateway.Action
Creates a chat entry
addChat(String, String, String, KomData) - Method in class kom.gateway.Chat
 
addClient(String, Environment) - Method in class kom.gateway.ClientObservable
Adds a client to observables
addClient(String, Environment) - Method in class kom.gateway.Gateway
Adds a new client to the clientObservable list
addClientObserver(Observer) - Method in class kom.gateway.Gateway
Adds an observer
addContent(String, KomData) - Method in class kom.gateway.DBHigh
Adds cont* (content) record to the file database
addContent(String, String, KomData) - Method in class kom.gateway.DBHigh
Adds data to the file database
addDraft(String, KomData, String) - Method in class kom.gateway.DBHigh
Adds a file to the draft database
added - Variable in class kom.gateway.Form
Keeps track of whether a language-dependent string has been handled
addElement(Object) - Method in class kom.tools.web.ObservableVector
Adds an element to the vector and notifies its observers, passing the vector as parameter.
addFile(String, InputStream, boolean) - Method in class kom.gateway.DBLow
Adds data to the file database.
AddGen() - Method in class kom.gateway.Action
Processes a genealogy form to add family data
AddGrades() - Method in class kom.gateway.Action
Adds grades on some messages
addHeader(String, String) - Method in class kom.tools.web.HTTPResponse
Adds a response header
addIcon(String, String) - Static method in class kom.tools.web.MimeType
Associates an icon with a mime type
addInfo(String, KomData) - Method in class kom.gateway.DBHigh
Adds data to the main info file.
addInfoData(KomData) - Method in class kom.gateway.KOMutil
Updates infoData
ADDKEYANY - Static variable in class kom.gateway.KomData
 
ADDKEYFIRST - Static variable in class kom.gateway.KomData
 
ADDKEYLAST - Static variable in class kom.gateway.KomData
 
addLast(String, String) - Method in class kom.gateway.DBHigh
Saves date-time of last notification sent for user
addLocal(String, String, boolean) - Method in class kom.gateway.MsgIdTable
Associates a message id with a local reference
addLog(SMTPRequestLog) - Method in class kom.smtpd.SMTPD
 
addm(KomData, String, boolean, boolean, boolean) - Method in class kom.gateway.Action
Adds/subtracts a member to/from an activity and vice versa
addmailaddr(int, InternetAddress[], Vector[]) - Static method in class kom.gateway.SendMail
Adds Address to relevant vector
addMaxClientObserver(Observer) - Method in class kom.gateway.Gateway
Adds an observer to maxClientObservable
addMem(String, String, String, KomData) - Method in class kom.gateway.News
 
AddMemb() - Method in class kom.gateway.Action
Action for ADDMEMB (adds a member or organizer to an activity)
addMember(String, String, KomData) - Method in class kom.gateway.DBHigh
Adds member data to an activity
addNews(String, String, KomData) - Method in class kom.gateway.DBHigh
Adds data to a user news database part
addObj(String, String, String) - Method in class kom.gateway.DBHigh
Adds (appends) data to the file database
addObj(String, String, String, boolean) - Method in class kom.gateway.DBHigh
Adds data to the file database
addObject(String, KomData) - Method in class kom.gateway.DBHigh
Adds object data to the database
addObject(String, String, KomData) - Method in class kom.gateway.DBHigh
Adds "labeled" object data to the database
addOneEntry(KomData, String, String) - Method in class kom.gateway.Action
 
addOneUser(KomData, String, String, String, String) - Method in class kom.gateway.Action
 
addParts(String, MimeMultipart, Upload[], String) - Method in class kom.gateway.Build
Adds parts from an Upload array
addQuery(String, KomData) - Method in class kom.gateway.DBHigh
Stores a query in the query database.
addrcpt(KomData) - Method in class kom.gateway.Build.KOMmsg
If this message is stored in MIME format or came via email, a "rcpt*" record is added to the header file of the mailbox entry.
addRcpt(String, String, KomData, Hashtable, KomData, KomData) - Method in class kom.gateway.GetMail
 
AddRec() - Method in class kom.gateway.Action
Forwards a message or thread according to an address form
addReceiver(KomData, String, String, String, String) - Method in class kom.gateway.Action
Adds a recipient record to an object.
addRecipients(MimeMessage, KomData) - Method in class kom.gateway.SendMail
 
addrecs(KomData, String) - Method in class kom.gateway.Build
Shows the proposed recipients of a message to be created
addReferences(MimeMessage, KomData) - Method in class kom.gateway.SendMail
 
addrToLocal(InternetAddress) - Method in class kom.gateway.KOMutil
Converts an Address to a local reference, or leaves it as is
addScaleValues(int) - Method in class kom.gateway.Build.KOMquery
Adds empty scale values to this query.
addSMTPcommand(String, int) - Static method in class kom.smtpd.SMTPHandler
Adds an entry to the SMTPCommands table
addThread(Build.KOMmt, String) - Method in class kom.gateway.Build.KOMthr
Adds a message to a thread
addThreadObserver(Observer) - Method in class kom.smtpd.SMTPD
Adds a thread observer
addtype(String, String, String, String) - Method in class kom.gateway.Action
Updates type codes according to parser data and parent object type
addUser() - Method in class kom.gateway.Action
Adds current user object (defined by userData) to user category
addv(String) - Method in class kom.gateway.Form
 
addvalue(String, String) - Method in class kom.tools.web.POSTResponse
Puts a String into the pairs table, possibly as a new element in the old value.
admin - Variable in class kom.smtpd.SMTPConfig
Administrator e-mail address
admin - Variable in class kom.tools.web.HTTPConfig
 
AdminURL - Static variable in class kom.gateway.DBHigh
URL for Administrator (distinguished user)
allmessages() - Method in class kom.gateway.Build.KOMactivity
Collects all messages in the activity and displays table of contents
allowed - Variable in class kom.tools.access.AccessControl
 
allowForward - Variable in class kom.gateway.ServerConfig
True if forwarding should be allowed
allowHosts - Variable in class kom.tools.web.HTTPConfig
 
allowQueries - Variable in class kom.gateway.ServerConfig
True if queries should be allowed
anonymous - Variable in class kom.gateway.ServerConfig
True if anonymous contributions are allowed
anyAccess - Variable in class kom.gateway.KOMutil
When set, allows any access to objects.
APPLICATION_URLENCODED - Static variable in class kom.tools.web.HTTPResponse
 
areaExists(String) - Method in class kom.gateway.DBLow
Check if user area exists already
arglist - Variable in class kom.gateway.KOMutil
List of arguments from request URL
argsep - Variable in class kom.gateway.KOMutil
Argument separator in URLs
argtab - Variable in class kom.gateway.KOMutil
Parsed list of arguments from request URL
article - Variable in class kom.news.NewsGroup
Current article pointer
article(int) - Method in class kom.news.NewsClient
Gets text of an article
article(String) - Method in class kom.news.NewsClient
Gets text of an article
artno - Variable in class kom.news.Overview
Article number in newsgroup
ascii2Hex(char) - Static method in class kom.tools.web.HTMLTools
Converts an ASCII char [0-9a-fA-F] to binary equivalent (0-15)
ascii2html(String) - Static method in class kom.tools.web.HTMLTools
Converts string to HTML format by replacing special characters with entities.
ascii2url(String) - Static method in class kom.tools.web.HTMLTools
Converts ASCII string to URL
ASCTIME_FORMAT - Static variable in class kom.tools.web.ParseDate
 
asctime(Date) - Static method in class kom.tools.web.ParseDate
Formats a Date in ASCTIME format
asKOMmsg(int) - Method in class kom.gateway.Build.KOMthr
Makes a KOMmsg from a KOMthr.
attachments - Variable in class kom.gateway.KOMutil
Attachments
authData(KomData) - Method in class kom.gateway.Action
Gets author data
authenticate(String, String) - Method in class kom.news.NewsClient
Sends authentication info to the server
available() - Method in class kom.tools.ipc.IPCConnection
Checks for available data on the socket
available(String) - Method in class kom.news.NewsClient
Gets an array of available article numbers in the current newsgroup.

B

basedRef(String) - Method in class kom.gateway.DBLow
Returns a reference starting with current servletBase.
baseURI - Variable in class kom.smtpd.NameFinder
 
bind() - Method in class kom.tools.ipc.IPCServer
Binds the server to the specified port
bld - Variable in class kom.gateway.NewsGroupData
Reference to environment
body(int) - Method in class kom.news.NewsClient
Gets body of an article
body(String) - Method in class kom.news.NewsClient
Gets body of an article
bodytext - Variable in class kom.gateway.Form
 
BOK - Static variable in class kom.gateway.KOMutil
 
bookmarks() - Method in class kom.gateway.News
Composes a "bookmarks" page for the current user
boundary - Variable in class kom.tools.web.HTTPClient
 
boundary - Variable in class kom.tools.web.HTTPResponse
 
BOUNDARY - Static variable in class kom.tools.web.HTTPResponse
 
BOUNDARYSTART - Static variable in class kom.gateway.KOMutil
 
broke - Variable in class kom.tools.web.HTTPResponse
 
buf - Variable in class kom.tools.web.ReadFile
 
Build - class kom.gateway.Build.
Displays a KOM object, handles the details of the GET operation
Build.KOMactivity - class kom.gateway.Build.KOMactivity.
Class representing an activity (forum, user, chat etc)
Build.KOMactivity(Build) - Constructor for class kom.gateway.Build.KOMactivity
Constructor
Build.KOMactivity(Build, String, String) - Constructor for class kom.gateway.Build.KOMactivity
Constructor
Build.KOMcategory - class kom.gateway.Build.KOMcategory.
Category object
Build.KOMcategory(Build) - Constructor for class kom.gateway.Build.KOMcategory
Default constructor
Build.KOMcategory(Build, String, String) - Constructor for class kom.gateway.Build.KOMcategory
Constructor
Build.KOMhome - class kom.gateway.Build.KOMhome.
Top (home) object class
Build.KOMhome(Build) - Constructor for class kom.gateway.Build.KOMhome
Creates a HOME object from database info
Build.KOMhome(Build, String) - Constructor for class kom.gateway.Build.KOMhome
Creates a HOME object from a text representation
Build.KOMmsg - class kom.gateway.Build.KOMmsg.
Class representing an individual KOM message
Build.KOMmsg(Build) - Constructor for class kom.gateway.Build.KOMmsg
 
Build.KOMmsg(Build, Build.KOMmsg) - Constructor for class kom.gateway.Build.KOMmsg
Clone
Build.KOMmsg(Build, String, String) - Constructor for class kom.gateway.Build.KOMmsg
Constructor
Build.KOMmt - class kom.gateway.Build.KOMmt.
Class common to threads and messages
Build.KOMmt(Build) - Constructor for class kom.gateway.Build.KOMmt
 
Build.KOMmt(Build, Build.KOMmt) - Constructor for class kom.gateway.Build.KOMmt
 
Build.KOMmt(Build, String, String) - Constructor for class kom.gateway.Build.KOMmt
 
Build.KOMquery - class kom.gateway.Build.KOMquery.
KOMquery allows the users of KOM2000 to specify an evaluation type query without having to specify the raw HTML text.
Build.KOMquery(Build) - Constructor for class kom.gateway.Build.KOMquery
Constructs a KOMquery with Paltmax and Pscalemax set to five.
Build.KOMquery(Build, boolean) - Constructor for class kom.gateway.Build.KOMquery
Constructs a KOMquery with the mode specified.
Build.KOMquery(Build, Build.KOMquery) - Constructor for class kom.gateway.Build.KOMquery
Clones a KOMquery.
Build.KOMquery(Build, String, String) - Constructor for class kom.gateway.Build.KOMquery
Constructs a KOMquery by fetching it from the query database.
Build.KOMsub - class kom.gateway.Build.KOMsub.
Common class for categories, activities, threads, etc
Build.KOMsub(Build) - Constructor for class kom.gateway.Build.KOMsub
 
Build.KOMsub(Build, Build.KOMsub) - Constructor for class kom.gateway.Build.KOMsub
Clone
Build.KOMsub(Build, String, String) - Constructor for class kom.gateway.Build.KOMsub
Constructor
Build.KOMthr - class kom.gateway.Build.KOMthr.
Class representing a KOM message thread.
Build.KOMthr(Build) - Constructor for class kom.gateway.Build.KOMthr
 
Build.KOMthr(Build, Build.KOMmsg) - Constructor for class kom.gateway.Build.KOMthr
Creates a KOMthr from a KOMmsg.
Build.KOMthr(Build, Build.KOMthr) - Constructor for class kom.gateway.Build.KOMthr
Clone
Build.KOMthr(Build, String, String) - Constructor for class kom.gateway.Build.KOMthr
Constructs object from ref or String representation
Build.KOMuser - class kom.gateway.Build.KOMuser.
User class
Build.KOMuser(Build) - Constructor for class kom.gateway.Build.KOMuser
 
Build.KOMuser(Build, String, String) - Constructor for class kom.gateway.Build.KOMuser
 
Build(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.Build
Constructor
build(String, String, char) - Method in class kom.gateway.Build
Constructs the response data for an action.
buildContents(Build.KOMactivity) - Method in class kom.gateway.NewsGroupData
Builds thread information for the newsgroup.
buildReferences(String[], String[], Hashtable) - Method in class kom.gateway.Build
Makes a vector of ids of messages referred to (recursively).
buildThreadEnds() - Method in class kom.gateway.Build.KOMactivity
Represents contents as a vector of KOMmsg[1], where the sole element of each array is the most recent of the messages in its thread
bytes - Variable in class kom.news.Overview
Size of article in bytes

C

cache - Static variable in class kom.gateway.DBHigh
Cache for form data
canonicalize(String) - Static method in class kom.news.NewsClient
Normalizes the argument to the form "host:port".
CastVote() - Method in class kom.gateway.Action
Records a vote
CAT - Static variable in class kom.gateway.KOMutil
Object types
catover(KomData) - Method in class kom.gateway.Grade
 
CDB - Variable in class kom.tools.web.GETResponse
 
CDFDN - Static variable in class kom.tools.web.POSTResponse
 
CHA - Static variable in class kom.gateway.KOMutil
 
changeClient(String) - Method in class kom.gateway.ClientObservable
Notify observers that client may have been changed
changeClient(String) - Method in class kom.gateway.Gateway
Client data change notification
changeEnvironment() - Method in class kom.gateway.KOMutil
Changes environment (associates environment with new user data).
Chat - class kom.gateway.Chat.
Displays a KOM object, handles the details of the GET operation
chat(KomData) - Method in class kom.gateway.Chat
Builds page for a chat activity
Chat(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.Chat
class constructor
chatFetch(KomData, String) - Method in class kom.gateway.Chat
 
chatHeader(KomData, String) - Method in class kom.gateway.Chat
Builds a header for a chat (announces new participant)
chatIndex(KomData) - Method in class kom.gateway.Chat
 
chatInput(KomData) - Method in class kom.gateway.Chat
 
chatList(KomData) - Method in class kom.gateway.Chat
 
chatOut(Vector, int, boolean) - Method in class kom.gateway.Chat
 
chatOutput(KomData, String, boolean) - Method in class kom.gateway.Chat
 
chatStore(String, KomData) - Method in class kom.gateway.Chat
 
check_rcpt(String) - Method in class kom.smtpd.SMTPHandler
 
checkActive() - Method in class kom.news.NewsClient
Checks if the server is active or can be made active
checkCDB() - Method in class kom.gateway.Build
Checks if CDB is set up, creates a part at a time if not.
checkEnter(KomData) - Method in class kom.gateway.Chat
 
checkHTML(String, KomData) - Method in class kom.gateway.Form
 
checkHTTP(String) - Method in class kom.gateway.Form
 
checkMail() - Method in class kom.gateway.GetMail
Checks for new mail and tries to deliver it to the "mailboxes" of the recipients, removing the mail files after delivery.
CheckMsgPwd() - Method in class kom.gateway.Action
Checks if the correct password is given for access to a message
checkNewMemb() - Method in class kom.gateway.News
Checks for new membership
checkNews(String, KomData) - Method in class kom.gateway.Action
When creating a newsgroup forum, tries to load latest news.
checkTag(String, Hashtable) - Method in class kom.gateway.Form
 
checkUnews(String) - Method in class kom.gateway.Build.KOMmt
Checks if obj is a Usenet News item.
checkUnseen(String, KomData) - Method in class kom.gateway.News
Checks if forum, category, or thread has unseen data.
checkVote(String, Hashtable) - Method in class kom.gateway.Form
 
cid - Variable in class kom.tools.web.Upload
 
cidReplace(StringBuffer, int) - Method in class kom.gateway.KOMutil
If there is any img src=.../cid:xxx or a href=.../cid:xxx tag in the buffer, the cid:xxx part will be replaced by a local file name.
cidTable - Static variable in class kom.gateway.KOMutil
Table of Content-Id vs local file ref
CL - Static variable in class kom.smtpd.NameFinder
 
CL - Static variable in class kom.tools.web.HTTPClient
 
cleanDrafts(String) - Method in class kom.gateway.DBHigh
Removes any left-over MIME-formatted draft files
cleanInfo - Variable in class kom.gateway.KOMutil.LookupTables
Clean InfoData if set
cleanInfoData() - Method in class kom.gateway.KOMutil.LookupTables
 
clientObservable - Variable in class kom.gateway.Gateway
 
ClientObservable - class kom.gateway.ClientObservable.
Container for clients
ClientObservable(int) - Constructor for class kom.gateway.ClientObservable
Constructor
CLO - Static variable in class kom.gateway.KOMutil
 
close - Variable in class kom.tools.web.HTTPResponse
 
close() - Method in class kom.news.NewsClient
Closes connection to remote host.
close() - Method in class kom.smtpd.NameFinder
Closes connection to remote host
close() - Method in class kom.tools.ipc.IPCConnection
Closes the current connection
close() - Method in class kom.tools.web.HTTPClient
Closes connection to remote host
close() - Method in class kom.tools.web.ReadFile
Closes the file
closed(ConnectionEvent) - Method in class kom.gateway.SendMail
 
code - Variable in class kom.news.NewsClient.Status
 
commented() - Method in class kom.gateway.Build.KOMsub
Finds out if this object refers to some other message
complete(String, String, Hashtable) - Method in class kom.gateway.Form
 
config - Static variable in class kom.gateway.DBLow
Server configuration data
config - Variable in class kom.gateway.Environment
Current server configuration
config - Static variable in class kom.gateway.Gateway
 
config - Variable in class kom.gateway.KOM
KOM configuration data
config - Variable in class kom.gateway.KOMutil
Configuration data for this server
config - Variable in class kom.gateway.NewsNotifier
 
config - Static variable in class kom.news.NewsClient
Configuration instance
config - Variable in class kom.smtpd.SMTPD
 
config - Variable in class kom.smtpd.SMTPHandler
Configuration data structure
config - Variable in class kom.tools.web.GETResponse
 
config - Variable in class kom.tools.web.HTTPClient
Configuration instance
config - Variable in class kom.tools.web.HTTPResponse
 
Config - class kom.tools.config.Config.
A class for managing all configuration parameters.
Config(String) - Constructor for class kom.tools.config.Config
Class constructor
conn(boolean, String) - Method in class kom.tools.web.HTTPClient
Sends data over the wire to the remote host, or just counts bytes.
connect(String, int) - Method in class kom.tools.ipc.IPCClient
Sets up a connection to a given server
connection - Variable in class kom.news.NewsClient
IP connection
connection - Variable in class kom.smtpd.NameFinder
IP connection
connection - Variable in class kom.smtpd.SMTPHandler
Connection to client
connection - Variable in class kom.tools.ipc.IPCClient
Connection to the server side
connection - Variable in class kom.tools.web.HTTPClient
IP connection
connectionMessage - Variable in class kom.smtpd.SMTPHandler
Message to be sent on connection from SMTP client.
cont - Variable in class kom.gateway.KomDataIterator
Vector of Strings (KomData String representations)
contains(String, String) - Method in class kom.gateway.Form
Checks if a string contains another string (delimited by ,-s)
contentCount(String) - Method in class kom.gateway.DBHigh
Counts valid cont* (content) records
contentHeaders(String, InputStream) - Method in class kom.gateway.Build
Defines content headers
contentType - Variable in class kom.tools.web.HTTPResponse
 
contType(Part, String, int) - Static method in class kom.gateway.KOMutil
Gets the primary or secondary type of a MIME part
convert2html(String) - Static method in class kom.gateway.EnrichedText
Converts "enriched" tags to HTML tags
copyFile(File, File) - Static method in class kom.tools.util.Util
Copies a file from one location to another
copyFile(String, String) - Static method in class kom.tools.util.Util
Copies a file from one location to another
copyParts(MimeMultipart, MimeMultipart, MimeBodyPart, String) - Method in class kom.gateway.Build
Copies body parts from a multipart to another multipart, excluding parts whose Content-Id is not referred from the text.
count - Variable in class kom.news.NewsGroup
(approx) count of available articles
countDelimiters(StringBuffer, char) - Static method in class kom.news.NewsUtil
Counts number of delimiters in a StringBuffer
countDelimiters(String, String) - Static method in class kom.news.NewsUtil
Counts number of delimiters in a string
countmod(String) - Method in class kom.gateway.News
Counts entries to be moderated.
CR - Static variable in class kom.gateway.Action
 
Create() - Method in class kom.gateway.Action
Creates some object (category, forum, message, etc)
create(Object) - Static method in class kom.gateway.KomData
Creates a KomData object from an Object (String or KomData instance)
create1(KomData, String, String, String) - Method in class kom.gateway.Action
 
createArea(String) - Method in class kom.gateway.DBLow
Creates object area (directory).
createCategory - Variable in class kom.gateway.ServerConfig
True if anybody should be able to create a category
CreateForm() - Method in class kom.gateway.Action
Creates a query object
createForum - Variable in class kom.gateway.ServerConfig
True if anybody should be able to create a forum
createForum(Build.KOMquery) - Method in class kom.gateway.Action
Creates a new forum in the Kom database.
createNews(String, KomData) - Method in class kom.gateway.DBHigh
Create a new news file for a user
createObject(String) - Method in class kom.gateway.Action
Creates an object which is an instance of KomData or a subclass of KomData, depending on the type parameter.
createQueryAnon - Variable in class kom.gateway.ServerConfig
True if anonymous user should be able to create a query
createvote() - Method in class kom.gateway.Build.KOMactivity
 
cretab(String, String, KomData) - Method in class kom.gateway.Grade
 
creUser(String) - Method in class kom.gateway.Action
Creates a user object from userData
CRLF - Static variable in class kom.gateway.Action
 
CTCOLSP - Static variable in class kom.tools.web.POSTResponse
 
curform - Variable in class kom.gateway.Form
 
curMidTable - Variable in class kom.gateway.NewsGroupData
Message id vs local message/thread
curNgd - Static variable in class kom.gateway.KOMutil
Data for current newsgroup (Usenet News)
curr - Variable in class kom.news.NewsGroup
Current article
curract - Variable in class kom.gateway.Build
Current activity
currDom - Variable in class kom.smtpd.SMTPHandler
 
currentMessage - Variable in class kom.gateway.GetMail.MessageDelivery
Current message in parsed format
currentNewsGroup - Variable in class kom.news.NewsClient
 
currentParameter - Variable in class kom.tools.config.Config
Current parameter
currentSection - Variable in class kom.tools.config.Config
Current configuration section
currTime() - Static method in class kom.tools.util.Util
Creates a string representing current time
cursor - Variable in class kom.gateway.Environment
Identifies current user session
cursor - Variable in class kom.tools.web.HTTPResponse
 
curThreads - Variable in class kom.gateway.NewsGroupData
Representation of current threads
curThrId - Variable in class kom.gateway.NewsGroupData
Local id of current thread
curThrInd - Variable in class kom.gateway.NewsGroupData
Index in curThreads of current thread

D

darkColor - Variable in class kom.gateway.ServerConfig
Colour code for dark background and some links in HTML pages
data - Variable in class kom.gateway.ClientObservable
Table of clients
data - Variable in class kom.gateway.MsgIdTable
 
data - Variable in class kom.gateway.StringList
 
data - Variable in class kom.tools.ipc.IPCBuffer
 
data - Variable in class kom.tools.web.ObservableVector
Vector of Objects
data() - Method in class kom.smtpd.SMTPHandler
Handles the DATA command and collect the message data following that command.
date - Variable in class kom.news.Overview
Date in ?? format
dateformat - Static variable in class kom.news.Overview
 
db - Variable in class kom.gateway.MsgIdTable
 
DBHigh - class kom.gateway.DBHigh.
High (or intermediate) level database handling
DBHigh(ServerConfig) - Constructor for class kom.gateway.DBHigh
Class constructor
DBLow - class kom.gateway.DBLow.
Low level database handling
DBLow(ServerConfig) - Constructor for class kom.gateway.DBLow
Class constructor
debugLog(String) - Method in class kom.gateway.DBLow
 
debugLog(String) - Method in class kom.gateway.GetMail
 
debugLog(String) - Method in class kom.gateway.KomData
 
debugLog(String) - Static method in class kom.tools.web.HTTPConfig
Writes to a debug log defined by the configuration
debugLogFile - Static variable in class kom.tools.web.HTTPConfig
 
debugWriter - Static variable in class kom.tools.web.HTTPConfig
 
decodeText(String) - Method in class kom.gateway.KOMutil
Decodes strings encoded according to RFC 2047.
defaultMimeIcon - Static variable in class kom.tools.web.MimeType
 
defaultMimeType - Static variable in class kom.tools.web.MimeType
 
defaultNewsPort - Variable in class kom.news.NewsConfig
 
defaultNewsServer - Variable in class kom.news.NewsConfig
 
defaultThreads - Variable in class kom.smtpd.SMTPConfig
 
defaultThreads - Variable in class kom.tools.web.HTTPConfig
 
delete(KomData) - Method in class kom.gateway.Build
Shows result of delete operation, and records the operation.
deleteClient(String) - Method in class kom.gateway.ClientObservable
Removes client from observables
deleteClient(String) - Method in class kom.gateway.Gateway
Deletes a client with the specified cursor
deleted() - Method in class kom.gateway.Build.KOMmsg
 
deleted(KomData) - Static method in class kom.gateway.KOMutil
Checks if an item has been marked for deletion
deleted(KomData) - Method in class kom.gateway.KomDataIterator
Checks if an item has been marked for deletion
deleteObj(KomData) - Method in class kom.gateway.Action
Marks a message as deleted.
deleteThreadObserver(Observer) - Method in class kom.smtpd.SMTPD
Removes the thread observer
delim - Variable in class kom.gateway.StringList
 
delimiter - Variable in class kom.tools.web.POSTResponse
 
deliver(GetMail.MessageDelivery) - Method in class kom.gateway.GetMail
Looks up recipients and tries to deliver message from mail file.
deliverMail(GetMail.MessageDelivery) - Method in class kom.gateway.GetMail
Looks up recipients and tries to deliver message from mail file (mailSpoolFile) to recipients according to the mailTo vector.
denied - Variable in class kom.tools.access.AccessControl
 
denyHosts - Variable in class kom.tools.web.HTTPConfig
 
depth(String) - Method in class kom.gateway.DBHigh
Determines the "depth" of a URL by counting slashes.
desc - Variable in class kom.tools.web.Upload
 
destroy() - Method in class kom.gateway.KOM
The destroy method Destroys the servlet, cleaning up whatever resources are being held, and logs the destruction in the servlet log file.
DIC - Static variable in class kom.gateway.KOMutil
 
disconnected(ConnectionEvent) - Method in class kom.gateway.SendMail
 
dispActNews(String, String, boolean) - Method in class kom.gateway.News
Shows news in a category or activity.
dispall(Build.KOMthr, Build.KOMmsg) - Method in class kom.gateway.Build.KOMactivity
Shows a thread as part of a complete message list
dispatcher - Variable in class kom.smtpd.SMTPD
 
dispauth(KomData) - Method in class kom.gateway.Form
 
dispbody(String, KomData) - Method in class kom.gateway.Form
Adds body text to page buffer.
dispBook(String) - Method in class kom.gateway.News
Shows bookmarks
dispCategories(String, boolean) - Method in class kom.gateway.Build.KOMquery
Outputs a SELECT form for choosing category
dispCatNews() - Method in class kom.gateway.News
Shows news in a category.
dispcheck(String, String) - Method in class kom.gateway.Form
Adds " checked" to the desired choice.
dispcont(int) - Method in class kom.gateway.Build.KOMhome
Displays contents of the home object.
dispcont(int) - Method in class kom.gateway.Build.KOMcategory
Displays contents of the category.
dispcont(int[]) - Method in class kom.gateway.Build.KOMactivity
Displays contents of a forum or a user mailbox
dispcreate(String) - Method in class kom.gateway.Build.KOMcategory
Displays a form for forum/chat creation
dispdelete(KomData) - Method in class kom.gateway.Build
Displays special forms if "delete=yes" or "delete=question" or "delete=expunge" are part of the invoking url, otherwise shows a "normal" form
dispexcl(KomData) - Method in class kom.gateway.Build
Displays an index page showing members in an activity
dispForm() - Method in class kom.gateway.Build.KOMquery
Outputs an HTML version of the resulting query form.
dispFormContent() - Method in class kom.gateway.Build.KOMquery
Outputs an HTML version of the contents of the resulting queryform (this is not really an HTML form).
dispForumNews() - Method in class kom.gateway.News
Shows news in a forum.
dispgen(KomData) - Method in class kom.gateway.Build.KOMsub
Displays a genealogy tree
disphelp() - Method in class kom.gateway.Build
Displays a help page (in English or Swedish depending on the dialogue language parameter in userData).
dispinfo(String, boolean) - Method in class kom.gateway.Build
Displays an index page showing users and forums
display() - Method in class kom.gateway.KomData
 
display(String) - Method in class kom.gateway.Action
Causes the page corresponding to the uri to be displayed
display(String, String) - Method in class kom.gateway.Action
Causes the page corresponding to the uri to be displayed
dispLetterNews() - Method in class kom.gateway.News
 
displimits(String, String) - Method in class kom.gateway.Build.KOMactivity
Computes contents limits
displinks() - Method in class kom.gateway.Build.KOMmsg
Shows marriage links
displist() - Method in class kom.gateway.Build.KOMthr
Displays thread TOC (one line per message)
dispLocation - Variable in class kom.gateway.ServerConfig
If set, rely on the Location header to cause the page to be displayed
displogin(KomData) - Method in class kom.gateway.Build
Displays a login page
dispMailMessage(String, KomData, StringBuffer) - Method in class kom.gateway.KOMutil
Displays an email message.
dispmain() - Method in class kom.gateway.Build
Displays top (main) menu bar.
dispmemb() - Method in class kom.gateway.Build.KOMsub
Shows member list
dispmenu() - Method in class kom.gateway.Build.KOMhome
Displays the menu for the database "home page"
dispmenu() - Method in class kom.gateway.Build.KOMcategory
Displays a category menu
dispmenu() - Method in class kom.gateway.Build.KOMactivity
Displays the standard forum menu items
dispmenu() - Method in class kom.gateway.Build.KOMuser
Displays the standard menu items
dispmenu() - Method in class kom.gateway.Build.KOMthr
Displays menu for a thread
dispModNews() - Method in class kom.gateway.News
Shows any messages waiting for moderator decision
dispMods(String, boolean) - Method in class kom.gateway.News
Shows any "unmoderated" messages in an activity
dispname(String, KomData, String) - Method in class kom.gateway.Form
Displays a name in the current HTML page buffer.
dispNewsArticle(StringBuffer) - Method in class kom.gateway.Build.KOMmt
Displays a Usenet News article
dispnext(int, int) - Method in class kom.gateway.Build.KOMmsg
Creates links to previous and next message in thread, and to next unread, whatever is relevant.
dispnormal() - Method in class kom.gateway.Build.KOMquery
Outputs an HTML version of the query to the output buffer defined in classes above.
dispnormal(KomData) - Method in class kom.gateway.Build
Creates the "normal" part of the page for an object
dispparent(KomData, String) - Method in class kom.gateway.Build
Shows data for a parent
disppart(int) - Method in class kom.gateway.Build.KOMthr
Displays a message (a thread part)
dispPersNews(long, int) - Method in class kom.gateway.News
Composes (in the current display buffer) any personal news as a plain or html-formatted text.
dispPreview() - Method in class kom.gateway.Build.KOMquery
Shows a preview of the query form
disppreview(KomData) - Method in class kom.gateway.Build
Shows the header part of a message/presentation text preview
disppriv() - Method in class kom.gateway.Build.KOMuser
Displays a page private to the user: message preview, composition, or personal messages
disppriv() - Method in class kom.gateway.KomData
 
disprecs(KomData) - Method in class kom.gateway.Build
Displays recipients
dispreg() - Method in class kom.gateway.Build
Displays page for registration
dispSavedNews() - Method in class kom.gateway.News
Shows any outstanding drafts
dispSavedQueries() - Method in class kom.gateway.News
Shows unpublished queries
dispselect(String, String) - Method in class kom.gateway.Form
Adds " selected" to the desired selection item.
dispthread() - Method in class kom.gateway.Build.KOMthr
Displays all messages in the thread
disptype(String, String) - Method in class kom.gateway.Form
Shows object type in HTML form or adds a check mark to a choice.
dispview() - Method in class kom.gateway.Build.KOMactivity
Displays view (sub-forum) records
distribute(KomData, String) - Method in class kom.gateway.Action
Distributes an object to its recipients
DLMS - Variable in class kom.tools.web.POSTResponse
 
doAction() - Method in class kom.gateway.KOMutil
Adds a client to the gateway if there is no client for this connection.
doGet(HttpServletRequest, HttpServletResponse) - Method in class kom.gateway.KOM
Handles a GET request
doLogin(String, String) - Method in class kom.gateway.Build
Establishes a new current user.
doPost(HttpServletRequest, HttpServletResponse) - Method in class kom.gateway.KOM
Handles a POST request
doRating - Variable in class kom.gateway.ServerConfig
If true, deploy rating additions to HTML pages
duplicate - Variable in class kom.gateway.GetMail.MessageDelivery
True if message was determined to exist already (a duplicate)

E

edistribute(KomData) - Method in class kom.gateway.GetMail
Distributes an incoming email message to its recipients
email2userRef(String) - Method in class kom.gateway.KOMutil.UFtable
Finds the first user reference corresponding to the email address in the info database.
email2userRef(String) - Method in class kom.gateway.KOMutil.LookupTables
Finds the first user reference corresponding to the email address in the info database.
emailCheck(String) - Method in class kom.gateway.Action
Makes sure of no illegal characters (i e embedded spaces) in an e-mail address.
emailTab - Variable in class kom.gateway.KOMutil.LookupTables
Table of email addresses vs user or forum data
EnrichedText - class kom.gateway.EnrichedText.
This code is taken from RFC1896: The text/enriched MIME Content-type, by P Resnick and A.
EnrichedText() - Constructor for class kom.gateway.EnrichedText
Constructor
enter(String, String) - Method in class kom.gateway.Chat
 
environment - Variable in class kom.gateway.KOMutil
Data for the current client
Environment - class kom.gateway.Environment.
Environment data for a client session
Environment(Gateway, ServerConfig) - Constructor for class kom.gateway.Environment
Constructor
eos - Variable in class kom.tools.web.ReadFile
 
equal(String, String) - Static method in class kom.gateway.KOMutil
Compares strings, null-safe
equal(String, String) - Static method in class kom.tools.util.Util
Compares strings, null-safe
error(String) - Method in class kom.gateway.GetMail.MessageDelivery
 
errorCode - Variable in class kom.tools.config.Config
 
errorFile - Variable in class kom.tools.web.HTTPConfig
 
errorLine - Variable in class kom.tools.config.Config
 
errorLog(String) - Method in class kom.gateway.DBLow
 
errorLog(String) - Method in class kom.gateway.KomData
 
errorLog(String) - Static method in class kom.tools.web.HTTPConfig
Writes to a log defined by the configuration
errorMessage - Variable in class kom.gateway.GetMail.MessageDelivery
Delivery error message
errorMessage - Variable in class kom.smtpd.SMTPHandler
Possible error message
errorMsg(String, String) - Method in class kom.smtpd.SMTPConfig
Configuration error message
errorMsg(String, String) - Method in class kom.tools.web.HTTPConfig
 
establishId() - Method in class kom.gateway.Build.KOMsub
Synchronizes id, parent with "Pid" value
excluded(KomData) - Method in class kom.gateway.KOMutil
Finds out if current user has been excluded from an activity.
existingMessage(String) - Method in class kom.gateway.GetMail.MessageDelivery
Removes spool file for existing message
expand() - Method in class kom.gateway.Build.KOMactivity
Fills this object with content (threads)
expand() - Method in class kom.gateway.Build.KOMthr
Creates msgs array from thread data
expunge(KomData) - Method in class kom.gateway.Build
Shows result of expunge operation, and records the operation.
expungeFile(File) - Method in class kom.gateway.DBLow
Deletes a file.
expungeRef(String) - Method in class kom.gateway.DBHigh
Deletes all files accessed via a reference (directory and subdirs)
extra - Variable in class kom.tools.web.Upload
 

F

failed(String) - Method in class kom.smtpd.SMTPHandler
Sends a failure message to the SMTP client
fetchGrade(int, int, KomData, KomData, String, boolean) - Method in class kom.gateway.Grade
 
fetchNews(String) - Method in class kom.gateway.KOMutil
Fetches news for the current user in the current activity.
fetchRate(int, int, KomData, KomData, String) - Method in class kom.gateway.Grade
 
FILE_OPEN_ERROR - Static variable in class kom.tools.config.Config
 
File2Stream(File) - Method in class kom.gateway.DBLow
Makes an InputStream from a File
File2String(File) - Method in class kom.gateway.DBLow
Gets contents of a File
fileName - Variable in class kom.tools.config.Config
Configuration file path
fileName - Variable in class kom.tools.web.Upload
 
FILENAME_KEY - Static variable in class kom.tools.web.POSTResponse
 
fileName() - Method in class kom.tools.web.Upload
Gets the path of the original file
fileToDelete - Variable in class kom.tools.web.HTTPResponse
 
finalize() - Method in class kom.gateway.MsgIdTable
 
finalize() - Method in interface kom.tools.web.HTTPRequestParser
Removes the temporary request file
finalize() - Method in class kom.tools.web.POSTResponse
Removes the temporary request file
finalize() - Method in class kom.tools.web.Upload
Removes the temporary file by finalization
find(String) - Method in class kom.gateway.KOMutil.UFtable
Finds a local object with specific local id
findAllowed(String) - Method in class kom.tools.access.AccessControl
Checks if access is allowed from a host
findContent(String) - Method in class kom.gateway.DBHigh
Finds data in the file database
findDenied(String) - Method in class kom.tools.access.AccessControl
Checks if access from host will be denied
findDraft(String, String) - Method in class kom.gateway.DBHigh
Finds data for a draft (uncommitted entry)
findDraftData(String, String) - Method in class kom.gateway.DBHigh
Finds data for a draft (uncommitted entry)
findDraftObject(String, String) - Method in class kom.gateway.Action
Creates an object from a draft
findEmail(String) - Method in class kom.gateway.KOMutil.LookupTables
Finds an entry in emailTab corresponding to a given e-mail address
findId(String) - Method in class kom.gateway.KOMutil
Tries to find the object corresponding to a "mailbox" id.
findId(String, boolean) - Method in class kom.gateway.KOMutil
Tries to find the object corresponding to a "mailbox" id.
findInfo() - Method in class kom.gateway.DBHigh
Finds data in the file database
findInfoData() - Method in class kom.gateway.KOMutil.LookupTables
Gets the current value of infoData, updates secondary tables
findlocal(String) - Method in class kom.gateway.KOMutil
Finds a local recipient
findlocal(String) - Method in class kom.gateway.KOMutil.LookupTables
Finds a local recipient
findLogin(String) - Method in class kom.gateway.KOMutil
Finds a user from login id
findLogin(String) - Method in class kom.gateway.KOMutil.LookupTables
Finds a user from login id
findMemb(String) - Method in class kom.gateway.DBHigh
Finds member data for an activity
findNews(String) - Method in class kom.gateway.DBHigh
Finds news data for a user
findObject(String) - Method in class kom.gateway.DBHigh
Finds data in the file database
findObject(String, String) - Method in class kom.gateway.DBHigh
Finds data in the file database
findOwner(String) - Method in class kom.gateway.KOMutil
Finds out "who owns" an object
findPart(String, String) - Method in class kom.gateway.DBLow
Looks up a part in msgParts or as a file
findQuery(String, String) - Method in class kom.gateway.DBHigh
Retrieves a query from the query database.
findRef(String) - Method in class kom.gateway.Action
 
findShort(String) - Method in class kom.gateway.KOMutil.LookupTables
Finds a shortname from a reference (INEFFICIENTLY!)
findUser(String) - Method in class kom.gateway.KOMutil
Finds info data for a user.
findUser(String) - Method in class kom.gateway.KOMutil.LookupTables
Finds info data for a user.
first - Variable in class kom.news.NewsGroup
First available article
firstArticle - Variable in class kom.gateway.NewsGroupData
First available article number
Form - class kom.gateway.Form.
HTML forms (templates) handling for the KOM 2000 system
Form(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.Form
Class constructor
form(String) - Method in class kom.gateway.Form
Finds a template text and adds it to the current HTML buffer after performing any transformations indicated by special markup strings.
form(String, KomData) - Method in class kom.gateway.Form
Finds a template text and adds it to the current HTML buffer after performing any transformations indicated by special markup strings.
form(String, KomData, String) - Method in class kom.gateway.Form
Finds a template text and adds it to the current HTML buffer after performing any transformations indicated by special markup strings.
form(String, String) - Method in class kom.gateway.Form
Finds a template text and adds it to the current HTML buffer after performing any transformations indicated by special markup strings.
format - Variable in class kom.gateway.News
Formatting code: REGULAR, HTML, PLAIN
format(Date, String) - Static method in class kom.tools.web.ParseDate
Formats a Date
formcodes - Variable in class kom.gateway.Form
Special variable, may contain codes used in interpreting a template
formDebug - Variable in class kom.gateway.ServerConfig
If true, ids of used form templates are shown in HTML comments
formsegment(String, int, int, KomData) - Method in class kom.gateway.Form
Handles a segment of a form (template).
forward(KomData, int) - Method in class kom.gateway.Build.KOMthr
Copies a thread (or a single message) to a (new) recipient.
freeThreads - Variable in class kom.smtpd.SMTPD
 
frm - Variable in class kom.gateway.QueryElement
Form (template) id
from - Variable in class kom.news.Overview
Author
from - Variable in class kom.smtpd.SMTPHandler
 
from - Variable in class kom.smtpd.SMTPRequestLog
MAIL FROM:
fSep - Static variable in class kom.gateway.DBLow
 
fSeparator - Static variable in class kom.gateway.DBLow
File path separator, e g "/" in Unix, "\" in Windows
fSeparator - Static variable in class kom.tools.web.HTTPClient
 
fSeparator - Variable in class kom.tools.web.HTTPConfig
 
fTable - Variable in class kom.gateway.KOMutil.LookupTables
Table of forums (extracted from infoData)
fullover() - Method in class kom.gateway.Build.KOMactivity
 
fullServletBase - Variable in class kom.gateway.Gateway
 

G

gateway - Variable in class kom.gateway.Environment
Thread supervisor
gateway - Variable in class kom.gateway.KOM
 
gateway - Variable in class kom.gateway.KOMutil
Client supervisor
gateway - Variable in class kom.tools.web.HTTPResponse
 
Gateway - class kom.gateway.Gateway.
Gateway is a class containing all state information for connected clients.
Gateway() - Constructor for class kom.gateway.Gateway
Default constructor
gavePassword - Static variable in class kom.gateway.KOMutil
Shows which users have access to specific items
GEN - Static variable in class kom.gateway.KOMutil
 
get(String) - Method in class kom.gateway.KomData
Gets a String value
get(String) - Method in class kom.news.OverviewTable
 
get(String) - Method in class kom.smtpd.NameFinder
Sends a GET request to remote host
get(String) - Method in interface kom.tools.web.HTTPRequestParser
Gets the value of a parameter contained in the request.
get(String) - Method in class kom.tools.web.HTTPResponse
Gets the value of a parameter contained in the query string.
getAct(String) - Method in class kom.gateway.Build
Gets activity object from an object reference.
getActId(String) - Method in class kom.gateway.KOMutil
Gets activity id from an object reference.
getAddress(KomData, String) - Method in class kom.gateway.Action
Gets addresses from To: and Cc: form input text fields.
getAllData(String) - Method in class kom.gateway.KomData
Parses a String as a KomData representation
getAllRecs(KomData) - Method in class kom.gateway.Action
Gathers recipients for an object from the submission form
getAreaResult(KomData, String, boolean) - Method in class kom.gateway.Form
 
getArticle(String, String, String) - Method in class kom.news.NewsClient
Gets the full text of a news article as a StringBuffer
getBDATA(String, String, int) - Method in class kom.gateway.KomData
Parses a counted data field
getBoard(String) - Method in class kom.gateway.Action
Gets "board id" (object classification)
getCDATA(String, String, int) - Method in class kom.gateway.KomData
Parses a LF-delimited data field
getClient(String) - Method in class kom.gateway.ClientObservable
Finds client environment
getClient(String) - Method in class kom.gateway.Gateway
Gets a client with specified cursor
getClientObservable() - Method in class kom.gateway.Gateway
Gets clientObservable
getClients() - Method in class kom.gateway.Gateway
Gets a copy of the client table
getcom(String) - Method in class kom.gateway.NewsGroupData
Finds an object referred to by some msgid in a list
getcont(String) - Method in class kom.gateway.KOMutil
Gets a contents table, no access control.
getcont(String, KomData) - Method in class kom.gateway.KOMutil
Gets a contents table.
getContentId() - Method in class kom.tools.web.Upload
Gets a Content-Id of the uploaded data
getContents() - Method in class kom.tools.web.Upload
Gets contents as an InputStream
getcontV(String) - Method in class kom.gateway.KOMutil
Gets a contents Vector, no access control.
getcontV(String, KomData) - Method in class kom.gateway.KOMutil
Gets a contents Vector.
getCurNgd() - Method in class kom.gateway.KOMutil
Gets current NewsGroupData instance
getCursor() - Method in class kom.gateway.Environment
Gets current client id
getdata() - Method in class kom.gateway.MsgIdTable
Gets table from file
getData(String) - Static method in class kom.gateway.KomData
Constructs a KomData object from a String
getDescription() - Method in class kom.tools.web.Upload
Gets contentDescription
getElem(Vector, int) - Static method in class kom.gateway.KomData
Constructs a KomData object from a String Vector element
getEmail(String, String, String) - Method in class kom.gateway.Action
Determines user email address and saves it in userData.
getError() - Method in class kom.news.NewsClient
Gets the current error message String
getEvaluation(KomData, String) - Method in class kom.gateway.Grade
 
getExtra() - Method in class kom.tools.web.Upload
Gets extra data
getFile(String) - Method in class kom.gateway.DBLow
Defines (file) path corresponding to an object
getFileContents(String) - Method in class kom.gateway.DBLow
Gets contents of a file
getFileStream(String) - Method in class kom.gateway.DBLow
Finds data in the file database
getFileType(String) - Static method in class kom.tools.web.MimeType
Tries to associate a file type with a MIME type
getFirst() - Method in class kom.news.NewsClient
Gets first available article number in current newsgroup
getForm(String, String) - Method in class kom.gateway.Form
Creates an HTML-formatted String from a template.
getFormContents(String) - Method in class kom.gateway.DBHigh
Gets data for a form (HTML template)
getFrom(KomData) - Method in class kom.gateway.SendMail
Determines an InternetAddress[] for From data.
getgrade(String, KomData, int[], String) - Method in class kom.gateway.Grade
 
getGroupName() - Method in class kom.news.NewsClient
Gets the current group name, or null
getHandler() - Method in class kom.smtpd.SMTPDispatcher
 
getHeaderRecs(KomData, MimeMessage, String[]) - Method in class kom.gateway.GetMail
 
getHelp() - Method in class kom.news.NewsClient
Gets the standard help text from the server
getHelp(String) - Method in class kom.gateway.ServerConfig
Gets the name of the html help file for the specified html page (type)
getHier(KomData) - Method in class kom.gateway.Build
Sets up userData to reflect current object hierarchy.
getHTML(String, Hashtable) - Method in class kom.gateway.Form
 
getHttpSession() - Method in class kom.tools.web.HTTPResponse
Gets current HttpSession
getId() - Method in class kom.gateway.NewsGroupData
Returns local ref for this newsgroup
getId() - Method in class kom.smtpd.SMTPHandler
Gets the id of the thread
getId() - Method in class kom.tools.web.Upload
Gets the id of the uploaded data
getInputStream() - Method in class kom.tools.ipc.IPCConnection
Returns the input stream
getInt(String) - Static method in class kom.tools.util.Util
Gets the value of a string in Integer format
getInt(String, int) - Static method in class kom.tools.util.Util
Gets the value of a string in Integer format
getInterval(KomData) - Method in class kom.gateway.NewsNotifier
Gets value of desired news checking interval.
getItemString() - Method in class kom.gateway.KomDataIterator
Returns String corresponding to the value of next().
getKeyList() - Method in class kom.gateway.KomData
Generator for key names.
getKeys() - Method in class kom.gateway.KomData
Gets the key names.
getKOMmsg() - Method in class kom.gateway.Build
Creates an empty KOMmsg object
getKOMmsg(Vector, int) - Method in class kom.gateway.Build
Creates a KOMmsg object from a vector element
getLast() - Method in class kom.news.NewsClient
Gets last available article number in current newsgroup
getLastAccess() - Method in class kom.gateway.Environment
Gets last access time for current user
getList() - Method in class kom.news.NewsClient
Gets a list of lines (up to a "." line) from the server
getLocal(String) - Method in class kom.gateway.MsgIdTable
Translates message id to internal object reference
getLocations() - Method in class kom.gateway.Build.KOMquery
Gets references to forums where the query will be posted.
getLoginDate() - Method in class kom.gateway.Environment
Gets the login date and time
getLogInfo() - Method in class kom.smtpd.SMTPRequestLog
Format log entry as a string: R: [date] to receiver(s) from sender mboxPath msg
getLong(String, long) - Static method in class kom.tools.util.Util
Gets the Long value of the input string
GetMail - class kom.gateway.GetMail.
Handles incoming mail to persons or forums in the database
GetMail.MessageDelivery - class kom.gateway.GetMail.MessageDelivery.
Methods for delivering a message to one or more recipients in the database
GetMail.MessageDelivery(GetMail, String) - Constructor for class kom.gateway.GetMail.MessageDelivery
Constructor
GetMail(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.GetMail
Constructor.
getMaxClientObservable() - Method in class kom.gateway.Gateway
Gets maxClientObservable
getmemb(String, KomData) - Method in class kom.gateway.KOMutil
Gets a member table.
getMessageId(String) - Method in class kom.gateway.Build
Gets a message id from a thread part reference
getMimeIcon(String) - Static method in class kom.tools.web.MimeType
Gets the name of the icon file for this MIME type
getMimeRef(KomData) - Method in class kom.gateway.Build
 
getMimeType(String) - Static method in class kom.tools.web.MimeType
Tries to determine the MIME type corresponding to a file name
getModificationData() - Method in class kom.tools.web.GETResponse
Gets data for checking on object modification.
getMsgParts(KomData) - Method in class kom.gateway.KOMutil
 
getMsgs() - Method in class kom.gateway.Build.KOMthr
Gets message array (actual thread)
getMsgText(MimePart, int) - Method in class kom.gateway.KOMutil
Gets the text of the n-th part of a multipart.
getMt(String) - Method in class kom.gateway.Build
Gets message or thread
getName() - Method in class kom.gateway.KomData
Gets value of "Cname"
getNews(String) - Method in class kom.gateway.KOMutil
Gets news data from an (activity) object.
getNewsArticle(StringBuffer) - Method in class kom.gateway.Build.KOMmt
Gets a NEWS article
getNewsAuth(String) - Static method in class kom.gateway.KOMutil
Finds {user id, password} for access of an NNTP server.
getNewsClient(Build.KOMactivity, StringBuffer) - Method in class kom.gateway.Build
Establishes a NewsClient for a (newsgroup) activity.
getNewsClient(NewsClient, String, ServerConfig, String, String) - Static method in class kom.news.NewsClient
Retrieves or creates the current NewsClient instance
getNewsGroupData(String) - Method in class kom.gateway.Build
Defines current newsgroup (curNgd = NewsGroupData instance)
getNewsText(StringBuffer, String) - Method in class kom.gateway.Build.KOMmt
Gets a news article from a news server or from a saved copy.
getNntp() - Method in class kom.news.NewsClient
Gets nntphost:port
getNotif(String, long, int) - Method in class kom.gateway.NewsNotifier
Gets a notice text for a "user" in String form.
getobj(String) - Method in class kom.gateway.KOMutil
Gets data for an object.
getObj(String) - Method in class kom.gateway.Build
Gets an object (a subtype of KomData)
getObject() - Method in class kom.gateway.ClientObservable
Gets data table
getObject() - Method in class kom.gateway.NumberObservable
Gets current number object
getObject() - Method in class kom.smtpd.SMTPHandler
Observable method implementation
getObject() - Method in class kom.tools.web.ObservableVector
Implements Observable.getObject()
getObject(int) - Method in class kom.gateway.KOMutil.UFtable
Gets full object at index
getobject(String) - Method in class kom.gateway.KOMutil
Gets data for an object, no access checking.
getold(String) - Method in class kom.gateway.KOMutil
Gets old data for an object
getOutputStream() - Method in class kom.tools.ipc.IPCConnection
Returns the output stream
getOutputStream() - Method in class kom.tools.web.Upload
Gets the output stream (enables writing)
getOutputText() - Method in class kom.gateway.Form
Gets a reference to the current html output page buffer
getOverviewFormat() - Method in class kom.news.NewsClient
Gets the format of overview data
getPara(String, String, boolean) - Method in class kom.tools.config.Config
Gets a boolean parameter by name and section.
getPara(String, String, int) - Method in class kom.tools.config.Config
Gets a parameter (an integer number) by name and section
getPara(String, String, String) - Method in class kom.tools.config.Config
Gets a String parameter by name and section
getPara(String, String, String[]) - Method in class kom.tools.config.Config
Gets a String[] parameter by name and section
getParameters() - Method in class kom.tools.config.Section
 
getParent(String) - Method in class kom.gateway.KOMutil
Gets the next higher level from a reference string
getPart(String) - Method in class kom.gateway.KOMutil
Gets the last level from a reference string
getPath(String) - Method in class kom.gateway.DBLow
Defines path corresponding to an object.
getPDATA(String, String, int) - Method in class kom.gateway.KomData
Parses a space-delimited data field
getQryDefault() - Method in class kom.gateway.DBHigh
Gets default value fields for a query
getQryValues() - Method in class kom.gateway.Form
Returns a Vector of KomData.toString() values, containing one value each, with key = "Bscaletext".
getQueries(String) - Method in class kom.gateway.DBHigh
 
getRead(String) - Method in class kom.gateway.News
Returns number of seen entries in an activity/category/thread.
getRecipients() - Method in class kom.gateway.GetMail.MessageDelivery
Finds local recipients from envelope data
getRecop(KomData) - Method in class kom.gateway.Build
Makes a recipient operation
getRecs(KomData, String) - Method in class kom.gateway.Action
Updates message recipients from form data.
GETResponse - class kom.tools.web.GETResponse.
Response to GET request
GETResponse(HttpServletRequest, HttpServletResponse, ServerConfig, Gateway) - Constructor for class kom.tools.web.GETResponse
Class constructor for responding to a GET request
getResponseData() - Method in class kom.tools.web.GETResponse
Gets an InputStream for the given URL.
getResponseData() - Method in class kom.tools.web.HTTPResponse
Assembles response data, returning it as an InputStream
getResponseData() - Method in class kom.tools.web.POSTResponse
Creates InputStream for result of POST request.
getResultBox(KomData, String, String, boolean) - Method in class kom.gateway.Form
 
getResultText(KomData, String, boolean) - Method in class kom.gateway.Form
 
getSections() - Method in class kom.tools.config.Config
 
getSelect1(String, String, String) - Method in class kom.gateway.Form
 
getSelect2(String, String, String) - Method in class kom.gateway.Form
 
getSelectResult(KomData, String, Vector, boolean) - Method in class kom.gateway.Form
 
getSender(KomData) - Method in class kom.gateway.SendMail
 
getseq(String) - Method in class kom.gateway.DBHigh
Gets the next free sequence number for a ref.
getShort(String, String, KomData, String) - Method in class kom.gateway.Action
Gets a short name, suitable as mailbox part of an email address, for the new object.
getSimpleFileName(Part) - Method in class kom.gateway.KOMutil
Gets a filename for a (Message) Part, with directory information stripped.
getSimpleFileName(String) - Method in class kom.gateway.KOMutil
Strips directory information from a file path The name is converted to HTML-safe form
getSpool() - Method in class kom.gateway.GetMail.MessageDelivery
Defines mailSpoolFile
getStandard(String) - Method in class kom.gateway.DBLow
Gets contents (of a file) corresponding to an url.
getState() - Method in class kom.smtpd.SMTPHandler
 
getStatus() - Method in class kom.news.NewsClient
Gets current status info
getStep() - Method in class kom.gateway.Build.KOMquery
Gets the current step in the Query-guide.
getStream(String) - Method in class kom.gateway.KOMutil
Converts a String to a ByteArrayInputStream, updating the response headers in preparation to sending the data.
getStringValues(String) - Method in class kom.gateway.KomData
Gets a String array for a Vector value
getStringValues(String, String, String) - Method in class kom.gateway.DBHigh
Gets a String array of values from an object part
getStringVector(String, String) - Static method in class kom.gateway.KomData
Constructs a Vector from a String.
getTag(String, int, Hashtable) - Method in class kom.gateway.Form
 
getTail(String) - Method in class kom.gateway.KOMutil
Gets the part after the last / in a path/ref
getTextPart(KomData) - Method in class kom.gateway.KOMutil
 
getThread(int) - Method in class kom.gateway.NewsGroupData
Gets a thread (KOMmsg array) from a Vector of threads
getThread(String, Build.KOMactivity) - Method in class kom.gateway.NewsGroupData
Gets a thread (KOMmsg array) from a newsgroup forum.
getThreadArray(String, Build.KOMactivity) - Method in class kom.gateway.Build.KOMthr
Gets a thread (an array of messages) from a newsgroup
getThreadNumber() - Method in class kom.smtpd.SMTPD
Get number of threads
getThreadPart(int) - Method in class kom.gateway.Build.KOMthr
Gets a KOMmsg from the thread
getThreadPart(String) - Method in class kom.gateway.Build.KOMthr
Gets a KOMmsg from the thread
getThreads(String[]) - Method in class kom.gateway.Build
Makes an array of indices, each referring to the last element of a thread.
getType() - Method in class kom.gateway.Action
Determines a type code string from form data and parent type.
getUid() - Method in class kom.tools.web.Upload
Gets user id (uid)
getUsed() - Method in class kom.gateway.KomDataIterator
Gets current value of the "used" table
getUser(String, String, String, String, String) - Method in class kom.gateway.Action
Gets/creates a user reference
getUserNews(String, Build.KOMuser) - Method in class kom.gateway.Build
Gets user news and stores it in newsData.
getVal(String) - Method in class kom.gateway.KOMutil
Gets a value from arglist, a String of key=value pairs, delimited by && or end of string.
getVal(String, String, String) - Method in class kom.gateway.KOMutil
Gets a value from a String of key=value pairs, delimited by delim or end of string.
getValue(String, String) - Method in class kom.tools.config.Config
Gets the String value of a parameter.
getValues(String) - Method in class kom.gateway.KomData
Gets a (String) Vector value
getValues(String) - Method in interface kom.tools.web.HTTPRequestParser
Gets all values for a key
getValues(String) - Method in class kom.tools.web.HTTPResponse
Gets values for name (from pairs) as a String[]
getValues(String, String) - Method in class kom.tools.config.Config
Gets a list of values for a parameter.
getValues(String, String, String) - Method in class kom.gateway.DBHigh
Gets a vector of values from an object part
getVote(String, KomData) - Method in class kom.gateway.Form
 
getVoteArea(String, String, int, KomData, String, KomData, boolean) - Method in class kom.gateway.Form
 
getVoteCheck(String, String, String) - Method in class kom.gateway.Form
 
getVoteSelect(String, String, int, KomData, String, KomData, boolean) - Method in class kom.gateway.Form
 
getVoteSubmit(KomData, String, boolean) - Method in class kom.gateway.Form
 
getVoteTag(KomData, String, KomData, boolean) - Method in class kom.gateway.Form
 
getVoteText(String, String, String) - Method in class kom.gateway.Form
 
getXrecs(KomData, String) - Method in class kom.gateway.Action
Updates recipient list for message from ticked boxes
GRA - Static variable in class kom.gateway.KOMutil
 
Grade - class kom.gateway.Grade.
Displays a KOM object, handles the details of the GET operation
Grade(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.Grade
class constructor
group(String) - Method in class kom.news.NewsClient
Defines current group
groupname - Variable in class kom.news.Overview
Newsgroup name
GRP - Static variable in class kom.gateway.KOMutil
 

H

handle(Hashtable, boolean) - Method in class kom.tools.web.HTTPClient
Converts data to lines according to protocol, counts characters and may send the data.
handle(IPCConnection) - Method in class kom.smtpd.SMTPD
Performs an action for the incoming connection
handle(IPCConnection) - Method in class kom.smtpd.SMTPDispatcher
 
handle(IPCConnection) - Method in class kom.tools.ipc.IPCServer
This is a deferred method for handling an incoming connection.
handlefile(String, String, boolean) - Method in class kom.tools.web.HTTPClient
Converts file contents to HTTP data and counts bytes, may send contents.
handleLine(String) - Method in class kom.tools.config.Config
Parses a line from the file
handleName() - Method in class kom.tools.web.Upload
Removes directory path from the file name.
handleNews - Variable in class kom.gateway.ServerConfig
True if it should be possible to connect to UseNet News
handleOverviews(Overview[], String, Build.KOMactivity) - Method in class kom.gateway.NewsGroupData
Stores an array of Overview records as thread elements
handleOverviews(Overview[], String, String, Build.KOMactivity) - Method in class kom.gateway.Build
Stores an array of Overview records as thread elements
handler - Variable in class kom.smtpd.SMTPDispatcher
 
hashOver(Overview[]) - Method in class kom.news.OverviewTable
 
hasNext() - Method in class kom.gateway.KomDataIterator
Finds the next valid item, going backwards in cont.
head(int) - Method in class kom.news.NewsClient
Gets headers of an article
head(String) - Method in class kom.news.NewsClient
Gets headers of an article
headColor - Variable in class kom.gateway.ServerConfig
Colour code for header and menu backgrounds in HTML pages
header - Variable in class kom.tools.web.HTTPResponse
 
headerBuffer - Variable in class kom.smtpd.SMTPHandler
 
headerFile - Variable in class kom.gateway.GetMail.MessageDelivery
Current message header file in spool
headerFileName - Variable in class kom.gateway.GetMail.MessageDelivery
Path of message header file in spool
headerFileNamePrefix - Static variable in class kom.gateway.GetMail
Header files have this name prefix
helo(boolean) - Method in class kom.smtpd.SMTPHandler
Says Hello to the SMTP client.
helodone - Variable in class kom.smtpd.SMTPHandler
 
history(KomData) - Method in class kom.gateway.Build
Shows the "history" of an activity
HomeURL - Static variable in class kom.gateway.DBHigh
URL for Home
host - Variable in class kom.news.NewsClient
 
host - Variable in class kom.news.Overview.Xref
 
host - Variable in class kom.smtpd.NameFinder
 
host - Variable in class kom.tools.web.HTTPConfig
 
HTML - Static variable in class kom.gateway.News
Format for text/html form of notification.
HTMLTools - class kom.tools.web.HTMLTools.
This class contains helpful HTML methods
HTMLTools() - Constructor for class kom.tools.web.HTMLTools
 
HTTPClient - class kom.tools.web.HTTPClient.
This is a subclass of IPCClient, used to communicate with other HTTP servers.
HTTPClient(String, int, HTTPConfig) - Constructor for class kom.tools.web.HTTPClient
Class constructor
HTTPConfig - class kom.tools.web.HTTPConfig.
HTTP configuration
HTTPConfig(String) - Constructor for class kom.tools.web.HTTPConfig
Constructor
HTTPRequestParser - interface kom.tools.web.HTTPRequestParser.
Parser for HTTP requests
HTTPResponse - class kom.tools.web.HTTPResponse.
Definition of an HTTP requestHandler
HTTPResponse(HttpServletRequest, HttpServletResponse, Gateway, HTTPConfig) - Constructor for class kom.tools.web.HTTPResponse
Class constructor

I

iconBase - Variable in class kom.gateway.ServerConfig
Icon URI relative to document root
id - Variable in class kom.gateway.Build.KOMhome
 
id - Variable in class kom.gateway.Build.KOMsub
Object id
id - Variable in class kom.gateway.KOM
 
id - Variable in class kom.smtpd.SMTPD
 
id - Variable in class kom.smtpd.SMTPHandler
Unique id for this thread
id - Variable in class kom.tools.id.UniqueId
 
id - Variable in class kom.tools.web.POSTResponse
Unique id generator
id - Variable in class kom.tools.web.Upload
 
in - Variable in class kom.smtpd.SMTPHandler
Input stream for connection
in - Variable in class kom.tools.web.HTTPResponse
 
in - Variable in class kom.tools.web.ReadFile
 
index(int) - Method in class kom.tools.web.ReadFile
Looks up a byte in the buffer
inetAddr(KomData) - Method in class kom.gateway.SendMail
 
info(int) - Method in class kom.gateway.KOMutil.UFtable
Gets an object containing info used for display
infoData - Variable in class kom.gateway.KOMutil.LookupTables
Main info table for current database (users, forums, etc)
init() - Method in class kom.news.NewsClient
(Re)initializes this NewsClient with current info
init(KomData) - Method in class kom.gateway.KomData
Copies another KomData object contents to this
init(ServletConfig) - Method in class kom.gateway.KOM
The init method.
init(String, int, ServerConfig, String, String) - Method in class kom.news.NewsClient
Initializes this NewsClient
init(String, ServerConfig, String, String) - Method in class kom.news.NewsClient
Initializes this NewsClient
init(Vector) - Method in class kom.gateway.KomDataIterator
Initializes local data.
inlineCurr - Variable in class kom.gateway.KOMutil
List of files referred to as inline objects
inlines - Variable in class kom.gateway.KOMutil
Inline files
inputStream - Variable in class kom.tools.ipc.IPCConnection
The stream for reading data
insertmail() - Method in class kom.smtpd.SMTPHandler
Finalizes the mailbox file and the log entry.
insertMessage(MimeMessage, String, String, Vector, GetMail.MessageDelivery, KomData, KomData) - Method in class kom.gateway.GetMail
Makes a Message object from the contents of a mailbox and delivers the message to the recipients
insertName(String, String) - Static method in class kom.tools.web.ParseDate
Inserts a short and a long day-of-week name in the respective tables, with the corresponding WeekDay object as value
insertSelect(KomData, String, String, boolean) - Method in class kom.gateway.Form
 
INT - Static variable in class kom.gateway.KOMutil
 
invalidateCount(String) - Method in class kom.gateway.DBHigh
 
IPCBuffer - class kom.tools.ipc.IPCBuffer.
A buffer for data used by interprocess communication
IPCBuffer() - Constructor for class kom.tools.ipc.IPCBuffer
default class constructor
IPCBuffer(int) - Constructor for class kom.tools.ipc.IPCBuffer
Class constructor
IPCClient - class kom.tools.ipc.IPCClient.
A network client.
IPCClient() - Constructor for class kom.tools.ipc.IPCClient
class constructor
IPCConnection - class kom.tools.ipc.IPCConnection.
This is a connection between a client and a server.
IPCConnection(Socket) - Constructor for class kom.tools.ipc.IPCConnection
Class constructor
IPCServer - class kom.tools.ipc.IPCServer.
A network server.
IPCServer() - Constructor for class kom.tools.ipc.IPCServer
default class constructor
IPCServer(int) - Constructor for class kom.tools.ipc.IPCServer
Class constructor
irefs - Variable in class kom.news.Overview
List of references translated to indices in overview array
isActive(String) - Method in class kom.gateway.Chat
 
isAllowed(KomData, String) - Method in class kom.gateway.KOMutil
Checks if current user is allowed to access an object, based on membership.
isAllowed(String) - Method in class kom.tools.access.AccessControl
Checks if access is allowed from a host (denied takes preference over allowed).
isarg(String) - Method in class kom.gateway.KOMutil
Checks if a specific argument was given in the current URL argument list.
isEmpty(String) - Static method in class kom.gateway.DBHigh
Is the string empty or null?
isEmpty(String) - Static method in class kom.gateway.KomData
Is the string empty or null?
isHTML - Variable in class kom.gateway.Form
Set true if current text is determined to be HTML-formatted
isLocation(String) - Method in class kom.gateway.Build.KOMquery
Tests if a forum is already in list of publishing forums for this query.
isMailSpool(String) - Method in class kom.gateway.DBLow
Returns true if file path indicates a mail spool file.
isMember(String) - Method in class kom.gateway.KOMutil
Finds out if current user is a member of an activity.
isNullOrEmpty(String) - Static method in class kom.tools.util.Util
Tests for null or empty string
isOpen() - Method in class kom.gateway.Build.KOMthr
 
isOrganizer(KomData) - Method in class kom.gateway.KOMutil
Finds out if current user har organizer privileges for an object.
isOrganizer(String) - Method in class kom.gateway.KOMutil
Finds out if current user har organizer privileges for an object.
ispunct(char) - Static method in class kom.gateway.KOMutil
Checks for "punctuation" characters
isReady() - Method in class kom.news.NewsClient
Returns true if status indicates that the server is ready to accept commandd
isStandard(String) - Static method in class kom.gateway.DBHigh
Determines if a url refers to one of a few standard directories
isTeacher(KomData) - Method in class kom.gateway.Grade
 
isType(KomData, String) - Method in class kom.gateway.KOMutil
Checks if an object is of a certain type
istype(String) - Method in class kom.gateway.Build.KOMsub
Checks object type
isValidEmailAddress(String) - Method in class kom.gateway.KOMutil
Attempts to check a purported e-mail address string for validity
isVote - Variable in class kom.gateway.Form
Set true if current text is determined to contain a voting form
itemstring - Variable in class kom.gateway.KomDataIterator
String corresponding to nextItem

K

kBalt - Static variable in class kom.gateway.Build
 
kBalt2 - Static variable in class kom.gateway.Build
 
kBase - Static variable in class kom.gateway.Form
 
kBbody - Static variable in class kom.gateway.Form
 
kBintro - Static variable in class kom.gateway.Build
 
kBintro2 - Static variable in class kom.gateway.Build
 
kBrespondents - Static variable in class kom.gateway.Build
 
kBscale - Static variable in class kom.gateway.Build
 
kBscale2 - Static variable in class kom.gateway.Build
 
kCname - Static variable in class kom.gateway.Form
 
kCnameq - Static variable in class kom.gateway.Build
 
kCnameq2 - Static variable in class kom.gateway.Build
 
kCnewlocname - Static variable in class kom.gateway.Build
 
kCnewmembermail - Static variable in class kom.gateway.Build
 
kCuser - Static variable in class kom.gateway.Form
 
kDColor - Static variable in class kom.gateway.Form
 
key - Variable in class kom.gateway.KomDataIterator
Key to check for
kFBase - Static variable in class kom.gateway.Form
 
KFC - Static variable in class kom.gateway.Form
Special key, used in templates to refer to formcodes
kHColor - Static variable in class kom.gateway.Form
 
khead - Static variable in class kom.gateway.Build
 
kIcons - Static variable in class kom.gateway.Form
 
kKFC - Static variable in class kom.gateway.Form
 
kLColor - Static variable in class kom.gateway.Form
 
KOM - class kom.gateway.KOM.
KOM 2000 Server implemented as a servlet.
KOM() - Constructor for class kom.gateway.KOM
 
KomData - class kom.gateway.KomData.
Base class for KOM objects
KomData() - Constructor for class kom.gateway.KomData
Basic constructor.
KomData(KomData) - Constructor for class kom.gateway.KomData
Constructor for a copy
KomData(String) - Constructor for class kom.gateway.KomData
Constructs KomData from String representation
KomDataIterator - class kom.gateway.KomDataIterator.
Implements operations on content vectors, selecting only valid items
KomDataIterator(Vector) - Constructor for class kom.gateway.KomDataIterator
Constructor for the normal case.
KomDataIterator(Vector, Hashtable) - Constructor for class kom.gateway.KomDataIterator
Constructor when some elements have already been "used"
KomDataIterator(Vector, String) - Constructor for class kom.gateway.KomDataIterator
Constructor for the normal case.
KomDataIterator(Vector, String, Hashtable) - Constructor for class kom.gateway.KomDataIterator
Constructor when some elements have already been "used"
komMailDom - Variable in class kom.gateway.ServerConfig
Domain for email to/from this KOM 2000 server
komMailDomAlias - Variable in class kom.gateway.ServerConfig
Domain alias for email to this KOM 2000 server
KOMroot - Variable in class kom.tools.web.HTTPConfig
 
komSection - Variable in class kom.gateway.ServerConfig
Id of KOM part of config
KOMutil - class kom.gateway.KOMutil.
Common utility functions and data for the KOM system
KOMutil.LookupTables - class kom.gateway.KOMutil.LookupTables.
Auxiliary class for tables and methods to up login ids, etc
KOMutil.LookupTables(KOMutil) - Constructor for class kom.gateway.KOMutil.LookupTables
 
KOMutil.UFtable - class kom.gateway.KOMutil.UFtable.
Contains a table of users or forums, and a method to find an entry in the table
KOMutil.UFtable(KOMutil, int, TreeSet, KOMutil.LookupTables, boolean) - Constructor for class kom.gateway.KOMutil.UFtable
Constructor
KOMutil(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.KOMutil
Class constructor
kPboard - Static variable in class kom.gateway.Form
 
kPcomm - Static variable in class kom.gateway.Form
 
kPdate - Static variable in class kom.gateway.Form
 
kPhtml - Static variable in class kom.gateway.Form
 
kPhtmldef - Static variable in class kom.gateway.Form
 
kPinterval - Static variable in class kom.gateway.Form
 
kPlogin - Static variable in class kom.gateway.Build
 
kPloginpw - Static variable in class kom.gateway.Build
 
kPnewloccat - Static variable in class kom.gateway.Build
 
kPnewlocshort - Static variable in class kom.gateway.Build
 
kPnotif - Static variable in class kom.gateway.Form
 
kPopenness - Static variable in class kom.gateway.Build
 
kPsecret - Static variable in class kom.gateway.Build
 
kPsecret2 - Static variable in class kom.gateway.Build
 
kPshort - Static variable in class kom.gateway.Form
 
kPtype - Static variable in class kom.gateway.Form
 
kServer - Static variable in class kom.gateway.Form
 
kstephead - Static variable in class kom.gateway.Build
 
ksteptail - Static variable in class kom.gateway.Build
 
ktail - Static variable in class kom.gateway.Build
 
kTarea - Static variable in class kom.gateway.Form
 

L

last - Variable in class kom.news.NewsGroup
Last available article
last() - Method in class kom.news.NewsClient
Goes back one article in newsgroup, if valid
lastAccess - Variable in class kom.gateway.Environment
 
lastArticle - Variable in class kom.gateway.NewsGroupData
Last available article number
lastModified(String) - Method in class kom.gateway.DBLow
Gets time of last modification of object
leave(String) - Method in class kom.gateway.Chat
 
leaveChat(String) - Method in class kom.gateway.Chat
 
len - Variable in class kom.tools.web.HTTPResponse
 
length - Variable in class kom.gateway.KOMutil.UFtable
 
length - Variable in class kom.gateway.StringList
 
length - Variable in class kom.tools.ipc.IPCBuffer
 
length - Variable in class kom.tools.web.ReadFile
 
length() - Method in class kom.gateway.KOMutil.UFtable
Returns length of tables
length(String) - Method in class kom.gateway.DBLow
Gets size of object
LF - Static variable in class kom.gateway.Action
 
li - Variable in class kom.gateway.KomDataIterator
Iterator for cont.
lightColor - Variable in class kom.gateway.ServerConfig
Colour code for light background in HTML pages
limit - Variable in class kom.gateway.News
Only handle news after this point in time
line - Variable in class kom.smtpd.SMTPHandler
 
line - Variable in class kom.tools.web.POSTResponse
 
LINE_CUTOFF - Static variable in class kom.gateway.KOMutil
Try to keep line length around this
LINE_FUDGE - Static variable in class kom.gateway.KOMutil
Allowed variation around LINE_CUTOFF
lines - Variable in class kom.news.Overview
Size of article in lines
LIS - Static variable in class kom.gateway.KOMutil
 
list() - Method in class kom.news.NewsClient
Gets a list of newsgroups, one per line.
listDraft(String) - Method in class kom.gateway.DBHigh
Makes a list of "drafts", i e uncommitted message file names
listFiles(String, String) - Method in class kom.gateway.DBLow
Gets a list of file names from a directory
listover(KomData) - Method in class kom.gateway.Grade
 
loadOverviews(String, String, KomData) - Method in class kom.news.NewsClient
Makes an Overview array from a newsgroup.
localObject(String) - Method in class kom.gateway.GetMail
Gets a possible local object corresponding to a message id
log - Variable in class kom.smtpd.SMTPD
 
log - Variable in class kom.smtpd.SMTPHandler
Collector for log info
log(SMTPRequestLog) - Method in class kom.smtpd.SMTPD
 
log(SMTPRequestLog, SMTPConfig) - Method in class kom.smtpd.SMTPDefaultLog
 
log(SMTPRequestLog, SMTPConfig) - Method in interface kom.smtpd.SMTPLog
 
logdata - Variable in class kom.smtpd.SMTPD
 
LogData - class kom.tools.log.LogData.
A class for writing log data to a file
LogData() - Constructor for class kom.tools.log.LogData
 
loggedIn() - Method in class kom.gateway.KOMutil
Checks if current user is logged in.
Login() - Method in class kom.gateway.Action
Processes a login form
loginDate - Variable in class kom.gateway.Environment
Time when user logged in
loginTab - Variable in class kom.gateway.KOMutil.LookupTables
Table for finding infoData from a login id
logout() - Method in class kom.gateway.Build
Logs out the current user
logout(String) - Method in class kom.gateway.Gateway
Removes client on logout
long2short(String) - Static method in class kom.tools.web.ParseDate
Finds the short day name corresponding to the long name
longName - Variable in class kom.tools.web.WeekDay
 
longNames - Static variable in class kom.tools.web.ParseDate
 
lookup(String) - Method in class kom.smtpd.NameFinder
Puts a query to remote host
lt - Static variable in class kom.gateway.KOMutil
Current lookup tables
lynx - Variable in class kom.tools.web.POSTResponse
 

M

mail() - Method in class kom.smtpd.SMTPHandler
Handles MAIL FROM:<sender>.
mailCheckingInterval - Variable in class kom.gateway.GetMail
Interval for checking incoming mail (ms).
mailCheckingInterval - Variable in class kom.gateway.ServerConfig
Interval for checking the incoming mail spool, seconds
mailDate(Date) - Method in class kom.gateway.KOMutil
Formats a Date according to standard mail date format.
mailDate(Date) - Method in class kom.smtpd.SMTPHandler
Formats Date like "Wed, 7 Oct 1998 13:02:20 +0200" (standard e-mail format).
mailDate(Date, String) - Method in class kom.gateway.KOMutil
Formats Date like "Wed, 7 Oct 1998 13:02:20 +0200" (standard e-mail format)
mailDebug - Variable in class kom.gateway.ServerConfig
Non-zero for debugging of mail interface
mailDir - Variable in class kom.gateway.GetMail
Spool directory for incoming mail files
mailDir - Variable in class kom.gateway.ServerConfig
Spool directory for incoming mail
mailDomains - Variable in class kom.smtpd.SMTPConfig
Domain for local addresses
mailDomains - Variable in class kom.smtpd.SMTPHandler
 
maildone - Variable in class kom.smtpd.SMTPHandler
 
mailFile - Variable in class kom.gateway.GetMail.MessageDelivery
Current mail text file
mailFilePath - Variable in class kom.gateway.GetMail.MessageDelivery
Current mail spool file path
mailFrom - Variable in class kom.gateway.GetMail.MessageDelivery
MAIL FROM value from SMTP header
mailFrom(String) - Method in class kom.smtpd.SMTPRequestLog
Save value of MAIL FROM:
mailGetter - Variable in class kom.gateway.Gateway
 
mailHost - Variable in class kom.gateway.ServerConfig
Mail server (MTA) domain
mailHost - Variable in class kom.smtpd.SMTPConfig
The local host name
mailHost - Variable in class kom.smtpd.SMTPHandler
 
mailId - Variable in class kom.smtpd.SMTPHandler
Mail file id
mailId(int) - Method in class kom.smtpd.SMTPHandler
Creates a unique mail file name part
MAILIT - Static variable in class kom.gateway.KOMutil
 
mailLogFile - Variable in class kom.smtpd.SMTPConfig
Log mail traffic in this file
mailNotificationInterval - Variable in class kom.gateway.NewsNotifier
Notification interval (ms)
mailNotificationInterval - Variable in class kom.gateway.ServerConfig
Interval for the mail notification process, seconds
mailPort - Variable in class kom.smtpd.SMTPConfig
SMTP server TCP/IP port
mailPort - Variable in class kom.smtpd.SMTPHandler
 
mailRoots - Variable in class kom.smtpd.SMTPConfig
Directory for mail files
mailRoots - Variable in class kom.smtpd.SMTPHandler
 
mailSeqNo(int) - Method in class kom.smtpd.SMTPHandler
Gives each new received message a new number, using a file to keep track of the last number used.
mailSpoolFile - Variable in class kom.gateway.GetMail.MessageDelivery
Current mail spool file
mailTo - Variable in class kom.gateway.GetMail.MessageDelivery
RCPT TO values from SMTP header
mailURL - Variable in class kom.gateway.GetMail.MessageDelivery
Current mail file url
main(String[]) - Static method in class kom.smtpd.SMTPD
The main program.
main(String[]) - Static method in class kom.tools.access.AccessControl
Test program for Access
main(String[]) - Static method in class kom.tools.access.WildCards
Test program for WildCards
main(String[]) - Static method in class kom.tools.config.Config
 
makeAddress(String) - Method in class kom.gateway.Action
Makes an "address object"
makeArea(String) - Method in class kom.gateway.DBHigh
Allocates a database area if it does not exist already.
makeBodyPart(String, String, String, String, String, String, InputStream) - Method in class kom.gateway.Build
Makes a MimePart out of a message part
makeCid() - Method in class kom.gateway.SendMail
 
makecont(KomData, String) - Method in class kom.gateway.Build
Updates contents data for the parent object
makeContent(MimeMessage, KomData, boolean) - Method in class kom.gateway.SendMail
Makes new contents for a MimeMessage.
makeemail() - Method in class kom.gateway.Build.KOMactivity
Defines the "Pemail" value of the activity
makeform(String, String) - Method in class kom.gateway.Build
Makes a form to be used when creating an object.
makeHdrFile(int) - Method in class kom.smtpd.SMTPHandler
Creates a new header file
makeHTML() - Method in class kom.gateway.Form
Creates the HTML page
makehtml(String) - Method in class kom.gateway.Build
Adds headers and trailers to body text to make it proper HTML
makeMboxFile(int) - Method in class kom.smtpd.SMTPHandler
Creates a new mbox file
makeMime(KomData) - Method in class kom.gateway.SendMail
Makes a MIME-coded object out of a KomData object.
makeNews(KomData, String, KomData, boolean) - Method in class kom.gateway.News
 
makeoper(String, KomData) - Method in class kom.gateway.Build
Makes an "operation" to be added to the contents of an object
makePart(String, String, InputStream) - Method in class kom.gateway.DBLow
Makes a body part (attachment) file
makerec(KomData, String) - Method in class kom.gateway.Build
Makes a receiver data structure from a KOM object
makerec(String, String, String) - Method in class kom.gateway.Build
Makes a receiver data structure
makerec(String, String, String, String, String) - Method in class kom.gateway.Build
Makes a receiver data structure
makeRelatedPart(KomData, String, String, MimeMultipart) - Method in class kom.gateway.Build
Makes a new multipart/related from an object, a text and possibly an older version of the part, plus a new inline part.
makeSimpleHTMLpart(String) - Method in class kom.gateway.Build
Makes a simple text/html body part from a String
makeTables(String, KomData, TreeSet) - Method in class kom.gateway.KOMutil.LookupTables
Updates loginTab, userTab, and emailTab from a user entry.
makethreads(Vector, Build.KOMactivity) - Method in class kom.gateway.NewsGroupData
Makes the curThreads Vector from a Vector of cont records.
markCat(String, KomData) - Method in class kom.gateway.News
 
markPres(String, KomData) - Method in class kom.gateway.News
Makes current user a member of an activity.
markrecs(int, KomData) - Method in class kom.gateway.News
Creates new notices for the recipients of an object
markSeen(int, String, KomData) - Method in class kom.gateway.News
 
maxClient - Variable in class kom.gateway.ClientObservable
Current highest client number
maxClientObservable - Variable in class kom.gateway.Gateway
 
maxClients - Variable in class kom.gateway.ServerConfig
Max no of connected clients
MAXSTEP - Variable in class kom.gateway.Build.KOMquery
Number of steps in query-guide
maxThreads - Variable in class kom.smtpd.SMTPConfig
 
maxThreads - Variable in class kom.tools.web.HTTPConfig
 
mayput(String, Object, int) - Method in class kom.gateway.KomData
Checks if the key/value pair may be put into the hashtable, and updates "keys" if so.
mboxBuffer - Variable in class kom.smtpd.SMTPHandler
 
mboxes - Variable in class kom.smtpd.SMTPHandler
 
mboxFileName - Variable in class kom.smtpd.SMTPHandler
 
mboxHeader - Variable in class kom.smtpd.SMTPHandler
 
mboxPath - Variable in class kom.smtpd.SMTPRequestLog
Mailbox file path
menufoot() - Method in class kom.gateway.Build
 
menuhead() - Method in class kom.gateway.Build
 
messageDelivered(TransportEvent) - Method in class kom.gateway.SendMail
 
messageid(String, KomData, String, String) - Method in class kom.gateway.Build
Constructs a Message-ID from an object reference and/or from an object
messageid(String, String) - Method in class kom.gateway.Build
Constructs a Message-ID from an object reference and an id
messageNotDelivered(TransportEvent) - Method in class kom.gateway.SendMail
 
messagePartiallyDelivered(TransportEvent) - Method in class kom.gateway.SendMail
 
messageRecipientTypeCode - Static variable in class kom.gateway.KOMutil
Local recipient type code to JavaMail recipient type code
messages - Variable in class kom.gateway.Build.KOMactivity
Will contain all messages when a complete display is requested
method - Variable in class kom.tools.web.HTTPResponse
 
mid - Variable in class kom.gateway.Build.KOMmt
 
MIM - Static variable in class kom.gateway.KOMutil
 
mimeChange(KomData, String, String, String[]) - Method in class kom.gateway.Build
Checks for, and applies, changes to a MIME-formatted object.
mimeIcons - Static variable in class kom.tools.web.MimeType
 
mimeMessage(String, String, File) - Method in class kom.gateway.KOMutil
Creates a MimeMessage object from database data
mimeMessageStream(String, String, File) - Method in class kom.gateway.KOMutil
Gets an InputStream for a message from database data
mimeType - Variable in class kom.tools.web.Upload
 
MimeType - class kom.tools.web.MimeType.
Mime Types
mimeType() - Method in class kom.tools.web.Upload
Gets Content-Type
MimeType() - Constructor for class kom.tools.web.MimeType
 
mimeTypes - Static variable in class kom.tools.web.MimeType
 
minThreads - Variable in class kom.smtpd.SMTPConfig
 
minThreads - Variable in class kom.tools.web.HTTPConfig
 
mkcont() - Method in class kom.gateway.Build.KOMsub
Updates contents data for the parent object
mkdate(String) - Method in class kom.gateway.KOMutil
Makes a formatted date/time of a time in decimal form
mkdate(String, String) - Method in class kom.gateway.KOMutil
Makes a formatted date/time of a time in decimal form
mkIadd(String, String) - Method in class kom.gateway.SendMail
Constructs an InternetAddress from common name and mbox@domain
mkmbox(String) - Method in class kom.gateway.Build
Creates a string, suitable as a mailbox identifier, from a string which may contain unsuitable characters.
mkmbox(String, boolean) - Method in class kom.gateway.Build
Creates a string, suitable as a mailbox identifier, from a string which may contain unsuitable characters.
mkrecop(KomData) - Method in class kom.gateway.GetMail
 
MOD - Static variable in class kom.gateway.KOMutil
 
moderate(KomData) - Method in class kom.gateway.Build
Makes a page with a form for activity moderation
modified - Static variable in class kom.gateway.Build
 
modified - Variable in class kom.tools.web.GETResponse
 
modifiedLength - Variable in class kom.tools.web.GETResponse
 
modifytype(KomData, String, String) - Method in class kom.gateway.Build
Modifies type code of an object by removing and/or adding some codes.
modObject(String, KomData) - Method in class kom.gateway.DBHigh
Modifies object data in the database
modthr() - Method in class kom.gateway.Build.KOMthr
Shows form for modifying a thread
modthr1(KomData) - Method in class kom.gateway.Build.KOMthr
 
moveSpool(String) - Method in class kom.gateway.GetMail.MessageDelivery
Moves message text from spool area to mail directory
msg - Variable in class kom.smtpd.SMTPRequestLog
Possible error message
msgAuth - Static variable in class kom.gateway.DBLow
Table of authorization data for terminal URLs
msgExists(String) - Method in class kom.gateway.DBHigh
Finds any old mail
msgid - Variable in class kom.news.NewsGroup
Current article message id
msgid - Variable in class kom.news.Overview
Unique message id
MsgIdTable - class kom.gateway.MsgIdTable.
 
MsgIdTable(String, DBLow) - Constructor for class kom.gateway.MsgIdTable
class constructor
msgParts - Static variable in class kom.gateway.DBLow
Cache of message parts (such as images)
msgPartStream(String, String, File, String) - Method in class kom.gateway.DBLow
Creates an InputStream for a message part
msgs - Variable in class kom.gateway.Build.KOMthr
Actual thread (message list)
msgsize - Variable in class kom.smtpd.SMTPHandler
 
MULTIPART_FORM_DATA - Static variable in class kom.tools.web.POSTResponse
 

N

N_RECTY - Static variable in class kom.gateway.KOMutil
Number of ordinary recipient types
N_RECTYPECODE - Static variable in class kom.gateway.KOMutil
"rec", "cc", "bcc", plus "par"
name - Variable in class kom.news.NewsGroup
NewsGroup name
name - Variable in class kom.tools.config.Para
 
NameFinder - class kom.smtpd.NameFinder.
Class for handling name lookups in a KOM 2000 database
NameFinder(String) - Constructor for class kom.smtpd.NameFinder
Class constructor
namefinders - Variable in class kom.smtpd.SMTPD
 
namefinders - Variable in class kom.smtpd.SMTPHandler
 
NamePrefixFilter - class kom.gateway.NamePrefixFilter.
 
NamePrefixFilter(String) - Constructor for class kom.gateway.NamePrefixFilter
Constructor.
names() - Method in interface kom.tools.web.HTTPRequestParser
Returns all parameter names
names() - Method in class kom.tools.web.HTTPResponse
Returns all parameter names in the query string or form
newGrade(String, String, String, String) - Method in class kom.gateway.Grade
 
newgroups(String) - Method in class kom.news.NewsClient
Gets a list of new newsgroups, one per line.
newMimeBodyPart(Object, String) - Method in class kom.gateway.Build
 
News - class kom.gateway.News.
All news handling.
News(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.News
Class constructor
newsclient - Variable in class kom.gateway.KOMutil
Current NewsClient instance
NewsClient - class kom.news.NewsClient.
This is a subclass of IPCClient, used to communicate with NEWS servers using the NNTP protocol.
NewsClient.Status - class kom.news.NewsClient.Status.
Status structure used to record command/server status
NewsClient.Status(NewsClient) - Constructor for class kom.news.NewsClient.Status
Default constructor.
NewsClient.Status(NewsClient, NewsClient.Status) - Constructor for class kom.news.NewsClient.Status
Constructor.
NewsClient(String, int, ServerConfig, String, String) - Constructor for class kom.news.NewsClient
Class constructor
NewsClient(String, ServerConfig, String, String) - Constructor for class kom.news.NewsClient
Class constructor using default NEWS port
NewsClientException - exception kom.news.NewsClientException.
 
NewsClientException() - Constructor for class kom.news.NewsClientException
Constructs a NewsClientException with no detail message.
NewsClientException(String) - Constructor for class kom.news.NewsClientException
Constructs a NewsClientException with the specified detail message.
newsClients - Static variable in class kom.gateway.KOMutil
 
NewsConfig - class kom.news.NewsConfig.
Configuration data for KOM 2000
NewsConfig(String) - Constructor for class kom.news.NewsConfig
Constructor
newsData - Variable in class kom.gateway.Environment
News status information for the current user
newsData - Variable in class kom.gateway.KOMutil
News data for current user
newSession - Variable in class kom.tools.web.HTTPResponse
 
NewsGroup - class kom.news.NewsGroup.
 
NewsGroup() - Constructor for class kom.news.NewsGroup
 
NewsGroupData - class kom.gateway.NewsGroupData.
Maintains current newsgroup data.
NewsGroupData(String, Build) - Constructor for class kom.gateway.NewsGroupData
Constructor.
NEWSLIMIT - Static variable in class kom.gateway.News
Only NEWSLIMIT lines per news category
newsNotifier - Variable in class kom.gateway.Gateway
 
NewsNotifier - class kom.gateway.NewsNotifier.
Class for sending news notifications to some email addresses.
NewsNotifier(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.NewsNotifier
Constructor.
NewsUtil - class kom.news.NewsUtil.
 
NewsUtil() - Constructor for class kom.news.NewsUtil
 
newVote(KomData) - Method in class kom.gateway.News
Checks if parameter represents a new vote.
next() - Method in class kom.gateway.KomDataIterator
Returns the next valid value.
next() - Method in class kom.gateway.StringList
 
next() - Method in class kom.news.NewsClient
Goes forward one article in newsgroup, if valid
nextDraft(String, KomData) - Method in class kom.gateway.DBHigh
 
nextId() - Method in class kom.tools.id.UniqueId
Gets the next unique number
nextItem - Variable in class kom.gateway.KomDataIterator
Value to be returned by the "next" method
nextmatching(String, String, int, int) - Method in class kom.gateway.Form
 
nextorlast(String) - Method in class kom.news.NewsClient
Goes back or forward one article in newsgroup, if valid
nextStep() - Method in class kom.gateway.Build.KOMquery
Advances to the next step in the Query-guide.
nextUnread(String) - Method in class kom.gateway.News
Gets a reference to the next unread thread in an activity.
nl - Variable in class kom.tools.web.ReadFile
 
NL - Static variable in class kom.tools.web.ReadFile
 
nntpAuth - Static variable in class kom.gateway.KOMutil
Authentication data for NNTP servers
nntpLoad - Variable in class kom.gateway.ServerConfig
Default number of NEWS articles to download on connection
nntpServer - Variable in class kom.gateway.ServerConfig
Domain of preferred NNTP server, i e "news@some.org".
nntpServer(String, KomData) - Method in class kom.gateway.Build
Defines an NNTP Usenet News server as a NewsClient instance If successful, the variable newsclient will point to an active NewsClient instance.
NO_ERROR - Static variable in class kom.tools.config.Config
 
noEol(String) - Method in class kom.gateway.GetMail
Replaces any eol characters by space
noop() - Method in class kom.smtpd.SMTPHandler
Handles NOOP.
noQuote(String) - Static method in class kom.gateway.KOMutil
Replaces any quote (") char by ".
normal() - Method in class kom.gateway.Build.KOMhome
Shows the top-level page
normal() - Method in class kom.gateway.Build.KOMcategory
Shows a category page
normal() - Method in class kom.gateway.Build.KOMactivity
Creates standard part of forum (or other user) page
normal() - Method in class kom.gateway.Build.KOMthr
Shows a message thread (may be just one message)
normal() - Method in class kom.gateway.Build.KOMquery
Outputs an HTML version of the query to the output buffer defined in classes above.
normal() - Method in class kom.gateway.KomData
 
normalize(String) - Method in class kom.gateway.Form
 
notifyByEmail - Variable in class kom.gateway.ServerConfig
True if this server should send news notifications by email
notifyUsers() - Method in class kom.gateway.NewsNotifier
For all users, sends a notification message if the user has requested notifications, and there is any news, and the last notification was not sent too recently.
numberInThread - Variable in class kom.news.Overview
Number in thread
NumberObservable - class kom.gateway.NumberObservable.
 
NumberObservable() - Constructor for class kom.gateway.NumberObservable
Constructor
numberOfRecipients - Variable in class kom.gateway.GetMail.MessageDelivery
Number of local recipients
numThreads - Variable in class kom.smtpd.SMTPConfig
 
numThreads - Variable in class kom.tools.web.HTTPConfig
 
NWS - Static variable in class kom.gateway.KOMutil
 
NWSART - Static variable in class kom.gateway.KOMutil
 

O

obj - Variable in class kom.gateway.NumberObservable
 
objCache - Static variable in class kom.gateway.KOMutil
Cache for objects
observable - Variable in class kom.smtpd.SMTPDispatcher
 
observable - Variable in class kom.smtpd.SMTPHandler
 
ObservableVector - class kom.tools.web.ObservableVector.
 
ObservableVector() - Constructor for class kom.tools.web.ObservableVector
Default constructor.
oCurr - Variable in class kom.gateway.KOMutil
Current object (usually a message to be sent or shown)
oldbody - Static variable in class kom.gateway.Chat
 
oldmsgs - Static variable in class kom.gateway.GetMail
Msgid vs local obj ref
oldnews - Static variable in class kom.gateway.KOMutil
News msgids vs local refs
oldOutput - Variable in class kom.gateway.Form
 
oldpres - Static variable in class kom.gateway.Chat
 
opened(ConnectionEvent) - Method in class kom.gateway.SendMail
 
orcpts - Variable in class kom.gateway.GetMail
Old recipients, taken from existing headers
ourMailDomain(String, int) - Method in class kom.smtpd.SMTPHandler
 
out - Variable in class kom.smtpd.SMTPHandler
Output stream for connection
out - Variable in class kom.tools.web.HTTPResponse
 
outpreview(KomData) - Method in class kom.gateway.Build
Shows a preview of a message or presentation text
outputStream - Variable in class kom.tools.ipc.IPCConnection
The stream for sending data
outputText - Variable in class kom.gateway.Form
Buffer for constructing the current HTML page
Overview - class kom.news.Overview.
 
Overview.Xref - class kom.news.Overview.Xref.
 
Overview.Xref(Overview, String, String[]) - Constructor for class kom.news.Overview.Xref
 
Overview(String, String, String[]) - Constructor for class kom.news.Overview
 
overviewFormat - Variable in class kom.news.NewsClient
 
OverviewTable - class kom.news.OverviewTable.
 
OverviewTable() - Constructor for class kom.news.OverviewTable
 
OverviewTable(int) - Constructor for class kom.news.OverviewTable
 
OverviewTable(Overview[]) - Constructor for class kom.news.OverviewTable
 
ovwt - Variable in class kom.gateway.Action
Table of Usenet News information for current newsgroup

P

page(KomData) - Method in class kom.gateway.Build
Builds common part of most pages
pairs - Variable in class kom.tools.web.HTTPResponse
 
Para - class kom.tools.config.Para.
Auxiliary class for parameters A Para has a name and a value (values)
Para(String, String) - Constructor for class kom.tools.config.Para
Constructor
parameters - Variable in class kom.tools.config.Section
 
parent - Variable in class kom.gateway.Build.KOMsub
Object id of parent
parent - Variable in class kom.tools.config.Section
 
parse() - Method in interface kom.tools.web.HTTPRequestParser
Parses the request
parse() - Method in class kom.tools.web.POSTResponse
Parses the request
parse(String) - Static method in class kom.tools.web.ParseDate
Parses a date string, trying RFC1123, RFC850 and ASCTIME formats in turn
parse(String, String) - Static method in class kom.tools.web.ParseDate
Parses a date String with a specified format
parse(String, String[]) - Method in class kom.news.Overview
Parses a server overview record according to overviewFormat.
parseArglist(String) - Method in class kom.gateway.KOMutil
Parses arglist into argtab.
parseArgs(String, String) - Method in class kom.gateway.KOMutil
Parses a String into key[=value] parts and places those in a Hashtable.
parseASCTIME(String) - Static method in class kom.tools.web.ParseDate
Parses ASCTIME string Example: Mon Jan 2 22:11:06 1982
parseBody() - Method in class kom.tools.web.POSTResponse
Parses the body of the HTTP request
ParseDate - class kom.tools.web.ParseDate.
Parser for date format in HTTP rfc1123, rfc850 or asctime
ParseDate() - Constructor for class kom.tools.web.ParseDate
 
parseMultipart() - Method in class kom.tools.web.POSTResponse
Parses multipart data
parseOk - Variable in class kom.news.Overview
 
parser - Variable in class kom.gateway.Action
Provides access to name=value pairs from the request
parseRFC1123(String) - Static method in class kom.tools.web.ParseDate
Parses date string according to RFC1123 Example: Mon, 02 Jun 1982 22:11:06 GMT
parseRFC850(String) - Static method in class kom.tools.web.ParseDate
Parses date string according to RFC850 Example: Monday, 02-Jan-82 22:11:06 GMT
parseURI(String) - Method in interface kom.tools.web.HTTPRequestParser
Parses a URI for name/value pairs
parseURI(String) - Method in class kom.tools.web.HTTPResponse
Parses a URI query string for name/value pairs.
parseURLEncoded() - Method in class kom.tools.web.POSTResponse
Parses URL-encoded data
partfile(String, String, boolean) - Method in class kom.gateway.DBLow
Creates a File object
particle(String, String) - Method in class kom.news.NewsClient
Gets text of full ARTICLE, HEAD, OR BODY, or STAT results for an article
partpath(String, String, boolean) - Method in class kom.gateway.DBLow
Determines path of part file.
pass - Variable in class kom.news.NewsClient
User password for AUTHINFO
pg - Variable in class kom.gateway.QueryElement
Query quide step (page number)
PLAIN - Static variable in class kom.gateway.News
Format for text/plain form of notification.
port - Variable in class kom.news.NewsClient
 
port - Variable in class kom.smtpd.NameFinder
 
port - Variable in class kom.tools.ipc.IPCServer
Port number for listening (default 80)
port - Variable in class kom.tools.web.HTTPConfig
 
pos - Variable in class kom.gateway.StringList
 
pos - Variable in class kom.tools.web.ReadFile
 
post(KomData, Vector) - Method in class kom.gateway.SendMail
Tries to send a message to some newsgroup(s)
postfinish() - Method in class kom.news.NewsClient
Finishes the current posting by sending a final dot + eol.
posting - Variable in class kom.news.NewsClient
True when a posting has commenced and not finished
postingAllowed - Variable in class kom.news.NewsClient.Status
 
POSTIT - Static variable in class kom.gateway.KOMutil
 
postprepare() - Method in class kom.news.NewsClient
Gets an OutputStream for sending the text of a POST
POSTResponse - class kom.tools.web.POSTResponse.
Response to a POST request
POSTResponse(HttpServletRequest, HttpServletResponse, HTTPConfig, Gateway, UniqueId) - Constructor for class kom.tools.web.POSTResponse
Class constructor
prefix - Variable in class kom.gateway.NamePrefixFilter
File names starting with this string are accepted
prefix - Static variable in class kom.tools.web.Upload
 
preload - Variable in class kom.smtpd.SMTPConfig
Pre-load these classes
preload - Variable in class kom.smtpd.SMTPD
 
preload - Variable in class kom.tools.web.HTTPConfig
 
Preload - interface kom.tools.web.Preload.
 
preloadClasses() - Method in class kom.smtpd.SMTPD
Loads some classes
pres(String, String, boolean) - Method in class kom.gateway.Chat
 
previousStep() - Method in class kom.gateway.Build.KOMquery
Goes back to the previous step in the Query-guide.
printRatings(KomData, KomData) - Method in class kom.gateway.Grade
 
printStackTrace(Throwable, String) - Method in class kom.gateway.DBLow
 
printStackTrace(Throwable, String) - Static method in class kom.gateway.Gateway
 
process() - Method in class kom.gateway.Action
Creates an HTTP stream according to value of "command" in URL
processPart() - Method in class kom.tools.web.POSTResponse
Processes a part of a multipart request
processRequest() - Method in class kom.tools.web.HTTPResponse
Processes the request, sending the response to the client
protocol - Variable in class kom.tools.web.HTTPResponse
 
publicGrades - Variable in class kom.gateway.ServerConfig
True if grades are public by default
publish() - Method in class kom.gateway.Build.KOMquery
Publishes a query in the Kom database--currently not implemented.
publish(String) - Method in class kom.gateway.Build.KOMhome
Adds object at top level.
publish(String) - Method in class kom.gateway.Build.KOMsub
Integrates (KOMsub) object data into database
publish(String) - Method in class kom.gateway.Build.KOMcategory
Adds category object to database
publish(String) - Method in class kom.gateway.Build.KOMactivity
Adds activity to database or modifies it in database
publish(String) - Method in class kom.gateway.Build.KOMmt
Publishes a thread: Starts a thread in an activity
publish(String) - Method in class kom.gateway.KomData
 
purgeAllFiles(String) - Static method in class kom.tools.util.Util
Removes all files from a directory
purgeFilesWithPrefix(String, String) - Static method in class kom.tools.util.Util
Removes all files with a specific prefix from a directory.
put(String, int) - Method in class kom.news.OverviewTable
 
put(String, int) - Method in interface kom.tools.web.HTTPRequestParser
Saves param name + int value
put(String, int) - Method in class kom.tools.web.HTTPResponse
Puts param=int value in pairs table
put(String, String) - Method in class kom.gateway.KomData
Stores a String value if both key and value are non-null
put(String, String) - Method in interface kom.tools.web.HTTPRequestParser
Saves param name + string value
put(String, String) - Method in class kom.tools.web.HTTPResponse
Puts param=value in pairs table if both are non-null
put(String, Vector) - Method in class kom.gateway.KomData
Stores a Vector of (String) values if both key and value are non-null
putBDATA(String, String) - Static method in class kom.gateway.KomData
 
putCDATA(String, String) - Static method in class kom.gateway.KomData
 
putData(String, String) - Static method in class kom.gateway.KomData
Constructs a data field representing the key and value
putfirst(String, String) - Method in class kom.gateway.KomData
Stores a value, placing its key first in the "keys" array.
putid(String) - Method in class kom.gateway.Build.KOMsub
Sets id and parent
putid(String) - Method in class kom.gateway.KomData
 
putlast(String, String) - Method in class kom.gateway.KomData
Stores a value, placing its key last in the "keys" array.
putPDATA(String, String) - Static method in class kom.gateway.KomData
 
putShort(KomData, KomData) - Method in class kom.gateway.News
Determines a "short name" and puts it into an object.
putValue(KomData, String) - Method in class kom.gateway.KomData
Copies a value from another object

Q

qchat(KomData) - Method in class kom.gateway.Chat
 
qlist(Build.KOMmt) - Method in class kom.gateway.Build.KOMmt
Checks if thread/message is part of a "mailing list".
qput(String, String) - Method in class kom.gateway.KomData
Stores a value if not null or ""
qrytable - Static variable in class kom.gateway.Build
List describing html structure of query-wizard.
QueryElement - class kom.gateway.QueryElement.
Simple data container for associating form name and query guide page.
QueryElement(String, int) - Constructor for class kom.gateway.QueryElement
 
queryExists(String, String) - Method in class kom.gateway.DBHigh
Checks if query with specified ref exists in the database.
queryinvite(Build.KOMthr, String) - Method in class kom.gateway.Action
 
quit() - Method in class kom.news.NewsClient
Sends a QUIT command to the server, breaking the connection
quit() - Method in class kom.smtpd.SMTPHandler
Handles QUIT command

R

rand() - Static method in class kom.tools.util.Util
Generates a random number in String format
RAT - Static variable in class kom.gateway.KOMutil
 
rcpt() - Method in class kom.smtpd.SMTPHandler
Handled RCPT TO:<receiver> Do not handle any parameter at the moment.
rcpts - Variable in class kom.smtpd.SMTPHandler
 
rcptTo(String) - Method in class kom.smtpd.SMTPRequestLog
Save (a) value of RCPT TO:
read - Variable in class kom.smtpd.SMTPRequestLog
Date-time when the message was received
read() - Method in class kom.gateway.ServerConfig
Reads and parses the configuration file
read() - Method in class kom.news.NewsConfig
Reads and parses the configuration file
read() - Method in class kom.smtpd.SMTPConfig
Read the configuration file and use its values.
read() - Method in class kom.tools.config.Config
Reads the configuration file.
read() - Method in class kom.tools.web.HTTPConfig
Reads and parses the configuration file
read(byte[], int) - Method in class kom.tools.ipc.IPCConnection
Waits for data and receives it (blocks until data available)
read(IPCBuffer) - Method in class kom.tools.ipc.IPCConnection
Waits for data and receives it (blocks until data available)
ReadFile - class kom.tools.web.ReadFile.
 
ReadFile(InputStream) - Constructor for class kom.tools.web.ReadFile
Constructor.
readLine() - Method in class kom.tools.ipc.IPCConnection
Reads a line of data from the input stream
readLine() - Method in class kom.tools.web.ReadFile
Reads a line from a file The lines should be separated with LF (10)
readLine(InputStream) - Static method in class kom.tools.util.Util
Reads a line from an input stream
readObject(String) - Method in class kom.gateway.DBLow
Reads an object from a file
readRequest() - Method in class kom.tools.web.HTTPResponse
Reads and classifies data from request.
readText(StringBuffer) - Method in class kom.news.NewsClient
Receives data from server
ready(String, long, String) - Method in class kom.smtpd.SMTPRequestLog
Add final data to log entry
reasonPhrase - Variable in class kom.tools.web.HTTPResponse
 
REC_BCC - Static variable in class kom.gateway.KOMutil
 
REC_CC - Static variable in class kom.gateway.KOMutil
 
REC_TO - Static variable in class kom.gateway.KOMutil
 
receive() - Method in class kom.smtpd.NameFinder
Receives data from remote host
receive() - Method in class kom.tools.web.HTTPClient
Receives data from remote host
recipients - Variable in class kom.gateway.GetMail.MessageDelivery
RCPT TO values from SMTP header corresponding to local recipients
recTypeCode - Static variable in class kom.gateway.KOMutil
Local recipient type code vs String representation
reduceRecipients(MimeMessage, InternetAddress[]) - Method in class kom.gateway.SendMail
Removes recipients which were already e-mail recipients
ref - Variable in class kom.news.Overview.Xref
 
ref2path(String, String) - Method in class kom.gateway.DBHigh
Converts a reference to an object, plus a part identification, to a path in the database (relative to the document root).
references - Variable in class kom.news.Overview
 
referredBy - Variable in class kom.news.Overview
 
refExists(String) - Method in class kom.gateway.DBHigh
Checks for existing KOM object
reflist - Variable in class kom.news.Overview
List of references to other articles (message ids)
refTab - Variable in class kom.gateway.KOMutil.LookupTables
Auxiliary table
Register() - Method in class kom.gateway.Action
Processes a registration form
REGULAR - Static variable in class kom.gateway.News
Format for regular news display in KOM 2000
remoteIP - Variable in class kom.smtpd.SMTPHandler
 
remotesite - Variable in class kom.smtpd.SMTPHandler
 
remove() - Method in class kom.gateway.Build.KOMquery
Removes this query from the query database.
remove(String) - Method in class kom.gateway.KomData
Removes a key and its value
removeDraft(String, String, String) - Method in class kom.gateway.DBHigh
Removes a message from the draft database
removeElement(Object) - Method in class kom.tools.web.ObservableVector
Removes an element from the vector and notifies its observers, passing the vector as parameter.
removeFile(String) - Method in class kom.gateway.DBLow
Deletes a file in the database
removeQuery(String, String) - Method in class kom.gateway.DBHigh
Removes a query from the query database
removeSpool() - Method in class kom.gateway.GetMail.MessageDelivery
Removes header file from spool area
REP - Static variable in class kom.gateway.KOMutil
 
replaceMime(String, String) - Method in class kom.gateway.DBLow
Replaces a file
replaceObject(String, KomData) - Method in class kom.gateway.DBHigh
Replaces an object
request - Variable in class kom.tools.web.HTTPResponse
 
request(String) - Method in class kom.news.NewsClient
Sends a request to the NEWS server
requestOk - Variable in class kom.news.NewsClient.Status
 
requestOk() - Method in class kom.news.NewsClient
Returns true if request status is ok
reset() - Method in class kom.gateway.StringList
 
resetError() - Method in class kom.news.NewsClient
Resets status.requestOK to true
resetmail() - Method in class kom.smtpd.SMTPHandler
Prepares for a new message
resetUpdate(Vector) - Method in class kom.gateway.Action
Resets update time for some newsgroup(s) to trigger prompt reload
response - Variable in class kom.gateway.KOMutil
Response data and methods
response - Variable in class kom.news.NewsClient.Status
 
response - Variable in class kom.tools.web.HTTPResponse
 
restoreOutput() - Method in class kom.gateway.Form
Restores the old HTML output buffer
returnPath - Variable in class kom.smtpd.SMTPHandler
 
reverseChat - Variable in class kom.gateway.Chat
 
rf - Variable in class kom.tools.web.POSTResponse
 
RFC1123_FORMAT - Static variable in class kom.tools.web.ParseDate
 
rfc1123(Date) - Static method in class kom.tools.web.ParseDate
Formats a Date according to RFC1123
RFC850_FORMAT - Static variable in class kom.tools.web.ParseDate
 
rfc850(Date) - Static method in class kom.tools.web.ParseDate
Formats a Date according to RFC850
rich2html(String) - Static method in class kom.gateway.EnrichedText
Does the actual translation of tags
rLoc - Variable in class kom.gateway.KOMutil
Current "location" (object id, from request url)
rset() - Method in class kom.smtpd.SMTPHandler
Handles RESET command (RSET) Cleans the slate for a new message.
run() - Method in class kom.gateway.Gateway
Implements Runnable.
run() - Method in class kom.gateway.GetMail
Thread control loop.
run() - Method in class kom.gateway.NewsNotifier
The Thread.run method.
run() - Method in class kom.smtpd.SMTPD.SMTPLogThread
 
run() - Method in class kom.smtpd.SMTPHandler
Overriden method for thread.
run() - Method in class kom.tools.ipc.IPCServer
Overriden method.

S

sameAddr(InternetAddress, InternetAddress) - Method in class kom.gateway.SendMail
 
save() - Method in class kom.gateway.MsgIdTable
Saves table to its file
savednews - Static variable in class kom.gateway.KOMutil
News msgids vs saved article text refs
saveHdr() - Method in class kom.gateway.GetMail.MessageDelivery
Copies (renames) header data to mail message directory
saveOutput() - Method in class kom.gateway.Form
Saves the HTML output buffer as oldOutput and starts another output buffer.
sCursor - Variable in class kom.gateway.KOMutil
(Main) thread identifier
secTime(Date) - Static method in class kom.tools.util.Util
Creates a string representing time
section - Static variable in class kom.smtpd.SMTPConfig
 
section - Variable in class kom.tools.config.Section
 
Section - class kom.tools.config.Section.
Auxiliary class for sections A Section has a name and a list of parameters
section(String) - Method in class kom.tools.config.Config
Sets the old section if found or creates a new section for parameters
Section(String, Config) - Constructor for class kom.tools.config.Section
Constructor
sections - Variable in class kom.tools.config.Config
A list of sections, where a section is a list of parameters and values for these parameters.
selectTexttype - Variable in class kom.gateway.ServerConfig
Text type for entries.
send(Hashtable) - Method in class kom.tools.web.HTTPClient
Sends data to remote host
send(String) - Method in class kom.news.NewsClient
Sends a line to the NEWS server
send(String) - Method in class kom.smtpd.SMTPHandler
Sends a line of text to the SMTP client.
sendBytes - Variable in class kom.tools.web.HTTPResponse
 
sendEmail(KomData, Vector) - Method in class kom.gateway.SendMail
Tries to send a message to some e-mail recipients
sendFile(File) - Method in class kom.tools.web.HTTPClient
Sends contents of file over the wire
sendList(Build.KOMmt) - Method in class kom.gateway.Build.KOMmt
Sends thread/message via email to external members of a "mailing list".
SendMail - class kom.gateway.SendMail.
Handles messages from KOM to the Internet or to Usenet News
SendMail(ServerConfig, HTTPResponse, Gateway) - Constructor for class kom.gateway.SendMail
Constructor.
sepChar - Static variable in class kom.tools.web.HTTPClient
 
server - Variable in class kom.smtpd.SMTPD.SMTPLogThread
 
ServerConfig - class kom.gateway.ServerConfig.
Configuration data for KOM 2000
ServerConfig(String) - Constructor for class kom.gateway.ServerConfig
Constructor
serverName - Variable in class kom.gateway.ServerConfig
The "published" name of the KOM 2000 server
serverReady - Variable in class kom.news.NewsClient.Status
 
serverURL - Variable in class kom.smtpd.NameFinder
 
serverURL - Variable in class kom.smtpd.SMTPConfig
HTTP server URL
servletBase - Variable in class kom.gateway.KOMutil
Prefix in url denoting current servlet
servletBase - Variable in class kom.gateway.ServerConfig
Servlet root (designation of this KOM 2000 server) relative to document root
servletBase - Variable in class kom.tools.web.HTTPResponse
 
servletConfig - Variable in class kom.gateway.KOM
Servlet configuration object
servletPathSetup(HttpServletRequest) - Method in class kom.gateway.KOM
Determines servlet path from HTTP request.
session - Variable in class kom.gateway.KOMutil
HTTP session data
session - Variable in class kom.tools.web.HTTPResponse
 
sessionId - Variable in class kom.tools.web.HTTPResponse
 
set(int, int, int, String) - Method in class kom.news.NewsGroup
 
setAlternatives(String[]) - Method in class kom.gateway.Build.KOMquery
Sets the alternatives in this query.
setAuth(String, String) - Method in class kom.news.NewsClient
Sets parameters for possible authorization
setCids(String, String, String) - Method in class kom.gateway.KOMutil
Updates cidCurr table of Content-Id and/or Content-Location references and also the table in the current object.
setConfig(HTTPConfig) - Method in class kom.gateway.Gateway
Implements Preload
setConfig(HTTPConfig) - Method in interface kom.tools.web.Preload
 
setConnection(IPCConnection) - Method in class kom.smtpd.SMTPHandler
Handles a new connection
setConnection(String) - Method in class kom.smtpd.NameFinder
Opens a connection to some HTTP server
setContentId(String) - Method in class kom.tools.web.Upload
Sets cid (Content-Id value)
setCookie(String, String) - Method in class kom.tools.web.HTTPResponse
 
setcur(int, String) - Method in class kom.news.NewsGroup
 
setCursor(String) - Method in class kom.gateway.Environment
Sets current client id
setDefault(String, String) - Method in class kom.gateway.Build
Sets a userData parameter, if no previous value exists
setDefaults() - Method in class kom.gateway.Build
Sets userData defaults for some user parameters, if not set before
setDescription(String) - Method in class kom.tools.web.Upload
Sets contentDescription
setExtra(String) - Method in class kom.tools.web.Upload
Sets extra data
setFileName(String) - Method in class kom.tools.web.Upload
Sets the client file path
setFrom(KomData, MimeMessage) - Method in class kom.gateway.GetMail
 
setgroup(String) - Method in class kom.news.NewsClient
Defines current group
setLocations(String[]) - Method in class kom.gateway.Build.KOMquery
Sets the publishing locations for this query.
setMIMEType(String) - Method in class kom.tools.web.Upload
Sets the MIME type
setName(String) - Method in class kom.gateway.KomData
Sets the "Cname" value
setNewsAuth(String, String, String) - Static method in class kom.gateway.KOMutil
Sets up table of user/pass data per NNTP server.
setObject(Integer) - Method in class kom.gateway.NumberObservable
Sets object to be observed
setPartHeaders(Upload, String, String, String) - Method in class kom.gateway.Action
 
setPhrase(String) - Method in class kom.tools.web.HTTPResponse
Sets reason phrase for response
setScaleValues(String[]) - Method in class kom.gateway.Build.KOMquery
Sets the scale values for this query.
setState(int) - Method in class kom.smtpd.SMTPHandler
If state changes, signals that via setChanged() and notifyObservers()
setStatus(int) - Method in class kom.tools.web.HTTPResponse
Sets response status code
setStep(int) - Method in class kom.gateway.Build.KOMquery
Sets the current step in the Query-guide.
settings() - Method in class kom.gateway.ServerConfig
Converts configuration file data to internal form
settings() - Method in class kom.news.NewsConfig
Converts configuration file data to internal form
settings() - Method in class kom.smtpd.SMTPConfig
Get the settings from the configuration file
settings() - Method in class kom.tools.web.HTTPConfig
Gets the settings
setUid(String) - Method in class kom.tools.web.Upload
Sets uid
setup(FileInputStream) - Method in class kom.gateway.GetMail.MessageDelivery
 
setUser(String, String) - Method in class kom.gateway.Chat
 
setUserValue(KomData, String, String) - Method in class kom.gateway.Build
Copies a value from an object to the userData object
setValidMsgPwd(String, String) - Method in class kom.gateway.KOMutil
Records a user as having access to an object.
setValue(String, String) - Method in class kom.gateway.KomData
Sets the value for a non-null key
short2long(String) - Static method in class kom.tools.web.ParseDate
Finds the long day name corresponding to the short name
shortName - Variable in class kom.tools.web.WeekDay
 
shortNames - Static variable in class kom.tools.web.ParseDate
 
shortTab - Variable in class kom.gateway.KOMutil.LookupTables
Auxiliary table, ref to short
showatts(KomData) - Method in class kom.gateway.Build
 
showBody(Part, String, StringBuffer, String) - Method in class kom.gateway.KOMutil
Shows the body (text) of a Message (Part)
showcat(KomData) - Method in class kom.gateway.Grade
 
showgrades(KomData, Vector, int[]) - Method in class kom.gateway.Grade
 
showHeader(String, Address[], StringBuffer) - Method in class kom.gateway.KOMutil
Shows a header line with an Address[] value
showHeader(String, String, StringBuffer) - Method in class kom.gateway.KOMutil
Shows a header line with a String value
showHeaders(Part, boolean, StringBuffer) - Method in class kom.gateway.KOMutil
Shows the header fields of a Part
showInputStream(Part, InputStream, StringBuffer, String, String) - Method in class kom.gateway.KOMutil
Shows a general simple body (InputStream of data)
showMailMessage(MimeMessage, StringBuffer) - Method in class kom.gateway.KOMutil
Displays a message in the current buffer
showMessage(Message, String, StringBuffer) - Method in class kom.gateway.KOMutil
Shows an embedded Message
showMultipart(Part, Multipart, String, StringBuffer) - Method in class kom.gateway.KOMutil
Shows a Multipart
showNewsArticle(StringBuffer) - Method in class kom.gateway.Build.KOMmt
Shows (the relevant parts of) a Usenet News article
shownumbers(int[]) - Method in class kom.gateway.Grade
 
showover(KomData) - Method in class kom.gateway.Grade
 
showstud(KomData, String, Vector, KomData) - Method in class kom.gateway.Grade
 
showuser(KomData, String, String) - Method in class kom.gateway.Grade
 
showUsers - Variable in class kom.gateway.ServerConfig
True if the category Users is to be shown
size - Variable in class kom.gateway.KomDataIterator
Size of cont
size - Variable in class kom.smtpd.SMTPRequestLog
Size of message
size - Variable in class kom.tools.ipc.IPCBuffer
 
SIZE - Static variable in class kom.tools.web.ReadFile
 
size() - Method in class kom.gateway.StringList
 
sleep - Variable in class kom.tools.web.POSTResponse
 
sleeping - Variable in class kom.gateway.Gateway
 
sleeping - Variable in class kom.gateway.GetMail
True if thread is not awake
sleeping - Variable in class kom.gateway.NewsNotifier
 
SM - Variable in class kom.gateway.Build
Iff this object is a SendMail object, SM will be set to this"
SMTP_DATA - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_EHLO - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_HELO - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_MAIL - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_NOOP - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_QUIT - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_RCPT - Static variable in class kom.smtpd.SMTPHandler
 
SMTP_RSET - Static variable in class kom.smtpd.SMTPHandler
 
SMTPcommands - Static variable in class kom.smtpd.SMTPHandler
 
SMTPConfig - class kom.smtpd.SMTPConfig.
SMTP server configuration data and methods
SMTPConfig(String) - Constructor for class kom.smtpd.SMTPConfig
SMTP configuration setup
SMTPD - class kom.smtpd.SMTPD.
This is a subclass of IPCServer, adapted to the SMTP protocol
SMTPD.SMTPLogThread - class kom.smtpd.SMTPD.SMTPLogThread.
 
SMTPD.SMTPLogThread(SMTPD, SMTPD) - Constructor for class kom.smtpd.SMTPD.SMTPLogThread
 
SMTPD(int, SMTPConfig, SMTPLog) - Constructor for class kom.smtpd.SMTPD
Constructor
SMTPDefaultLog - class kom.smtpd.SMTPDefaultLog.
 
SMTPDefaultLog() - Constructor for class kom.smtpd.SMTPDefaultLog
 
SMTPDispatcher - class kom.smtpd.SMTPDispatcher.
 
SMTPDispatcher(ObservableVector) - Constructor for class kom.smtpd.SMTPDispatcher
 
SMTPHandler - class kom.smtpd.SMTPHandler.
Connection Handler for SMTP.
SMTPHandler(SMTPD, NameFinder[], ObservableVector, long) - Constructor for class kom.smtpd.SMTPHandler
Starts an SMTPHandler thread.
smtpListener - Variable in class kom.smtpd.SMTPHandler
SMTP "daemon" handling the network connection
SMTPLog - interface kom.smtpd.SMTPLog.
 
SMTPRequestLog - class kom.smtpd.SMTPRequestLog.
Collect data about an e-mail message, and summarize as a string
SMTPRequestLog() - Constructor for class kom.smtpd.SMTPRequestLog
Start a log entry, note the current date-time
snetChatURL - Variable in class kom.gateway.ServerConfig
Special URL for SeniorNet chat
SnetLogin() - Method in class kom.gateway.Action
Processes a Seniornet login form
socket - Variable in class kom.tools.ipc.IPCConnection
The communication socket
socket - Variable in class kom.tools.ipc.IPCServer
Socket for incoming connections
special() - Method in class kom.gateway.Build
 
st - Variable in class kom.smtpd.SMTPHandler
 
start() - Method in class kom.tools.ipc.IPCServer
Starts a thread (overriden method).
state - Variable in class kom.smtpd.SMTPHandler
WAITING or WORKING
status - Variable in class kom.news.NewsClient
 
status(int) - Method in class kom.news.NewsClient
Gets status of an article
status(String) - Method in class kom.news.NewsClient
Gets status of an article
statusCode - Variable in class kom.tools.web.HTTPResponse
 
stop() - Method in class kom.gateway.Gateway
 
stop() - Method in class kom.gateway.GetMail
Tells the GetMail thread to stop running
stop() - Method in class kom.gateway.NewsNotifier
Causes the thread to be stopped.
stopped - Variable in class kom.gateway.Gateway
 
stopped - Variable in class kom.gateway.GetMail
Set to true to stop the thread
stopped - Variable in class kom.gateway.NewsNotifier
 
stopped - Variable in class kom.smtpd.SMTPHandler
 
store() - Method in class kom.gateway.Build.KOMquery
Stores this query in the query database.
store(KomData, KomData, String) - Method in class kom.gateway.Build
Sends an object to a recipient
store(String, String) - Method in class kom.tools.web.Upload
Stores the data in a temporary file
storeMail(String, StringBuffer, StringBuffer) - Method in class kom.smtpd.SMTPHandler
 
storeNews(KomData, String, KomData) - Method in class kom.gateway.News
 
Stream2String(InputStream) - Method in class kom.gateway.DBHigh
Creates a String from an InputStream
string2array(String, String) - Static method in class kom.tools.util.Util
Splits a String at delimiters into a String[] array.
String2Stream(String) - Method in class kom.gateway.DBHigh
Creates an InputStream from a String
StringBuffer2Stream(StringBuffer) - Method in class kom.gateway.DBHigh
Creates an InputStream from a StringBuffer
StringList - class kom.gateway.StringList.
 
StringList(String) - Constructor for class kom.gateway.StringList
 
subject - Variable in class kom.news.Overview
Subject line
submitted - Variable in class kom.gateway.Form
Set true if current text is determined to contain a vote
substkey - Static variable in class kom.gateway.Form
Special key table
suspended - Variable in class kom.smtpd.SMTPHandler
 
SYNTAX_ERROR - Static variable in class kom.tools.config.Config
 
syntaxerror - Static variable in class kom.smtpd.SMTPHandler
 

T

tableId - Variable in class kom.gateway.MsgIdTable
 
tempFile() - Method in class kom.tools.web.HTTPClient
Defines tmpFile
tempFile() - Method in class kom.tools.web.Upload
 
textareaSubst(String, boolean) - Method in class kom.gateway.Form
Replaces "textarea" with $Tarea() to avoid confusion with actual textarea tag, or reverses the substitution.
THR - Static variable in class kom.gateway.KOMutil
 
thread - Variable in class kom.gateway.Gateway
 
thread - Variable in class kom.gateway.GetMail
Thread for mail checking
thread - Variable in class kom.gateway.NewsNotifier
 
thread - Variable in class kom.smtpd.SMTPHandler
 
threadIndex(String) - Method in class kom.gateway.NewsGroupData
Gets index in curThreads from thread id.
threadno(KomData) - Method in class kom.gateway.News
Finds out thread number from object Pid (/cat/act/thr/...)
threads - Variable in class kom.gateway.Build.KOMactivity
Message thread objects
threads - Variable in class kom.smtpd.SMTPD
 
thrIdTable - Variable in class kom.gateway.NewsGroupData
Local id vs thread index
timeout - Variable in class kom.gateway.ServerConfig
Timeout for the gateway, in seconds
timeOut - Variable in class kom.smtpd.SMTPConfig
 
timeOut - Variable in class kom.tools.web.HTTPConfig
 
tmpDir - Variable in class kom.tools.web.POSTResponse
Temporary directory for uploading
tmpDir - Variable in class kom.tools.web.Upload
 
tmpFile - Variable in class kom.news.NewsClient
 
tmpFile - Variable in class kom.tools.web.HTTPClient
 
tmpFile - Variable in class kom.tools.web.HTTPResponse
 
tmpFile - Variable in class kom.tools.web.Upload
 
tmpName - Variable in class kom.tools.web.Upload
 
to - Variable in class kom.smtpd.SMTPRequestLog
RCPT TO: (may be a list)
toFile(String) - Static method in class kom.tools.util.Util
"Sanitizes" a file name
tokenSize - Static variable in class kom.gateway.EnrichedText
 
toKOMmsg(Build) - Method in class kom.news.Overview
Converts an Overview object to a KOMmsg object
toString() - Method in class kom.gateway.KomData
Constructs a String representation of this object
toString() - Method in class kom.gateway.MsgIdTable
 
toString() - Method in class kom.gateway.StringList
 
toString() - Method in class kom.tools.web.Upload
Converts the data to a String Should be used only for small files
toString(InputStream) - Method in class kom.gateway.KOMutil
Creates a String from an InputStream
totalNL - Variable in class kom.tools.web.ReadFile
 
totalPass - Variable in class kom.tools.web.ReadFile
 
totalRead - Variable in class kom.tools.web.ReadFile
 
transbody(String) - Static method in class kom.gateway.KOMutil
Translates special characters in a string, usually a plain message text, to HTML entities.
transform(int, String, String, KomData) - Method in class kom.gateway.Form
 
transform(KomData) - Method in class kom.gateway.Chat
 
translate(String, String) - Method in class kom.gateway.Form
Adds a text string to the output HTML buffer if the language matches.
trbody(String, KomData, String, String) - Method in class kom.gateway.Form
 
trimAlternatives() - Method in class kom.gateway.Build.KOMquery
Removes empty alternatives, also sets number of alternatives to reflect the number of filled-in alternatives.
trimScaleValues() - Method in class kom.gateway.Build.KOMquery
Removes empty scale values, also sets number of scale values to reflect the number of filled-in scale values.
tzoffset - Static variable in class kom.news.Overview
 

U

uid - Variable in class kom.tools.web.Upload
 
uiLang - Variable in class kom.gateway.ServerConfig
Interface language designation, i e "sv", "en"
unexpected - Static variable in class kom.smtpd.SMTPHandler
 
UniqueId - class kom.tools.id.UniqueId.
Generate a unique id
UniqueId() - Constructor for class kom.tools.id.UniqueId
 
update(Observable, Object) - Method in class kom.gateway.ClientObservable
Updates maxClient (implements Observer)
update(Observable, Object) - Method in class kom.gateway.Environment
The observer Object has changed.
update(Observable, Object) - Method in class kom.gateway.Gateway
Implements Observer
update(Observable, Object) - Method in class kom.smtpd.SMTPDispatcher
 
updateCount(String) - Method in class kom.gateway.DBHigh
Updates count of live objects at this level.
updateLastAccess() - Method in class kom.gateway.Environment
Updates last access time for current user
updateNewsGroup(String) - Method in class kom.gateway.Build.KOMactivity
Updates a Usenet newsgroup
updCount(String, String, boolean, String) - Method in class kom.gateway.DBHigh
Updates a "count" object part (e g "seq")
updref(String) - Method in class kom.gateway.DBHigh
Gets a reference for the next child of a reference, creating a new area if necessary.
updseq(String) - Method in class kom.gateway.DBHigh
Updates a "seq" object part
updseq1(String, boolean, String) - Method in class kom.gateway.DBLow
Updates or just gets a sequence number
upload - Variable in class kom.tools.web.HTTPResponse
 
Upload - class kom.tools.web.Upload.
Uploaded data from the Client
Upload(String, String, String, long) - Constructor for class kom.tools.web.Upload
Constructor
uploadDir - Variable in class kom.tools.web.HTTPConfig
 
uploadFileData(String, String, String) - Method in interface kom.tools.web.HTTPRequestParser
 
uploadFileData(String, String, String) - Method in class kom.tools.web.POSTResponse
Uploads the contents of a file from the request.
uri - Variable in class kom.tools.web.HTTPResponse
 
url2ascii(String) - Static method in class kom.tools.web.HTMLTools
Converts the URL-encoded input to ASCII
urlexpand(StringBuffer, String, int) - Method in class kom.gateway.KOMutil
Shows http://url as real link
used - Variable in class kom.gateway.KomDataIterator
When a key has been "used", it is put here
user - Variable in class kom.news.NewsClient
User name for AUTHINFO
userData - Variable in class kom.gateway.Environment
Selected data for the current user
userData - Variable in class kom.gateway.KOMutil
Data for current user
userGavePassword(String) - Method in class kom.gateway.KOMutil
Checks if current user is recorded to have given the correct password for access of an object.
userGavePassword(String, String) - Method in class kom.gateway.KOMutil
Checks if user is recorded to have given the correct password for access of an object.
userObject - Variable in class kom.gateway.News
Current user object
UsersURL - Static variable in class kom.gateway.DBHigh
URL for Users
userTab - Variable in class kom.gateway.KOMutil.LookupTables
Table for finding infoData from a user ref
USR - Static variable in class kom.gateway.KOMutil
 
uTable - Variable in class kom.gateway.KOMutil.LookupTables
Table of users (extracted from infoData)
Util - class kom.tools.util.Util.
Some helpful utilities
Util() - Constructor for class kom.tools.util.Util
 

V

validate(String, String) - Method in class kom.gateway.DBLow
Registers sid as a valid key to p
validate(String, String, String) - Method in class kom.gateway.DBLow
 
valTable - Variable in class kom.gateway.KOMutil.UFtable
 
value - Variable in class kom.tools.config.Para
 
VOT - Static variable in class kom.gateway.KOMutil
 

W

WAITING - Static variable in class kom.smtpd.SMTPHandler
 
WeekDay - class kom.tools.web.WeekDay.
Used only in this file (class ParseDate)
WeekDay(String, String) - Constructor for class kom.tools.web.WeekDay
 
WildCards - class kom.tools.access.WildCards.
Wild cards for a host (domain) name
Example: harare.kapsch.co.at 148.198.10.5
Wild cards: *.kapsch.co.at, *.*.co.at, *.*.*.at, *.*.*.*
Wild cards: 148.198.10.*, 148.198.*.*, 148.*.*.* and (side effect) *.198.10.5, ...
WildCards() - Constructor for class kom.tools.access.WildCards
 
wildCards(String) - Static method in class kom.tools.access.WildCards
Gives the possible wild cards for a given host name
WORKING - Static variable in class kom.smtpd.SMTPHandler
 
wrap(String, boolean) - Static method in class kom.gateway.KOMutil
Tries to wrap long lines into shorter lines.
write(byte[]) - Method in class kom.tools.ipc.IPCConnection
Sends data over the network
write(IPCBuffer) - Method in class kom.tools.ipc.IPCConnection
Sends data over the network
write(String) - Method in class kom.tools.ipc.IPCConnection
Sends data over the network
writeLog(String, String) - Static method in class kom.tools.log.LogData
Appends a message to a file
writeObject(String, Object) - Method in class kom.gateway.DBLow
Writes an object

X

xform(boolean, String) - Method in class kom.gateway.Build
 
xform(boolean, String, KomData) - Method in class kom.gateway.Build
 
xform(boolean, String, KomData, String) - Method in class kom.gateway.Build
 
xform(boolean, String, String) - Method in class kom.gateway.Build
 
xover(int) - Method in class kom.news.NewsClient
Gets overview data for an article
xover(int, int) - Method in class kom.news.NewsClient
Gets overview data for a range of articles
xover(String) - Method in class kom.news.NewsClient
Gets an array of article overview data for the current newsgroup.
xref - Variable in class kom.news.Overview
 
xreflist - Variable in class kom.news.Overview
Host group:artno [group.artno ...]
xTable - Variable in class kom.gateway.KOMutil.UFtable
 

< A B C D E F G H I K L M N O P Q R S T U V W X