// Path: baggle-datagrams/src/inouire/baggle/types/IllegalDatagramException.java
// public class IllegalDatagramException extends Exception{
// 
// }
// 
// Path: baggle-datagrams/src/inouire/baggle/types/Words.java
// public enum Words{
//     GOOD,NOT_IN_DIC,NOT_IN_GRID,SHORT,FILTERED,ALREADY_FOUND
// }


import inouire.baggle.types.IllegalDatagramException;
import inouire.baggle.types.Words;
 /* Copyright 2009-2018 Edouard Garnier de Labareyre
  *
  * This file is part of B@ggle.
  *
  * B@ggle is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
  * B@ggle 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.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with B@ggle.  If not, see <http://www.gnu.org/licenses/>.
  */

package inouire.baggle.datagrams;

/**
 *
 * @author Edouard de Labareyre
 */
public class WORDDatagram {

    public String word=null;
    public Words status=null;

    //WORD|word=pointu
    public WORDDatagram(String word){
        this.word=word;
        this.status=null;
    }

    //WORD|word=pointu|status=GOOD
    public WORDDatagram(String word,Words status){
        this.word=word;
        this.status=status;
    }
    
// Path: baggle-datagrams/src/inouire/baggle/types/IllegalDatagramException.java
// public class IllegalDatagramException extends Exception{
// 
// }
// 
// Path: baggle-datagrams/src/inouire/baggle/types/Words.java
// public enum Words{
//     GOOD,NOT_IN_DIC,NOT_IN_GRID,SHORT,FILTERED,ALREADY_FOUND
// }


// Path: baggle-datagrams/src/inouire/baggle/datagrams/WORDDatagram.java
import inouire.baggle.types.IllegalDatagramException;
import inouire.baggle.types.Words;

 /* Copyright 2009-2018 Edouard Garnier de Labareyre
  *
  * This file is part of B@ggle.
  *
  * B@ggle is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
  * B@ggle 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.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with B@ggle.  If not, see <http://www.gnu.org/licenses/>.
  */

package inouire.baggle.datagrams;

/**
 *
 * @author Edouard de Labareyre
 */
public class WORDDatagram {

    public String word=null;
    public Words status=null;

    //WORD|word=pointu
    public WORDDatagram(String word){
        this.word=word;
        this.status=null;
    }

    //WORD|word=pointu|status=GOOD
    public WORDDatagram(String word,Words status){
        this.word=word;
        this.status=status;
    }
    
    public WORDDatagram(String[] args) throws IllegalDatagramException{