auditory.described
Class NoteFactory

java.lang.Object
  extended by auditory.described.NoteFactory

public class NoteFactory
extends java.lang.Object

A factory that can be used to create Note objects

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Constructor Summary
NoteFactory()
           
 
Method Summary
static Note parseNote(java.lang.String s)
           Parse a String representation of a note and construct a Note from the constituent parts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteFactory

public NoteFactory()
Method Detail

parseNote

public static Note parseNote(java.lang.String s)

Parse a String representation of a note and construct a Note from the constituent parts. In the event of a format error, this method returns null.

For example:

Parameters:
s - The String to parse


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers