01: /*
02: * $Id: ChitChatter.java 10789 2008-02-12 20:04:43Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.example.hello;
12:
13: /**
14: * <code>ChitChatter</code> TODO (document class)
15: */
16: public class ChitChatter {
17: private String chitchat = "";
18:
19: public ChitChatter() {
20: chitchat = LocaleMessage.getGreetingPart2();
21: }
22:
23: public void chat(ChatString string) {
24: string.append(chitchat);
25: }
26:
27: }
|