2009-07-30 08:02:59 -07:00
|
|
|
|
/*
|
|
|
|
|
* MessageBody.cs
|
|
|
|
|
* Copyright (c) 2009 kbinani
|
|
|
|
|
*
|
|
|
|
|
* This file is part of Boare.Lib.AppUtil.
|
|
|
|
|
*
|
|
|
|
|
* Boare.Lib.AppUtil is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the BSD License.
|
|
|
|
|
*
|
|
|
|
|
* Boare.Lib.AppUtil is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
*/
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if JAVA
|
|
|
|
|
package org.kbinani.apputil;
|
|
|
|
|
|
|
|
|
|
import java.util.*;
|
|
|
|
|
#else
|
2009-07-30 08:02:59 -07:00
|
|
|
|
using System;
|
2010-03-16 20:14:08 -07:00
|
|
|
|
using bocoree.java.util;
|
2009-07-30 08:02:59 -07:00
|
|
|
|
|
|
|
|
|
namespace Boare.Lib.AppUtil {
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#endif
|
2009-07-30 08:02:59 -07:00
|
|
|
|
|
|
|
|
|
public class MessageBodyEntry {
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public String message;
|
|
|
|
|
public Vector<String> location = new Vector<String>();
|
2009-07-30 08:02:59 -07:00
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public MessageBodyEntry( String message_, String[] location_ ) {
|
|
|
|
|
message = message_;
|
|
|
|
|
for ( int i = 0; i < location_.Length; i++ ) {
|
|
|
|
|
location.add( location_[i] );
|
2009-07-30 08:02:59 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if !JAVA
|
2009-07-30 08:02:59 -07:00
|
|
|
|
}
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#endif
|