A B C D E F G H I L M N P R S T U V W

A

add(Event) - Method in class formatter.Session
Appends the passed Event to the list containted in this Session.
addSession(Session) - Method in class writer.DeadAIMWriter
Adds a session to the file accessed via the filewriter.
after(Date) - Method in class formatter.Date
Determines if this date is after the passed date.
AlreadyActiveException - Exception in formatter
 
AlreadyActiveException() - Constructor for exception formatter.AlreadyActiveException
 
AlreadyActiveException(String) - Constructor for exception formatter.AlreadyActiveException
 
append(String) - Method in class formatter.Message
Appends the text of the String to the end of this Message
append(String, String, Color) - Method in class formatter.Message
Appends the text of the String to the end of this Message
append(String, String, Color, int, boolean, boolean) - Method in class formatter.Message
Appends the text of the String to the end of this Message
append(String) - Method in class formatter.Session
Appends the contents of the String object to the end of the last Message.
appendNewline() - Method in class formatter.Message
Puts a simple newline at the end of the current message.

B

before(Date) - Method in class formatter.Date
Determines if this date is before the passed date.

C

closeFile() - Method in class writer.DeadAIMWriter
Finishes up writing the file, adds ending tags, and closes the stream.
closeSession() - Static method in class formatter.Session
Closes the current Session, allowing a new one to be made.

D

Date - Class in formatter
Stores the year, month, date (day of the month), and day (name of the day of the week).
Date(int, int, int) - Constructor for class formatter.Date
Stores the date represented by the year, month, and date parameters.
Date(int, int, int, String) - Constructor for class formatter.Date
Stores the date represented by the year, month, and date parameters.
dayToFullName(String) - Static method in class formatter.Date
Converts the smaller section of a day-of-the-week's name to the full section.
DeadAIMReader - Class in reader
 
DeadAIMReader() - Constructor for class reader.DeadAIMReader
 
DeadAIMWriter - Class in writer
Writes files in the DeadAIM format.
DeadAIMWriter(String) - Constructor for class writer.DeadAIMWriter
Initializes a new DeadAIMWriter object.

E

eat(String, String) - Method in class reader.HTMLReader
Eats the passed tag from HTMLReader.line.
eatBodyTag() - Method in class reader.HTMLReader
Eats the body tag and parses the parameters it contains.
equals(Object) - Method in class formatter.Date
Determines if the passed date object is equivalent to this one.
equals(Date) - Method in class formatter.Date
Determines if the passed date object is equivalent to this one.
Event - Interface in formatter
An Event is anything that can happen in a conversation.
ExistingFileException - Exception in writer
 
ExistingFileException(String) - Constructor for exception writer.ExistingFileException
 
extractTag(String) - Method in class reader.HTMLReader
Takes the passed String object and updates the HTMLReader.fs object with the state of the font.

F

FileFormatException - Exception in reader
 
FileFormatException() - Constructor for exception reader.FileFormatException
 
FileFormatException(String) - Constructor for exception reader.FileFormatException
 
fileName(Session) - Static method in class writer.DeadAIMWriter
Computes what the filename of log generated at the given date would be.
FontState - Class in formatter
This class is meant to keep track of what the HTML tags of an HTML document have altered the state of the text into.
FontState() - Constructor for class formatter.FontState
Creates a new FontState with all the default values in place.
FontState(int, String, Color) - Constructor for class formatter.FontState
Creates a new FontState with the passed two default values.
formatter - package formatter
The formatter package has all the useful inner-structure classes that other packages need.
fs - Variable in class reader.HTMLReader
Keeps track of what state the font is in.

G

getAMPM() - Method in class formatter.Timestamp
Returns "AM" or "PM" depending on whether it's am or pm.
getBGColor() - Method in class formatter.FontState
Get the current background color.
getColor() - Method in class formatter.Message
Gets the font Color of the message.
getDate() - Method in class formatter.Date
Returns the day of the month.
getDate() - Method in class formatter.Notification
Returns the Date object corresponding to when this Event occurred.
getDate() - Method in class formatter.Session
Returns the Date this Session was made.
getDay() - Method in class formatter.Date
Returns the day of the week.
getFont() - Method in class formatter.Message
Gets the font face of the message.
getFontColor() - Method in class formatter.FontState
Get the current font color.
getFontFace() - Method in class formatter.FontState
Get the current font face.
getFontSize() - Method in class formatter.FontState
Get the current font size.
getHour12() - Method in class formatter.Timestamp
Returns the hour in the 12-hour time system.
getHour24() - Method in class formatter.Timestamp
Returns the hour in the 24-hour time system.
getMessage() - Method in class formatter.Message
Gets the text of the message sent.
getMinute() - Method in class formatter.Timestamp
Returns the minute of time.
getMonth() - Method in class formatter.Date
Returns the month of th year, e.g.
getMySN() - Method in class formatter.Session
Returns the SN of the person that saved this log.
getNextLine() - Method in class reader.HTMLReader
Gets the next line of the file.
getSecond() - Method in class formatter.Timestamp
Returns the second in time.
getSender() - Method in class formatter.Message
Gets the screenname of the sender of this message.
getSession() - Static method in class formatter.Session
Gets the most recently created Session.
getTimestamp() - Method in interface formatter.Event
Returns the time this Event took place.
getTimestamp() - Method in class formatter.Message
Gets the Time this message was sent.
getTimestamp() - Method in class formatter.Notification
Returns the Timestamp object corresponding to when this Event occurred.
getType() - Method in class formatter.Notification
Returns the Type of this object.
getYear() - Method in class formatter.Date
Returns the year.
getYourSN() - Method in class formatter.Session
Returns the name of the SN talking with "me".
GUI - Class in ui
The graphical user interface component of the software.
GUI() - Constructor for class ui.GUI
 

H

HTMLReader - Class in reader
Defines the required methods for a class that Reads from a log file formatted in a certain way.
HTMLReader() - Constructor for class reader.HTMLReader
Creates a new FontState object.

I

isAutoGenerated() - Method in class formatter.Message
Returns true when the Message is auto-generated and false when it is not.
isBold() - Method in class formatter.FontState
Determines if text has been set to bold.
isHTML() - Method in enum reader.lexer.html.Lexeme.Type
 
isItalicized() - Method in class formatter.FontState
Determines if text has been set to italized.
isUnderlined() - Method in class formatter.FontState
Determines if text has been set to underlined.
iterator() - Method in class formatter.Session
Returns an Iterator of all the Events stored in this Session.
iterator() - Method in class reader.DeadAIMReader
Returns an Iterator of the Sessions in the last-read file.
iterator() - Method in interface reader.Reader
Gets the Iterator that iterates through the stored Session objects.
iterator() - Method in class reader.TrillianReader
Returns an Iterator<Session> of the messages in the file last read by this TrillanReader

L

Lexeme - Class in reader.lexer.html
This class represents a single token of information in a file.
Lexeme(Lexeme.Type) - Constructor for class reader.lexer.html.Lexeme
Convenience Constructor. Same as Lexeme(t,null).
Lexeme(Lexeme.Type, String) - Constructor for class reader.lexer.html.Lexeme
Constructs a new Lexeme.
Lexeme.Type - Enum in reader.lexer.html
These are known used tags for an HTML document.
Lexer - Class in reader.lexer.html
 
Lexer(String) - Constructor for class reader.lexer.html.Lexer
 
line - Variable in class reader.HTMLReader
The next line of input of input from the file passed to HTMLReader.loadFile(String).
lineNumber - Variable in class reader.HTMLReader
The line number that HTMLReader.line represents in the file.
loadFile(String) - Method in class reader.DeadAIMReader
Loads the Sessions of this file into this class.
loadFile(String) - Method in class reader.HTMLReader
This must be called at the top of the child class's loadFile(String) method.
loadFile(String) - Method in interface reader.Reader
Loads a file into this class.
loadFile(String) - Method in class reader.TrillianReader
Loads the file with the given URL.

M

Main - Class in formatter
Serves as a tester class to be executed on the CLI.
Main() - Constructor for class formatter.Main
 
main(String[]) - Static method in class formatter.Main
Evaluate the argument(s) and proceed accordingly.
main(String[]) - Static method in class reader.TrillianReader
 
main(String[]) - Static method in class ui.GUI
 
main(String[]) - Static method in class writer.DeadAIMWriter
Used only to test this class.
makeFile(String, Session) - Method in class writer.DeadAIMWriter
Creates a new log file with the given Session.
makeFile(String, Session) - Method in interface writer.Writer
Creates a new file with the given Session, and stores it in the given parent directory.
makeSession(String, String, Date) - Static method in class formatter.Session
Creates and sets active a new Session.
MAX_DEPTH - Static variable in class formatter.FontState
Maximum number of consecutive calls to set methods this object can keep track of before overflowing.
Message - Class in formatter
Messages are logical combinations of a sender, time stamp, and text with font.
Message(String, Timestamp, String, boolean) - Constructor for class formatter.Message
Creates a new Message. Assumes black-on-white text.
Message(String, Timestamp, String, Color, Font, boolean) - Constructor for class formatter.Message
Creates a new Message.
monthToInt(String) - Static method in class formatter.Date
Returns the number corresponding to the month in the year.

N

next() - Method in class reader.lexer.html.Lexer
 
NoFileException - Exception in reader
 
NoFileException(String) - Constructor for exception reader.NoFileException
 
Notification - Class in formatter
This class represents all Events that are not messages. This includes the event that the Session has started or ended, or either SNs have been disconnected.
Notification(Notification.Type, Date, Timestamp) - Constructor for class formatter.Notification
Creates a new Notification object with the passed parameters.
Notification.Type - Enum in formatter
This enum lists the types of Events that are allowed.

P

popBGColor() - Method in class formatter.FontState
Removes the top-most background color from the stack.
popFont() - Method in class formatter.FontState
Removes the top-most font from the stack.
pushBGColor(Color) - Method in class formatter.FontState
Puts another background color on the stack.
pushFont(int, String, Color) - Method in class formatter.FontState
Puts another font on the stack of fonts.

R

reader - package reader
The reader package contains all of the classes currently availible to the system which can read a specific type of file and create a (list of) Session object(s).
reader - Variable in class reader.HTMLReader
The link to the file passed to HTMLReader.loadFile(String).
Reader - Interface in reader
Defines the required methods for a class that Reads from a log file formatted in a certain way.
reader.lexer.html - package reader.lexer.html
 
run() - Method in class ui.GUI
The method that initiates the entire operation of this class.
runGUI() - Static method in class formatter.Main
Creates and runs a new GUI.

S

Session - Class in formatter
This is one chat.
sessionIsActive() - Static method in class formatter.Session
Determines if there is a Session already active.
sessions - Variable in class reader.HTMLReader
The Sessions stored in this log file.
setBold() - Method in class formatter.FontState
Register that another <b> or <em> tag has been seen.
setDate(Date) - Method in class formatter.Session
Sets the date to a new value.
setItalicized() - Method in class formatter.FontState
Register that another <i> tag has been seen.
setNotBold() - Method in class formatter.FontState
Register that another </b> or </em>tag has been seen.
setNotItalicized() - Method in class formatter.FontState
Register that another </i> tag has been seen.
setNotUnderlined() - Method in class formatter.FontState
Register that another </u> tag has been seen.
setUnderlined() - Method in class formatter.FontState
Register that another <u> tag has been seen.

T

testDeadAim(String[]) - Static method in class formatter.Main
An example of how to read a DeadAIM file.
Timestamp - Class in formatter
A time stamp is an hour, minute and second group representing the time.
Timestamp(int, int, int) - Constructor for class formatter.Timestamp
Makes a new Timestamp representing the time:
h : m : s
toString() - Method in class formatter.Date
Returns a String representation of this Date.
toType(String) - Static method in enum reader.lexer.html.Lexeme.Type
 
tril2Daim(String[]) - Static method in class formatter.Main
An example of how to read from a Trillian log file using the TrillianReader and using the generated session date to write to a file in DeadAIM log format using the DeadAIMwriter class.
TrillianReader - Class in reader
The TrillianReader reads a Trillian log file and converts its contents into multiple Sessions.
TrillianReader() - Constructor for class reader.TrillianReader
Creates a new TrillianReader().

U

ui - package ui
The ui package contains all of the classes currently involved in displaying the user interface.
UnknownTagException - Exception in reader.lexer.html
 
UnknownTagException() - Constructor for exception reader.lexer.html.UnknownTagException
 
UnknownTagException(String) - Constructor for exception reader.lexer.html.UnknownTagException
 

V

valueOf(String) - Static method in enum formatter.Notification.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum reader.lexer.html.Lexeme.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum formatter.Notification.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum reader.lexer.html.Lexeme.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

writer - package writer
The writer package contains all of the classes currently availible to the system which can write a specific type of file given a (list of) Session object(s).
Writer - Interface in writer
Defines the methods required in a class that writes to a file in a specific logging format.

A B C D E F G H I L M N P R S T U V W